| Modifier and Type | Method and Description |
|---|---|
ConsistencyLevel |
ConsistencyOverrider.getReadLevel(PersistenceContext context,
EntityMeta meta) |
ConsistencyLevel |
ConsistencyOverrider.getWriteLevel(PersistenceContext context,
EntityMeta meta) |
| Modifier and Type | Field and Description |
|---|---|
protected EntityMeta |
PersistenceContext.entityMeta |
| Modifier and Type | Method and Description |
|---|---|
EntityMeta |
PersistenceContext.getEntityMeta() |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<Class<?>,EntityMeta>> |
SchemaContext.entityMetaEntrySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
DaoContext.bindForClusteredCounterDelete(PersistenceContext context,
EntityMeta meta,
Object primaryKey) |
void |
DaoContext.bindForSimpleCounterDelete(PersistenceContext context,
EntityMeta meta,
PropertyMeta counterMeta,
Object primaryKey) |
void |
DaoContext.bindForSimpleCounterIncrement(PersistenceContext context,
EntityMeta meta,
PropertyMeta counterMeta,
Long increment) |
void |
SchemaContext.createTableForEntity(EntityMeta entityMeta) |
void |
DaoContext.decrementSimpleCounter(PersistenceContext context,
EntityMeta meta,
PropertyMeta counterMeta,
Long decrement,
ConsistencyLevel consistencyLevel) |
void |
DaoContext.incrementSimpleCounter(PersistenceContext context,
EntityMeta meta,
PropertyMeta counterMeta,
Long increment,
ConsistencyLevel consistencyLevel) |
void |
DaoContext.pushClusteredCounterIncrementStatement(PersistenceContext context,
EntityMeta meta,
PropertyMeta counterMeta,
Long increment) |
void |
PersistenceContext.setEntityMeta(EntityMeta entityMeta) |
abstract void |
AbstractFlushContext.triggerInterceptor(EntityMeta meta,
Object entity,
Event event) |
void |
BatchingFlushContext.triggerInterceptor(EntityMeta meta,
Object entity,
Event event) |
void |
ImmediateFlushContext.triggerInterceptor(EntityMeta meta,
Object entity,
Event event) |
void |
SchemaContext.validateForEntity(EntityMeta entityMeta,
com.datastax.driver.core.TableMetadata tableMetaData) |
| Modifier and Type | Method and Description |
|---|---|
DaoContext |
DaoContextFactory.build(com.datastax.driver.core.Session session,
Map<Class<?>,EntityMeta> entityMetaMap,
boolean hasSimpleCounter) |
| Constructor and Description |
|---|
PersistenceContext(EntityMeta entityMeta,
ConfigurationContext configContext,
DaoContext daoContext,
AbstractFlushContext flushContext,
Class<?> entityClass,
Object primaryKey,
Options options) |
PersistenceContext(EntityMeta entityMeta,
ConfigurationContext configContext,
DaoContext daoContext,
AbstractFlushContext flushContext,
Object entity,
Options options) |
| Constructor and Description |
|---|
PersistenceContextFactory(DaoContext daoContext,
ConfigurationContext configContext,
Map<Class<?>,EntityMeta> entityMetaMap) |
SchemaContext(boolean forceColumnFamilyCreation,
com.datastax.driver.core.Session session,
String keyspaceName,
com.datastax.driver.core.Cluster cluster,
Map<Class<?>,EntityMeta> entityMetaMap,
boolean hasCounter) |
| Constructor and Description |
|---|
EventHolder(EntityMeta meta,
Object entity,
Event event) |
| Modifier and Type | Method and Description |
|---|---|
Pair<Map<Class<?>,EntityMeta>,Boolean> |
AchillesBootstrapper.buildMetaDatas(ConfigurationContext configContext,
List<Class<?>> entities) |
| Modifier and Type | Method and Description |
|---|---|
void |
AchillesBootstrapper.addInterceptorsToEntityMetas(List<Interceptor<?>> interceptors,
Map<Class<?>,EntityMeta> entityMetaMap) |
DaoContext |
AchillesBootstrapper.buildDaoContext(com.datastax.driver.core.Session session,
Map<Class<?>,EntityMeta> entityMetaMap,
boolean hasSimpleCounter) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<EntityMeta> |
EntityMeta.CLUSTERED_COUNTER_FILTER |
static com.google.common.base.Predicate<EntityMeta> |
EntityMeta.EXCLUDE_CLUSTERED_COUNTER_FILTER |
| Modifier and Type | Method and Description |
|---|---|
EntityMeta |
EntityMetaBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
EntityInitializer.initializeEntity(T entity,
EntityMeta entityMeta) |
<T> T |
EntityMapper.mapRowToEntityWithPrimaryKey(EntityMeta meta,
com.datastax.driver.core.Row row,
Map<String,PropertyMeta> propertiesMap,
boolean isEntityManaged) |
void |
EntityMapper.setNonCounterPropertiesToEntity(com.datastax.driver.core.Row row,
EntityMeta entityMeta,
Object entity) |
void |
EntityMapper.setValuesToClusteredCounterEntity(com.datastax.driver.core.Row row,
EntityMeta entityMeta,
Object clusteredEntity) |
void |
EntityValidator.validateEntity(Object entity,
EntityMeta entityMeta) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityValidator.validateEntity(Object entity,
Map<Class<?>,EntityMeta> entityMetaMap) |
void |
EntityValidator.validateNotClusteredCounter(Object entity,
Map<Class<?>,EntityMeta> entityMetaMap) |
| Modifier and Type | Method and Description |
|---|---|
EntityMeta |
EntityParser.parseEntity(EntityParsingContext context) |
| Modifier and Type | Method and Description |
|---|---|
Pair<com.datastax.driver.core.querybuilder.Insert,Object[]> |
StatementGenerator.generateInsert(Object entity,
EntityMeta entityMeta) |
com.datastax.driver.core.RegularStatement |
StatementGenerator.generateSelectEntity(EntityMeta entityMeta) |
protected com.datastax.driver.core.querybuilder.Select |
StatementGenerator.generateSelectEntityInternal(EntityMeta entityMeta) |
Pair<com.datastax.driver.core.querybuilder.Update.Where,Object[]> |
StatementGenerator.generateUpdateFields(Object entity,
EntityMeta entityMeta,
List<PropertyMeta> pms) |
| Modifier and Type | Method and Description |
|---|---|
BoundStatementWrapper |
PreparedStatementBinder.bindForClusteredCounterDelete(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
Object primaryKey,
ConsistencyLevel consistencyLevel) |
BoundStatementWrapper |
PreparedStatementBinder.bindForClusteredCounterIncrementDecrement(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
Object primaryKey,
Long increment,
ConsistencyLevel consistencyLevel) |
BoundStatementWrapper |
PreparedStatementBinder.bindForClusteredCounterSelect(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
Object primaryKey,
ConsistencyLevel consistencyLevel) |
BoundStatementWrapper |
PreparedStatementBinder.bindForInsert(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
Object entity,
ConsistencyLevel consistencyLevel,
com.google.common.base.Optional<Integer> ttlO) |
BoundStatementWrapper |
PreparedStatementBinder.bindForSimpleCounterDelete(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
PropertyMeta pm,
Object primaryKey,
ConsistencyLevel consistencyLevel) |
BoundStatementWrapper |
PreparedStatementBinder.bindForSimpleCounterIncrementDecrement(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
PropertyMeta pm,
Object primaryKey,
Long increment,
ConsistencyLevel consistencyLevel) |
BoundStatementWrapper |
PreparedStatementBinder.bindForSimpleCounterSelect(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
PropertyMeta pm,
Object primaryKey,
ConsistencyLevel consistencyLevel) |
BoundStatementWrapper |
PreparedStatementBinder.bindForUpdate(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
List<PropertyMeta> pms,
Object entity,
ConsistencyLevel consistencyLevel,
com.google.common.base.Optional<Integer> ttlO) |
BoundStatementWrapper |
PreparedStatementBinder.bindStatementWithOnlyPKInWhereClause(com.datastax.driver.core.PreparedStatement ps,
EntityMeta entityMeta,
Object primaryKey,
ConsistencyLevel consistencyLevel) |
Map<AchillesCounter.CQLQueryType,Map<String,com.datastax.driver.core.PreparedStatement>> |
PreparedStatementGenerator.prepareClusteredCounterQueryMap(com.datastax.driver.core.Session session,
EntityMeta meta) |
com.datastax.driver.core.PreparedStatement |
PreparedStatementGenerator.prepareInsertPS(com.datastax.driver.core.Session session,
EntityMeta entityMeta) |
Map<String,com.datastax.driver.core.PreparedStatement> |
PreparedStatementGenerator.prepareRemovePSs(com.datastax.driver.core.Session session,
EntityMeta entityMeta) |
com.datastax.driver.core.PreparedStatement |
PreparedStatementGenerator.prepareSelectFieldPS(com.datastax.driver.core.Session session,
EntityMeta entityMeta,
PropertyMeta pm) |
com.datastax.driver.core.PreparedStatement |
PreparedStatementGenerator.prepareSelectPS(com.datastax.driver.core.Session session,
EntityMeta entityMeta) |
com.datastax.driver.core.PreparedStatement |
PreparedStatementGenerator.prepareUpdateFields(com.datastax.driver.core.Session session,
EntityMeta entityMeta,
List<PropertyMeta> pms) |
| Modifier and Type | Method and Description |
|---|---|
void |
TableCreator.createTableForEntity(com.datastax.driver.core.Session session,
EntityMeta entityMeta,
boolean forceColumnFamilyCreation) |
void |
TableValidator.validateForEntity(EntityMeta entityMeta,
com.datastax.driver.core.TableMetadata tableMetadata) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<?>,EntityMeta> |
PersistenceManager.entityMetaMap |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Class<?>,EntityMeta> |
PersistenceManager.getEntityMetaMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PersistenceManager.setEntityMetaMap(Map<Class<?>,EntityMeta> entityMetaMap) |
| Constructor and Description |
|---|
PersistenceManager(Map<Class<?>,EntityMeta> entityMetaMap,
PersistenceContextFactory contextFactory,
DaoContext daoContext,
ConfigurationContext configContext) |
| Modifier and Type | Field and Description |
|---|---|
protected EntityMeta |
RootSliceQueryBuilder.meta |
| Modifier and Type | Method and Description |
|---|---|
EntityMeta |
CQLSliceQuery.getMeta() |
EntityMeta |
SliceQuery.getMeta() |
| Constructor and Description |
|---|
SliceQuery(Class<T> entityClass,
EntityMeta meta,
List<Object> partitionComponents,
List<Object> clusteringsFrom,
List<Object> clusteringsTo,
OrderingMode ordering,
BoundingMode bounding,
ConsistencyLevel consistencyLevel,
int limit,
int batchSize,
boolean limitSet) |
SliceQueryBuilder(SliceQueryExecutor sliceQueryExecutor,
Class<T> entityClass,
EntityMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypedQueryValidator.validateRawTypedQuery(Class<?> entityClass,
String queryString,
EntityMeta meta) |
void |
TypedQueryValidator.validateTypedQuery(Class<?> entityClass,
String queryString,
EntityMeta meta) |
| Constructor and Description |
|---|
TypedQueryBuilder(Class<T> entityClass,
DaoContext daoContext,
String queryString,
EntityMeta meta,
PersistenceContextFactory contextFactory,
boolean managed,
boolean shouldNormalizeQuery,
Object[] boundValues) |
Copyright © 2012-2014. All Rights Reserved.