Class MappingElasticsearchEntityInformation<T,ID>
java.lang.Object
org.springframework.data.repository.core.support.PersistentEntityInformation<T,ID>
org.springframework.data.elasticsearch.repository.support.MappingElasticsearchEntityInformation<T,ID>
- Type Parameters:
T
-ID
-
- All Implemented Interfaces:
ElasticsearchEntityInformation<T,
,ID> EntityInformation<T,
,ID> EntityMetadata<T>
public class MappingElasticsearchEntityInformation<T,ID>
extends PersistentEntityInformation<T,ID>
implements ElasticsearchEntityInformation<T,ID>
Elasticsearch specific implementation of
AbstractEntityInformation
- Author:
- Rizwan Idrees, Mohsin Husen, Ryan Henszey, Oliver Gierke, Mark Paluch, Christoph Strobl, Ivan Greene, Sylvain Laurent, Peter-Josef Meisch
-
Constructor Summary
ConstructorDescriptionMappingElasticsearchEntityInformation
(ElasticsearchPersistentEntity<T> persistentEntity) -
Method Summary
Methods inherited from class org.springframework.data.repository.core.support.PersistentEntityInformation
getId, getIdType, getJavaType, isNew
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.core.EntityInformation
getId, getIdType, getRequiredId, isNew
Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Constructor Details
-
MappingElasticsearchEntityInformation
-
-
Method Details
-
getIdAttribute
- Specified by:
getIdAttribute
in interfaceElasticsearchEntityInformation<T,
ID>
-
getIndexCoordinates
- Specified by:
getIndexCoordinates
in interfaceElasticsearchEntityInformation<T,
ID>
-
getVersion
- Specified by:
getVersion
in interfaceElasticsearchEntityInformation<T,
ID>
-
getVersionType
- Specified by:
getVersionType
in interfaceElasticsearchEntityInformation<T,
ID>
-