T - ID - public class MappingElasticsearchEntityInformation<T,ID extends Serializable> extends AbstractEntityInformation<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 |
|---|---|
ID |
getId(T entity) |
String |
getIdAttribute() |
Class<ID> |
getIdType() |
String |
getIndexName() |
String |
getParentId(T entity) |
String |
getType() |
Long |
getVersion(T entity) |
getJavaType, isNewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNewgetJavaTypepublic MappingElasticsearchEntityInformation(ElasticsearchPersistentEntity<T> entity)
public MappingElasticsearchEntityInformation(ElasticsearchPersistentEntity<T> entity, String indexName, String type)
public ID getId(T entity)
getId in interface EntityInformation<T,ID extends Serializable>public Class<ID> getIdType()
getIdType in interface EntityInformation<T,ID extends Serializable>public String getIdAttribute()
getIdAttribute in interface ElasticsearchEntityInformation<T,ID extends Serializable>public String getIndexName()
getIndexName in interface ElasticsearchEntityInformation<T,ID extends Serializable>public String getType()
getType in interface ElasticsearchEntityInformation<T,ID extends Serializable>public Long getVersion(T entity)
getVersion in interface ElasticsearchEntityInformation<T,ID extends Serializable>public String getParentId(T entity)
getParentId in interface ElasticsearchEntityInformation<T,ID extends Serializable>Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.