Enum Class NullableLongLongMaps.ReadMode
java.lang.Object
java.lang.Enum<NullableLongLongMaps.ReadMode>
io.deephaven.engine.table.impl.util.hash.NullableLongLongMaps.ReadMode
- All Implemented Interfaces:
Serializable,Comparable<NullableLongLongMaps.ReadMode>,java.lang.constant.Constable
- Enclosing class:
NullableLongLongMaps
How a
NullableLongLongMaps.Shape.K4V4 map's chunked gets choose between the serial probe loop and the AMAC window. Production
code uses ADAPTIVE; the pinned modes exist so the yardstick can price the adaptive gate against each
pure strategy, and so tests can exercise the window kernel at sizes where the gate would choose serial. The
narrow shapes have no window kernel: their reads are serial whatever the mode, and WINDOW is rejected
for them.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe footprint gate decides per chunk (seeNullableLongLongMaps.wantWindowedReads(int, int)).Always the serial probe loop, regardless of footprint.Always the AMAC window, regardless of footprint. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NullableLongLongMaps.ReadMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADAPTIVE
The footprint gate decides per chunk (seeNullableLongLongMaps.wantWindowedReads(int, int)). -
WINDOW
Always the AMAC window, regardless of footprint.NullableLongLongMaps.Shape.K4V4only. -
SERIAL
Always the serial probe loop, regardless of footprint.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-