Module org.elasticsearch.server
Package org.elasticsearch.search.lookup
Class SourceLookup.BytesSourceProvider
java.lang.Object
org.elasticsearch.search.lookup.SourceLookup.BytesSourceProvider
- All Implemented Interfaces:
SourceLookup.SourceProvider
- Enclosing class:
- SourceLookup
public static class SourceLookup.BytesSourceProvider
extends Object
implements SourceLookup.SourceProvider
Provider for source using given source bytes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setSegmentAndDocument
(org.apache.lucene.index.LeafReaderContext context, int docId) source()
-
Constructor Details
-
BytesSourceProvider
-
-
Method Details
-
source
- Specified by:
source
in interfaceSourceLookup.SourceProvider
-
sourceContentType
- Specified by:
sourceContentType
in interfaceSourceLookup.SourceProvider
-
sourceAsBytes
- Specified by:
sourceAsBytes
in interfaceSourceLookup.SourceProvider
-
extractRawValuesWithoutCaching
- Specified by:
extractRawValuesWithoutCaching
in interfaceSourceLookup.SourceProvider
-
hasSourceAsMap
public boolean hasSourceAsMap()- Specified by:
hasSourceAsMap
in interfaceSourceLookup.SourceProvider
-
setSegmentAndDocument
public void setSegmentAndDocument(org.apache.lucene.index.LeafReaderContext context, int docId) - Specified by:
setSegmentAndDocument
in interfaceSourceLookup.SourceProvider
-