| Modifier and Type | Field and Description |
|---|---|
protected EntityManagerFactoryImpl.KunderaMetadata |
ClientBase.kunderaMetadata |
| Modifier and Type | Method and Description |
|---|---|
static ClientFactory |
ClientResolver.getClientFactory(String persistenceUnit,
Map<String,Object> puProperties,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the client factory.
|
private static ClientFactory |
ClientResolver.instantiateClientFactory(String persistenceUnit,
Map<String,Object> puProperties,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Creates new instance of client factory for given persistence unit.
|
| Constructor and Description |
|---|
ClientBase(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
Map<String,Object> properties,
String persistenceUnit) |
| Modifier and Type | Field and Description |
|---|---|
protected EntityManagerFactoryImpl.KunderaMetadata |
AbstractSchemaConfiguration.kunderaMetadata |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientMetadataBuilder.buildClientFactoryMetadata(Map<String,ClientFactory> clientFactories,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
| Constructor and Description |
|---|
AbstractSchemaConfiguration(String[] persistenceUnits,
Map externalPropertyMap,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
ClientFactoryConfiguraton(Map externalProperties,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String... persistenceUnits)
Constructor parameterised with persistence units.
|
ClientMetadataBuilder(Map mapOfPuProperties,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String... persistenceUnits) |
MetamodelConfiguration(Map properties,
EntityManagerFactoryImpl.KunderaMetadata metadata,
String... persistenceUnits)
Constructor using persistence units as parameter.
|
PersistenceUnitConfiguration(Map properties,
EntityManagerFactoryImpl.KunderaMetadata metadata,
String... persistenceUnits)
Constructor parameterised with persistence units.
|
SchemaConfiguration(Map externalProperties,
EntityManagerFactoryImpl.KunderaMetadata metadata,
String... persistenceUnits)
Constructor using persistence units as parameter.
|
| Modifier and Type | Field and Description |
|---|---|
protected EntityManagerFactoryImpl.KunderaMetadata |
AbstractSchemaManager.kunderaMetadata |
| Constructor and Description |
|---|
AbstractSchemaManager(String clientFactory,
Map<String,Object> externalProperties,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Initialise with configured client factory.
|
| Modifier and Type | Method and Description |
|---|---|
private Map<NodeLink.LinkProperty,Object> |
GraphGenerator.getLinkProperties(EntityMetadata metadata,
Relation relation,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
| Modifier and Type | Field and Description |
|---|---|
private EntityManagerFactoryImpl.KunderaMetadata |
IndexManager.kunderaMetadata |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
IndexManager.search(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery,
PersistenceDelegator persistenceDelegator,
EntityMetadata m,
int maxResults) |
Map<String,Object> |
Indexer.search(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery,
PersistenceDelegator persistenceDelegator,
EntityMetadata m,
int maxResults) |
| Constructor and Description |
|---|
IndexManager(Indexer indexer,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Indexer.documentExistsInIndex(EntityMetadata metadata,
Object id,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
boolean isEmbeddedId,
Class<?> parentClazz) |
boolean |
Indexer.entityExistsInIndex(Class<?> entityClass,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
EntityMetadata metadata) |
Map<String,Object> |
Indexer.search(String luceneQuery,
int start,
int count,
boolean fetchRelation,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
EntityMetadata metadata)
Searches for an object.
|
void |
Indexer.unindex(EntityMetadata metadata,
Object id,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
Class<?> parentClazz)
Unindexed an entity with key:id.
|
| Modifier and Type | Field and Description |
|---|---|
protected EntityManagerFactoryImpl.KunderaMetadata |
GenericClientFactory.kunderaMetadata
kundera metadata
|
| Modifier and Type | Method and Description |
|---|---|
void |
CoreLoader.load(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Load.
|
protected void |
GenericClientFactory.setKunderaMetadata(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Sets the persistence unit.
|
| Modifier and Type | Field and Description |
|---|---|
private EntityManagerFactoryImpl.KunderaMetadata |
MetadataBuilder.kunderaMetadata |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MetadataUtils.containsBasicElementCollectionField(EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Checks whether an entity with given metadata contains a collection field
|
static Map<String,Field> |
MetadataUtils.createSuperColumnsFieldMap(EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Creates the super columns field map.
|
static boolean |
MetadataUtils.defaultTransactionSupported(String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
If client specific to parameterized persistence unit does not support
transaction, return true else will return false.
|
private static void |
MetadataUtils.getEmbeddableType(EntityMetadata m,
Map<String,Field> columnNameToFieldMap,
Map<String,Field> superColumnNameToFieldMap,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
static String |
MetadataUtils.getEnclosingEmbeddedFieldName(EntityMetadata m,
String criteria,
boolean viaColumnName,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the enclosing document name.
|
static EntityMetadata |
KunderaMetadataManager.getEntityMetadata(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
Class entityClass)
Finds ands returns Entity metadata for a given array of PUs.
|
static EntityMetadata |
KunderaMetadataManager.getEntityMetadata(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String persistenceUnit,
Class entityClass)
Gets the entity metadata.
|
static String |
MetadataUtils.getMappedName(EntityMetadata parentMetadata,
Relation relation,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Returns mapped relational name, in case of bi directional mapping, it
will return back pKey name of associated entity.
|
static MetamodelImpl |
KunderaMetadataManager.getMetamodel(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String... persistenceUnits)
Gets the metamodel.
|
static MetamodelImpl |
KunderaMetadataManager.getMetamodel(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String persistenceUnit)
Gets the metamodel.
|
static PersistenceUnitMetadata |
KunderaMetadataManager.getPersistenceUnitMetadata(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String persistenceUnit)
Gets the persistence unit metadata.
|
static boolean |
MetadataUtils.indexSearchEnabled(String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Index based search has to be optional, ideally need to register a
callback in case index persistence/search etc is optional.
|
static boolean |
MetadataUtils.isSchemaAttributeRequired(String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
static void |
MetadataUtils.populateColumnAndSuperColumnMaps(EntityMetadata m,
Map<String,Field> columnNameToFieldMap,
Map<String,Field> superColumnNameToFieldMap,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Populate column and super column maps.
|
| Constructor and Description |
|---|
MetadataBuilder(String puName,
String client,
Map puProperties,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new metadata manager.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Relation.getJoinColumnName(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the join column name.
|
| Modifier and Type | Field and Description |
|---|---|
protected EntityManagerFactoryImpl.KunderaMetadata |
AbstractEntityFieldProcessor.kunderaMetadata |
| Constructor and Description |
|---|
AbstractEntityFieldProcessor(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
IndexProcessor(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
TableProcessor(Map puProperty,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new table processor.
|
| Modifier and Type | Method and Description |
|---|---|
static RelationMetadataProcessor |
RelationMetadataProcessorFactory.getRelationMetadataProcessor(Field relationField,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the relation metadata processor.
|
| Constructor and Description |
|---|
ManyToManyRelationMetadataProcessor(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new many to many relation metadata processor.
|
ManyToOneRelationMetadataProcessor(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new many to one relation metadata processor.
|
OneToManyRelationMetadataProcessor(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new one to many relation metadata processor.
|
OneToOneRelationMetadataProcessor(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new one to one relation metadata processor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityValidator.validateEntity(Class<?> clazz,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Validate entity.
|
void |
EntityValidatorImpl.validateEntity(Class<?> clazz,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
| Modifier and Type | Field and Description |
|---|---|
private EntityManagerFactoryImpl.KunderaMetadata |
EntityManagerFactoryImpl.kunderaMetadata
The Constant INSTANCE holds all application and core metadata.
|
private EntityManagerFactoryImpl.KunderaMetadata |
PersistenceDelegator.kunderaMetadata |
protected EntityManagerFactoryImpl.KunderaMetadata |
AbstractEntityReader.kunderaMetadata |
| Modifier and Type | Method and Description |
|---|---|
EntityManagerFactoryImpl.KunderaMetadata |
PersistenceDelegator.getKunderaMetadata() |
EntityManagerFactoryImpl.KunderaMetadata |
EntityManagerFactoryImpl.getKunderaMetadataInstance() |
| Modifier and Type | Method and Description |
|---|---|
Object |
IdGenerator.generateAndSetId(Object e,
EntityMetadata m,
PersistenceDelegator pd,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
private Object |
IdGenerator.generateId(Object e,
EntityMetadata m,
Client<?> client,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
void |
PersistenceValidator.validate(Object entity,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Validates an entity object for CRUD operations
|
private <X extends Class,T> |
PersistenceValidator.validateEntityAttributes(Object entity,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Validates an entity object for CRUD operations
|
| Constructor and Description |
|---|
AbstractEntityReader(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
PersistenceDelegator(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
PersistenceCache pc)
Instantiates a new persistence delegator.
|
| Modifier and Type | Field and Description |
|---|---|
private EntityManagerFactoryImpl.KunderaMetadata |
KunderaQuery.kunderaMetadata |
protected EntityManagerFactoryImpl.KunderaMetadata |
QueryImpl.kunderaMetadata
The kundera metadata.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
KunderaQueryUtils.addToOutputColumns(org.eclipse.persistence.jpa.jpql.parser.Expression selectExpression,
EntityMetadata m,
List<Map<String,Object>> columnsToOutput,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Adds the to output columns.
|
private javax.persistence.Query |
QueryResolver.getQuery(String jpaQuery,
PersistenceDelegator persistenceDelegator,
EntityMetadata m,
KunderaQuery kunderaQuery,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the query instance.
|
javax.persistence.Query |
QueryResolver.getQueryImplementation(String jpaQuery,
PersistenceDelegator persistenceDelegator,
Class mappedClass,
boolean isNative,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the query implementation.
|
static Map<String,Object> |
KunderaQueryUtils.onBetweenExpression(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery) |
static Map<String,Object> |
KunderaQueryUtils.onComparisonExpression(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery)
On comparison expression.
|
static Map<String,Object> |
KunderaQueryUtils.onInExpression(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery)
On in expression.
|
static Map<String,Object> |
KunderaQueryUtils.onLikeExpression(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery) |
static void |
KunderaQueryUtils.onLogicalExpression(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery)
On logical expression.
|
static void |
KunderaQueryUtils.onSubExpression(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery) |
static List<Map<String,Object>> |
KunderaQueryUtils.readSelectClause(org.eclipse.persistence.jpa.jpql.parser.Expression selectExpression,
EntityMetadata m,
Boolean useLuceneOrES,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Read select clause.
|
static Map<String,Object> |
KunderaQueryUtils.setFieldClazzAndColumnFamily(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Sets the fieldclazz and colfamily.
|
static void |
KunderaQueryUtils.traverse(org.eclipse.persistence.jpa.jpql.parser.Expression expression,
EntityMetadata m,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
KunderaQuery kunderaQuery,
boolean isSubExpression)
Traverse.
|
| Constructor and Description |
|---|
KunderaQuery(String jpaQuery,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new kundera query.
|
LuceneQuery(KunderaQuery kunderaQuery,
PersistenceDelegator pd,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new lucene query.
|
QueryImpl(KunderaQuery kunderaQuery,
PersistenceDelegator persistenceDelegator,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Instantiates a new query impl.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
HostConfiguration.buildHosts(Map externalProperties,
List<ClientProperties.DataStore.Connection.Server> servers,
String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Build host array.
|
| Constructor and Description |
|---|
HostConfiguration(Map externalProperties,
List<ClientProperties.DataStore.Connection.Server> servers,
String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
ObjectUtils.deepCopy(Object source,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Deep copy.
|
private static Object |
ObjectUtils.deepCopyUsingMetadata(Object source,
Map<Object,Object> copiedObjectMap,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Deep copy using metadata.
|
static String |
KunderaCoreUtils.getLuceneQueryFromJPAQuery(KunderaQuery kunderaQuery,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Gets the lucene query from jpa query.
|
private static String |
KunderaCoreUtils.getPropertyName(EntityMetadata metadata,
String property,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
static boolean |
KunderaCoreUtils.isShowQueryEnabled(Map<String,Object> properties,
String persistenceUnit,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata) |
private static Object |
ObjectUtils.searchInCacheThenCopy(Map<Object,Object> copiedObjectMap,
Object sourceObject,
EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata)
Search in cache then copy.
|
Copyright © 2015. All Rights Reserved.