io.deephaven.engine.table.impl.RightIncrementalNaturalJoinStateManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-table Show documentation
Show all versions of deephaven-engine-table Show documentation
Engine Table: Implementation and closely-coupled utilities
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.engine.table.impl;
import io.deephaven.engine.rowset.RowSequence;
import io.deephaven.engine.rowset.RowSet;
import io.deephaven.engine.rowset.WritableRowSet;
import io.deephaven.engine.table.ColumnSource;
import io.deephaven.engine.table.Context;
import io.deephaven.engine.table.Table;
import io.deephaven.engine.table.impl.sources.ObjectArraySource;
import io.deephaven.engine.table.impl.util.WritableRowRedirection;
import io.deephaven.util.SafeCloseable;
import org.jetbrains.annotations.NotNull;
public abstract class RightIncrementalNaturalJoinStateManager extends StaticNaturalJoinStateManager implements IncrementalNaturalJoinStateManager {
protected RightIncrementalNaturalJoinStateManager(ColumnSource>[] keySourcesForErrorMessages) {
super(keySourcesForErrorMessages);
}
public abstract void buildFromLeftSide(final Table leftTable, ColumnSource>[] leftSources, final InitialBuildContext initialBuildContext);
public abstract void convertLeftGroups(int groupingSize, InitialBuildContext initialBuildContext, ObjectArraySource rowSetSource);
public abstract void addRightSide(RowSequence rightIndex, ColumnSource> [] rightSources);
public abstract WritableRowRedirection buildRowRedirectionFromHashSlot(QueryTable leftTable, boolean exactMatch, InitialBuildContext initialBuildContext, JoinControl.RedirectionType redirectionType);
public abstract WritableRowRedirection buildRowRedirectionFromHashSlotGrouped(QueryTable leftTable, ObjectArraySource rowSetSource, int groupingSize, boolean exactMatch, InitialBuildContext initialBuildContext, JoinControl.RedirectionType redirectionType);
// modification probes
public abstract void applyRightShift(Context pc, ColumnSource> [] rightSources, RowSet shiftedRowSet, long shiftDelta, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker);
public abstract void modifyByRight(Context pc, RowSet modified, ColumnSource>[] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker);
public abstract void removeRight(Context pc, RowSequence rightIndex, ColumnSource> [] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker);
public abstract void addRightSide(Context pc, RowSequence rightIndex, ColumnSource> [] rightSources, @NotNull final NaturalJoinModifiedSlotTracker modifiedSlotTracker);
public abstract Context makeProbeContext(ColumnSource>[] probeSources, long maxSize);
public abstract InitialBuildContext makeInitialBuildContext(Table leftTable);
public interface InitialBuildContext extends SafeCloseable {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy