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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddoMainInsert(int tableLocation, int chunkPosition) Called after a value is inserted into the main hash tablefinal voiddoMoveMain(int oldTableLocation, int newTableLocation) Called during rehash when a value is moved in the main tablefinal voiddoOverflowInsert(int overflowLocation, int chunkPosition) Called after a value is inserted into the overflow hash tablefinal voiddoPromoteOverflow(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, waitMethods 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:HashHandlerCalled after a value is inserted into the main hash table- Specified by:
doMainInsertin interfaceHashHandler- Parameters:
tableLocation- location of insertionchunkPosition- the position in the chunk
-
doOverflowInsert
public final void doOverflowInsert(int overflowLocation, int chunkPosition) Description copied from interface:HashHandlerCalled after a value is inserted into the overflow hash table- Specified by:
doOverflowInsertin interfaceHashHandler- Parameters:
overflowLocation- location of insertionchunkPosition- the position in the chunk
-
doMoveMain
public final void doMoveMain(int oldTableLocation, int newTableLocation) Description copied from interface:HashHandlerCalled during rehash when a value is moved in the main table- Specified by:
doMoveMainin 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:HashHandlerCalled during rehash when a value is promoted from overflow to the main table- Specified by:
doPromoteOverflowin interfaceHashHandler- Parameters:
overflowLocation- the old location in the overflow tablemainInsertLocation- the new location in the main table
-