-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac4672e
commit dd9c6ba
Showing
22 changed files
with
505 additions
and
297 deletions.
There are no files selected for viewing
366 changes: 110 additions & 256 deletions
366
std-bits/table/src/main/java/org/enso/table/data/column/operation/StorageIterators.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
1 change: 0 additions & 1 deletion
1
...so/table/data/column/operation/map/numeric/arithmetic/NumericBinaryOpReturningDouble.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
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
6 changes: 6 additions & 0 deletions
6
...s/table/src/main/java/org/enso/table/data/column/storage/ColumnDoubleStorageIterator.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,6 @@ | ||
package org.enso.table.data.column.storage; | ||
|
||
public interface ColumnDoubleStorageIterator extends ColumnStorageIterator<Double> { | ||
/** Gets the current item as a double. Note if the item isNothing value is undefined. */ | ||
double getItemAsDouble(); | ||
} |
6 changes: 0 additions & 6 deletions
6
.../table/src/main/java/org/enso/table/data/column/storage/ColumnDoubleStorageWithArray.java
This file was deleted.
Oops, something went wrong.
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
6 changes: 6 additions & 0 deletions
6
...its/table/src/main/java/org/enso/table/data/column/storage/ColumnLongStorageIterator.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,6 @@ | ||
package org.enso.table.data.column.storage; | ||
|
||
public interface ColumnLongStorageIterator extends ColumnStorageIterator<Long> { | ||
/** Gets the current item as a long. Note if the item isNothing value is undefined. */ | ||
long getItemAsLong(); | ||
} |
6 changes: 0 additions & 6 deletions
6
...ts/table/src/main/java/org/enso/table/data/column/storage/ColumnLongStorageWithArray.java
This file was deleted.
Oops, something went wrong.
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
18 changes: 18 additions & 0 deletions
18
std-bits/table/src/main/java/org/enso/table/data/column/storage/ColumnStorageIterator.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,18 @@ | ||
package org.enso.table.data.column.storage; | ||
|
||
import java.util.Iterator; | ||
|
||
public interface ColumnStorageIterator<T> extends Iterator<T> { | ||
// Gets the current item. | ||
T getItemBoxed(); | ||
|
||
// Checks whether the value at idx is Nothing. | ||
boolean isNothing(); | ||
|
||
// Gets the current index; | ||
long getIndex(); | ||
|
||
// Moves to the next item. | ||
// Returns true if not finished, false otherwise. | ||
boolean moveNext(); | ||
} |
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.