Class HashHandler.ProbeHandler
java.lang.Object
io.deephaven.engine.table.impl.by.HashHandler.ProbeHandler
- All Implemented Interfaces:
HashHandler
- Enclosing interface:
- HashHandler
When probing, these operations are never invoked. Extending this class makes it simpler to have a probe only
callback.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.by.HashHandler
HashHandler.BuildHandler, HashHandler.ProbeHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
doMainInsert
(int tableLocation, int chunkPosition) Called after a value is inserted into the main hash tablefinal void
doMoveMain
(int oldTableLocation, int newTableLocation) Called during rehash when a value is moved in the main tablefinal void
doOverflowInsert
(int overflowLocation, int chunkPosition) Called after a value is inserted into the overflow hash tablefinal void
doPromoteOverflow
(int overflowLocation, int mainInsertLocation) Called during rehash when a value is promoted from overflow to the main tableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.impl.by.HashHandler
doMainFound, doMissing, doOverflowFound, onNextChunk
-
Constructor Details
-
ProbeHandler
public ProbeHandler()
-
-
Method Details
-
doMainInsert
public final void doMainInsert(int tableLocation, int chunkPosition) Description copied from interface:HashHandler
Called after a value is inserted into the main hash table- Specified by:
doMainInsert
in interfaceHashHandler
- Parameters:
tableLocation
- location of insertionchunkPosition
- the position in the chunk
-
doOverflowInsert
public final void doOverflowInsert(int overflowLocation, int chunkPosition) Description copied from interface:HashHandler
Called after a value is inserted into the overflow hash table- Specified by:
doOverflowInsert
in interfaceHashHandler
- Parameters:
overflowLocation
- location of insertionchunkPosition
- the position in the chunk
-
doMoveMain
public final void doMoveMain(int oldTableLocation, int newTableLocation) Description copied from interface:HashHandler
Called during rehash when a value is moved in the main table- Specified by:
doMoveMain
in interfaceHashHandler
- Parameters:
oldTableLocation
- the old location in the main tablenewTableLocation
- the new location in the main table
-
doPromoteOverflow
public final void doPromoteOverflow(int overflowLocation, int mainInsertLocation) Description copied from interface:HashHandler
Called during rehash when a value is promoted from overflow to the main table- Specified by:
doPromoteOverflow
in interfaceHashHandler
- Parameters:
overflowLocation
- the old location in the overflow tablemainInsertLocation
- the new location in the main table
-