HasIndexSlice (Lucene 10.5.0 core API)
Description: declaration: package: org.apache.lucene.codecs.lucene95, interface: HasIndexSlice

Package org.apache.lucene.codecs.lucene95

# Interface HasIndexSlice

All Known Implementing Classes:
  `BaseQuantizedByteVectorValues`, `LegacyQuantizedByteVectorValues`, `OffHeapByteVectorValues`, `OffHeapByteVectorValues.DenseOffHeapVectorValues`, `OffHeapFloatVectorValues`, `OffHeapFloatVectorValues.DenseOffHeapVectorValues`, `OffHeapScalarQuantizedVectorValues`, `QuantizedByteVectorValues`

public interface HasIndexSlice
Implementors can return the IndexInput from which their values are read. For use by vector quantizers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IndexInput`
  `getSlice()`
  Returns an IndexInput from which to read this instance's values, or null if not available.

- ## Method Details

  - ### getSlice

    IndexInput getSlice()
    Returns an IndexInput from which to read this instance's values, or null if not available.