Interface SourceLoader.SyntheticFieldLoader.Leaf

Enclosing interface:
SourceLoader.SyntheticFieldLoader

public static interface SourceLoader.SyntheticFieldLoader.Leaf
Loads values for a field in a particular leaf.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    advanceToDoc(int docId)
    Position the loader at a document.
    boolean
    Is there a value for this field in this document?
    void
    Load values for this document.
  • Method Details

    • advanceToDoc

      void advanceToDoc(int docId) throws IOException
      Position the loader at a document.
      Throws:
      IOException
    • hasValue

      boolean hasValue()
      Is there a value for this field in this document?
    • load

      void load(XContentBuilder b) throws IOException
      Load values for this document.
      Throws:
      IOException