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,
org.elasticsearch.index.VersionType versionType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdAttribute() |
String |
getIndexName() |
String |
getParentId(T entity) |
String |
getType() |
Long |
getVersion(T entity) |
org.elasticsearch.index.VersionType |
getVersionType() |
getId, getIdType, getJavaType, 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, org.elasticsearch.index.VersionType versionType)
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 org.elasticsearch.index.VersionType getVersionType()
getVersionType in interface ElasticsearchEntityInformation<T,ID>public String getParentId(T entity)
getParentId in interface ElasticsearchEntityInformation<T,ID>Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.