Class ElasticsearchDocument
java.lang.Object
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocument
- All Implemented Interfaces:
 SearchDocument
- 
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchDocument(String id, String type, String index, long seqNo, long primaryTerm, Map<String, Object> fields, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) ElasticsearchDocument(String id, String type, String index, long version, Map<String, Object> fields, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) Deprecated.ElasticsearchDocument(String id, String type, String index, String resourceId, String context, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) ElasticsearchDocument(org.elasticsearch.search.SearchHit hit) Deprecated.ElasticsearchDocument(org.elasticsearch.search.SearchHit hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddGeoProperty(String name, String text) voidaddProperty(String name) Adds/creates a new property with the given name.voidaddProperty(String name, String text) Adds a value to the property with the given name.getId()getIndex()longgetProperty(String name) Returns a set of the property names.longgetSeqNo()getType()longDeprecated.booleanhasProperty(String name, String value) Checks whether a field occurs with a specified value in a Document. 
- 
Constructor Details
- 
ElasticsearchDocument
Deprecated. - 
ElasticsearchDocument
public ElasticsearchDocument(org.elasticsearch.search.SearchHit hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper)  - 
ElasticsearchDocument
 - 
ElasticsearchDocument
 - 
ElasticsearchDocument
 
 - 
 - 
Method Details
- 
getId
- Specified by:
 getIdin interfaceSearchDocument
 - 
getType
 - 
getVersion
Deprecated. - 
getSeqNo
public long getSeqNo() - 
getPrimaryTerm
public long getPrimaryTerm() - 
getIndex
 - 
getSource
 - 
getResource
- Specified by:
 getResourcein interfaceSearchDocument
 - 
getContext
- Specified by:
 getContextin interfaceSearchDocument
 - 
getPropertyNames
Description copied from interface:SearchDocumentReturns a set of the property names.- Specified by:
 getPropertyNamesin interfaceSearchDocument
 - 
addProperty
Description copied from interface:SearchDocumentAdds/creates a new property with the given name.- Specified by:
 addPropertyin interfaceSearchDocument
 - 
addProperty
Description copied from interface:SearchDocumentAdds a value to the property with the given name.- Specified by:
 addPropertyin interfaceSearchDocument
 - 
addGeoProperty
- Specified by:
 addGeoPropertyin interfaceSearchDocument
 - 
hasProperty
Description copied from interface:SearchDocumentChecks whether a field occurs with a specified value in a Document.- Specified by:
 hasPropertyin interfaceSearchDocument
 - 
getProperty
- Specified by:
 getPropertyin interfaceSearchDocument
 
 -