Interface SourceLookup.SourceProvider

All Known Implementing Classes:
SourceLookup.BytesSourceProvider, SourceLookup.MapSourceProvider, SourceLookup.NullSourceProvider, SourceLookup.ReaderSourceProvider
Enclosing class:
SourceLookup

public static interface SourceLookup.SourceProvider
SourceProvider describes how SourceLookup will access the source.
  • Method Details

    • source

      Map<String,Object> source()
    • sourceContentType

      XContentType sourceContentType()
    • sourceAsBytes

      BytesReference sourceAsBytes()
    • extractRawValuesWithoutCaching

      List<Object> extractRawValuesWithoutCaching(String path)
    • hasSourceAsMap

      boolean hasSourceAsMap()
    • setSegmentAndDocument

      void setSegmentAndDocument(org.apache.lucene.index.LeafReaderContext context, int docId)