Module org.elasticsearch.compute
Class HashImplFactory
java.lang.Object
org.elasticsearch.compute.aggregation.blockhash.HashImplFactory
A factory for constructing concrete Hash implementations.
The specific implementation returned by this factory is chosen once at class initialization time and remains fixed for the lifetime of the JVM. All factory methods will therefore consistently return instances of the same concrete implementation type.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BytesRefHashTableCreates a new BytesRefHashTable.static LongHashTableCreates a new LongHashTable.static LongLongHashTableCreates a new LongLongHashTable.
-
Field Details
-
SWISS_HASH_AVAILABLE
public static final boolean SWISS_HASH_AVAILABLE
-
-
Method Details
-
newLongHash
Creates a new LongHashTable. -
newLongLongHash
Creates a new LongLongHashTable. -
newBytesRefHash
Creates a new BytesRefHashTable.
-