Class ElasticsearchDocumentResult
java.lang.Object
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocumentResult
- All Implemented Interfaces:
DocumentResult
- Direct Known Subclasses:
ElasticsearchDocumentDistance
,ElasticsearchDocumentScore
-
Field Summary
-
Constructor Summary
ConstructorDescriptionElasticsearchDocumentResult
(org.elasticsearch.search.SearchHit hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) -
Method Summary
Modifier and TypeMethodDescriptionReturns null if the document no longer exists.
-
Field Details
-
hit
protected final org.elasticsearch.search.SearchHit hit
-
-
Constructor Details
-
ElasticsearchDocumentResult
public ElasticsearchDocumentResult(org.elasticsearch.search.SearchHit hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper)
-
-
Method Details
-
getDocument
Description copied from interface:DocumentResult
Returns null if the document no longer exists.- Specified by:
getDocument
in interfaceDocumentResult
-