Package org.apache.lucene.codecs
Class KnnVectorsFormat.Holder
- java.lang.Object
-
- org.apache.lucene.codecs.KnnVectorsFormat.Holder
-
- Enclosing class:
- KnnVectorsFormat
private static final class KnnVectorsFormat.Holder extends java.lang.Object
This static holder class prevents classloading deadlock by delaying init of doc values formats until needed.
-
-
Field Summary
Fields Modifier and Type Field Description private static NamedSPILoader<KnnVectorsFormat>
LOADER
-
Constructor Summary
Constructors Modifier Constructor Description private
Holder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static NamedSPILoader<KnnVectorsFormat>
getLoader()
-
-
-
Field Detail
-
LOADER
private static final NamedSPILoader<KnnVectorsFormat> LOADER
-
-
Method Detail
-
getLoader
static NamedSPILoader<KnnVectorsFormat> getLoader()
-
-