Interface BlockLoader.StoredFields

All Known Implementing Classes:
BlockLoaderStoredFieldsFromLeafLoader
Enclosing interface:
BlockLoader

public static interface BlockLoader.StoredFields
  • Method Details

    • source

      Source source() throws IOException
      The _source of the document.
      Throws:
      IOException
    • id

      String id() throws IOException
      Returns:
      the ID for the current document
      Throws:
      IOException
    • routing

      String routing() throws IOException
      Returns:
      the routing path for the current document
      Throws:
      IOException
    • storedFields

      Map<String,List<Object>> storedFields() throws IOException
      Returns:
      stored fields for the current document
      Throws:
      IOException
    • loaded

      boolean loaded()
      Whether stored fields have already been loaded for the current document. If the stored fields are not loaded yet, the block loader might avoid loading them when not needed.