Uses of Enum Class org.apache.lucene.util.quantization.QuantizedByteVectorValues.ScalarEncoding (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.util.quantization, class: QuantizedByteVectorValues, enum: ScalarEncoding

# Uses of Enum Class
org.apache.lucene.util.quantization.QuantizedByteVectorValues.ScalarEncoding

Packages that use QuantizedByteVectorValues.ScalarEncoding
Package
Description
org.apache.lucene.codecs.lucene104
Lucene 10.4 file format.
org.apache.lucene.util.quantization
Provides quantization methods for scaling vector values to smaller data types and possibly fewer dimensions

- ## Uses of QuantizedByteVectorValues.ScalarEncoding in org.apache.lucene.codecs.lucene104

  Methods in org.apache.lucene.codecs.lucene104 that return QuantizedByteVectorValues.ScalarEncoding
  Modifier and Type
  Method
  Description
  `QuantizedByteVectorValues.ScalarEncoding`
  OffHeapScalarQuantizedVectorValues.`getScalarEncoding()`
  Constructors in org.apache.lucene.codecs.lucene104 with parameters of type QuantizedByteVectorValues.ScalarEncoding
  Modifier
  Constructor
  Description
  ``
  `Lucene104HnswScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding, int maxConn, int beamWidth)`
  Constructs a format using the given graph construction parameters.
  ``
  `Lucene104HnswScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding, int maxConn, int beamWidth, int numMergeWorkers, ExecutorService mergeExec)`
  Constructs a format using the given graph construction parameters and scalar quantization.
  ``
  `Lucene104HnswScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding, int maxConn, int beamWidth, int numMergeWorkers, ExecutorService mergeExec, int tinySegmentsThreshold)`
  Constructs a format using the given graph construction parameters and scalar quantization.
  ``
  `Lucene104ScalarQuantizedVectorsFormat(QuantizedByteVectorValues.ScalarEncoding encoding)`
  Creates a new instance with the chosen quantization encoding.
  ``
  `Lucene104ScalarQuantizedVectorsWriter(SegmentWriteState state, QuantizedByteVectorValues.ScalarEncoding encoding, FlatVectorsWriter rawVectorDelegate, Lucene104ScalarQuantizedVectorScorer vectorsScorer)`
  Sole constructor

- ## Uses of QuantizedByteVectorValues.ScalarEncoding in org.apache.lucene.util.quantization

  Methods in org.apache.lucene.util.quantization that return QuantizedByteVectorValues.ScalarEncoding
  Modifier and Type
  Method
  Description
  `static QuantizedByteVectorValues.ScalarEncoding`
  QuantizedByteVectorValues.ScalarEncoding.`fromNumBits(int bits)`
  `abstract QuantizedByteVectorValues.ScalarEncoding`
  QuantizedByteVectorValues.`getScalarEncoding()`
  `static QuantizedByteVectorValues.ScalarEncoding`
  QuantizedByteVectorValues.ScalarEncoding.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static QuantizedByteVectorValues.ScalarEncoding[]`
  QuantizedByteVectorValues.ScalarEncoding.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.lucene.util.quantization that return types with arguments of type QuantizedByteVectorValues.ScalarEncoding
  Modifier and Type
  Method
  Description
  `static Optional<QuantizedByteVectorValues.ScalarEncoding>`
  QuantizedByteVectorValues.ScalarEncoding.`fromWireNumber(int wireNumber)`
  Returns the encoding for the given wire number, or empty if unknown.