| Package | Description |
|---|---|
| com.impetus.kundera.index | |
| com.impetus.kundera.index.lucene | |
| com.impetus.kundera.metadata | |
| com.impetus.kundera.query | |
| com.impetus.kundera.utils |
| Modifier and Type | Method and Description |
|---|---|
private void |
IndexManager.onEmbeddable(Object entity,
Class<?> clazz,
MetamodelImpl metaModel,
Map<String,Object> indexCollection) |
void |
Indexer.unIndex(Class entityClazz,
Object entity,
EntityMetadata entityMetadata,
MetamodelImpl metamodel)
Deletes index for given entity class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Indexer.index(EntityMetadata metadata,
MetamodelImpl metaModel,
Object object)
Indexes and object.
|
void |
Indexer.index(EntityMetadata metadata,
MetamodelImpl metaModel,
Object object,
String parentId,
Class<?> clazz)
Indexes and object.
|
void |
Indexer.update(EntityMetadata metadata,
MetamodelImpl metaModel,
Object entity,
Object id,
String parentId)
Updates the existing document.
|
| Modifier and Type | Method and Description |
|---|---|
static MetamodelImpl |
KunderaMetadataManager.getMetamodel(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String... persistenceUnits)
Gets the metamodel.
|
static MetamodelImpl |
KunderaMetadataManager.getMetamodel(EntityManagerFactoryImpl.KunderaMetadata kunderaMetadata,
String persistenceUnit)
Gets the metamodel.
|
| Modifier and Type | Method and Description |
|---|---|
private MetamodelImpl |
KunderaQuery.getMetamodel(String pu)
Gets the metamodel.
|
| Modifier and Type | Method and Description |
|---|---|
private List<Object> |
QueryImpl.populateEmbeddedIdUsingLucene(EntityMetadata m,
Client client,
List<Object> result,
Map<String,Object> searchFilter,
MetamodelImpl metaModel)
Populate using lucene for embeddeId.
|
private Object |
QueryImpl.prepareCompositeIdObject(javax.persistence.metamodel.SingularAttribute attribute,
Object compositeId,
Map<String,String> uniquePKs,
MetamodelImpl metaModel)
Prepare composite id object.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
KunderaCoreUtils.isCompletePartitionKeyPresentInQuery(Queue filterQueue,
MetamodelImpl metaModel,
EntityMetadata metadata)
cheking whether all the fields of partition key are present in the jpa
query
|
private static void |
KunderaCoreUtils.populateEmbeddedIdFields(Set<javax.persistence.metamodel.Attribute> embeddedAttributes,
MetamodelImpl metaModel,
Set<String> embeddedIdFields)
recursively populate all the fields present in partition key
|
private static void |
KunderaCoreUtils.populateEmbeddedIdFieldsUtil(Set<javax.persistence.metamodel.Attribute> embeddedAttributes,
MetamodelImpl metaModel,
Set<String> embeddedIdFields) |
static String |
KunderaCoreUtils.prepareCompositeKey(javax.persistence.metamodel.SingularAttribute attribute,
MetamodelImpl metaModel,
Object compositeKey)
Prepares composite key as a lucene key.
|
private static void |
KunderaCoreUtils.prepareLuceneQueryForPartitionKey(LuceneQueryBuilder queryBuilder,
Object key,
MetamodelImpl metaModel,
String indexName,
Class valueClazz) |
Copyright © 2015. All Rights Reserved.