forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Remove gnu.trove from RowSet API (deephaven#5730)
Removes usages of gnu.trove from the API of rowset related classes. These usages were previously unused, though this is technically an API breaking change. Partial deephaven#188 Co-authored-by: Ryan Caudy <[email protected]>
- Loading branch information
Showing
35 changed files
with
69 additions
and
668 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
engine/rowset/src/main/java/io/deephaven/engine/rowset/RowKeyRangeShiftCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending | ||
// | ||
package io.deephaven.engine.rowset; | ||
|
||
/** | ||
* Functional interface to pass to {@link RowSetShiftData#apply(RowKeyRangeShiftCallback)} or | ||
* {@link RowSetShiftData#unapply(RowKeyRangeShiftCallback)} to get information about each shift recorded. | ||
*/ | ||
@FunctionalInterface | ||
public interface RowKeyRangeShiftCallback { | ||
/** | ||
* Process the shift. | ||
* | ||
* @param beginRange start of range (inclusive) | ||
* @param endRange end of range (inclusive) | ||
* @param shiftDelta amount range has moved by | ||
*/ | ||
void shift(long beginRange, long endRange, long shiftDelta); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
engine/rowset/src/main/java/io/deephaven/engine/rowset/RowSetShiftCallback.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending | ||
// | ||
package io.deephaven.engine.rowset; | ||
|
||
/** | ||
* Callback interface for propagating shifts over entire {@link RowSet RowSets}. | ||
*/ | ||
public interface RowSetShiftCallback { | ||
/** | ||
* Signals that the row keys in {@code rowSet} should be shifted by the provided {@code shiftDelta}. | ||
* | ||
* @param rowSet The row keys to shift | ||
* @param shiftDelta The shift delta to apply to each row key in {@code rowSet} | ||
*/ | ||
void shift(RowSet rowSet, long shiftDelta); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.