Class AbstractDoublesFromDocValuesBlockLoader.Sorted

java.lang.Object
org.elasticsearch.index.mapper.blockloader.docvalues.BlockDocValuesReader
org.elasticsearch.index.mapper.blockloader.docvalues.AbstractDoublesFromDocValuesBlockLoader.Sorted
All Implemented Interfaces:
Closeable, AutoCloseable, Releasable, BlockLoader.ColumnAtATimeReader, BlockLoader.Reader
Enclosing class:
AbstractDoublesFromDocValuesBlockLoader

public static class AbstractDoublesFromDocValuesBlockLoader.Sorted extends BlockDocValuesReader
  • Method Details

    • read

      public BlockLoader.Block read(BlockLoader.BlockFactory factory, BlockLoader.Docs docs, int offset, boolean nullsFiltered) throws IOException
      Description copied from interface: BlockLoader.ColumnAtATimeReader
      Reads the values of all documents in docs.
      Parameters:
      nullsFiltered - if true, then target docs are guaranteed to have a value for the field; otherwise, the guarantee is unknown. This enables optimizations for block loaders, treating the field as dense (every document has value) even if it is sparse in the index. For example, "FROM index | WHERE x != null | STATS sum(x)", after filtering out documents without value for field x, all target documents returned from the source operator will have a value for field x whether x is dense or sparse in the index.
      Throws:
      IOException
    • docId

      public int docId()
      Specified by:
      docId in class BlockDocValuesReader
    • toString

      public String toString()
      Description copied from interface: BlockLoader.Reader
      A string representation of the BlockLoader.Reader. It's important that this have a nice implementation because this is used in the profile.
      Specified by:
      toString in interface BlockLoader.Reader
      Specified by:
      toString in class BlockDocValuesReader
    • close

      public void close()