T - ID - public class MappingElasticsearchEntityInformation<T,ID> extends PersistentEntityInformation<T,ID> implements ElasticsearchEntityInformation<T,ID>
AbstractEntityInformation| Constructor and Description |
|---|
MappingElasticsearchEntityInformation(ElasticsearchPersistentEntity<T> entity) |
MappingElasticsearchEntityInformation(ElasticsearchPersistentEntity<T> entity,
String indexName,
String type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdAttribute() |
String |
getIndexName() |
String |
getParentId(T entity) |
String |
getType() |
Long |
getVersion(T entity) |
getId, getIdTypegetJavaType, isNewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdType, getRequiredId, isNewgetJavaTypepublic MappingElasticsearchEntityInformation(ElasticsearchPersistentEntity<T> entity)
public MappingElasticsearchEntityInformation(ElasticsearchPersistentEntity<T> entity, String indexName, String type)
public String getIdAttribute()
getIdAttribute in interface ElasticsearchEntityInformation<T,ID>public String getIndexName()
getIndexName in interface ElasticsearchEntityInformation<T,ID>public String getType()
getType in interface ElasticsearchEntityInformation<T,ID>public Long getVersion(T entity)
getVersion in interface ElasticsearchEntityInformation<T,ID>public String getParentId(T entity)
getParentId in interface ElasticsearchEntityInformation<T,ID>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.