Class ValuesSource.Bytes.WithOrdinals

java.lang.Object
Direct Known Subclasses:
ValuesSource.Bytes.WithOrdinals.FieldData
Enclosing class:
ValuesSource.Bytes

public abstract static class ValuesSource.Bytes.WithOrdinals
extends ValuesSource.Bytes
  • Field Details

  • Constructor Details

  • Method Details

    • docsWithValue

      public DocValueBits docsWithValue​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Overrides:
      docsWithValue in class ValuesSource.Bytes
      Throws:
      java.io.IOException
    • ordinalsValues

      public abstract org.apache.lucene.index.SortedSetDocValues ordinalsValues​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Throws:
      java.io.IOException
    • globalOrdinalsValues

      public abstract org.apache.lucene.index.SortedSetDocValues globalOrdinalsValues​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Throws:
      java.io.IOException
    • supportsGlobalOrdinalsMapping

      public boolean supportsGlobalOrdinalsMapping()
      Whether this values source is able to provide a mapping between global and segment ordinals, by returning the underlying OrdinalMap. If this method returns false, then calling globalOrdinalsMapping(org.apache.lucene.index.LeafReaderContext) will result in an UnsupportedOperationException.
    • globalOrdinalsMapping

      public abstract java.util.function.LongUnaryOperator globalOrdinalsMapping​(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
      Returns a mapping from segment ordinals to global ordinals.
      Throws:
      java.io.IOException
    • globalMaxOrd

      public long globalMaxOrd​(org.apache.lucene.search.IndexSearcher indexSearcher) throws java.io.IOException
      Throws:
      java.io.IOException