Package com.illumon.iris.db.v2.join
Class IncrementalMultiJoinStateManager
java.lang.Object
com.illumon.iris.db.v2.join.IncrementalMultiJoinStateManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final doublestatic final double -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyShift(com.illumon.iris.db.v2.join.IncrementalMultiJoinStateManager.ProbeContext pc, Index index, ColumnSource<?>[] sources, int tableNumber, long shiftDelta, MultiJoinModifiedSlotTracker slotTracker) voidbuild(Table table, ColumnSource<?>[] sources, int tableNumber) voiddoRehash(com.illumon.iris.db.v2.join.IncrementalMultiJoinStateManager.BuildContext bc) voidensureTableCapacity(int tables) voidgetCurrentRedirections(long slot, long[] redirections) getRedirectionIndexForTable(int tableNumber) longintkeyString(long slot) voidprocessAdded(Index index, ColumnSource<?>[] sources, int tableNumber, MultiJoinModifiedSlotTracker slotTracker, boolean addedForKeyModified) voidprocessModified(Index index, ColumnSource<?>[] sources, int tableNumber, MultiJoinModifiedSlotTracker slotTracker) voidprocessRemoved(Index index, ColumnSource<?>[] sources, int tableNumber, MultiJoinModifiedSlotTracker slotTracker, boolean removedForKeyModify) booleanvoidsetMaximumLoadFactor(double maximumLoadFactor) voidsetTargetLoadFactor(double targetLoadFactor)
-
Field Details
-
CHUNK_SIZE
public static final int CHUNK_SIZE- See Also:
-
DEFAULT_MAX_LOAD_FACTOR
public static final double DEFAULT_MAX_LOAD_FACTOR- See Also:
-
DEFAULT_TARGET_LOAD_FACTOR
public static final double DEFAULT_TARGET_LOAD_FACTOR- See Also:
-
-
Method Details
-
build
-
processAdded
public void processAdded(Index index, ColumnSource<?>[] sources, int tableNumber, @Nullable MultiJoinModifiedSlotTracker slotTracker, boolean addedForKeyModified) -
doRehash
public void doRehash(com.illumon.iris.db.v2.join.IncrementalMultiJoinStateManager.BuildContext bc) -
rehashRequired
public boolean rehashRequired() -
setTargetLoadFactor
public void setTargetLoadFactor(double targetLoadFactor) -
setMaximumLoadFactor
public void setMaximumLoadFactor(double maximumLoadFactor) -
processRemoved
public void processRemoved(Index index, ColumnSource<?>[] sources, int tableNumber, @NotNull MultiJoinModifiedSlotTracker slotTracker, boolean removedForKeyModify) -
processModified
public void processModified(Index index, ColumnSource<?>[] sources, int tableNumber, @NotNull MultiJoinModifiedSlotTracker slotTracker) -
applyShift
public void applyShift(com.illumon.iris.db.v2.join.IncrementalMultiJoinStateManager.ProbeContext pc, Index index, ColumnSource<?>[] sources, int tableNumber, long shiftDelta, @NotNull MultiJoinModifiedSlotTracker slotTracker) -
getResultSize
public long getResultSize() -
getTableCount
public int getTableCount() -
ensureTableCapacity
public void ensureTableCapacity(int tables) -
getCurrentRedirections
public void getCurrentRedirections(long slot, long[] redirections) -
getKeyHashTableSources
-
getRedirectionIndexForTable
-
keyString
-