Package tech.tablesaw.index
Class LongIndex
java.lang.Object
tech.tablesaw.index.LongIndex
- All Implemented Interfaces:
Index
An index for eight-byte long and long backed columns (datetime)
-
Constructor Summary
ConstructorsConstructorDescriptionLongIndex
(LongColumn column) Constructs an index for the given columnLongIndex
(TemporalColumn<?> column) Constructs an index for the given column -
Method Summary
Modifier and TypeMethodDescriptionatLeast
(long value) Returns aSelection
of all values at least as large as the given valueReturns aSelection
of all values at least as large as the given valueatLeast
(LocalDateTime value) Returns aSelection
of all values at least as large as the given valueatMost
(long value) Returns aSelection
of all values at most as large as the given valueReturns aSelection
of all values at most as large as the given valueatMost
(LocalDateTime value) Returns aSelection
of all values at most as large as the given valueget
(long value) Returns a bitmap containing row numbers of all cells matching the given longReturns theSelection
of all values exactly equal to the given valueget
(LocalDateTime value) Returns theSelection
of all values exactly equal to the given valuegreaterThan
(long value) Returns aSelection
of all values greater than the given valuegreaterThan
(Instant value) Returns aSelection
of all values greater than the given valuegreaterThan
(LocalDateTime value) Returns aSelection
of all values greater than the given valuelessThan
(long value) Returns aSelection
of all values less than the given valueReturns aSelection
of all values less than the given valuelessThan
(LocalDateTime value) Returns aSelection
of all values less than the given value
-
Constructor Details
-
LongIndex
Constructs an index for the given column -
LongIndex
Constructs an index for the given column
-
-
Method Details
-
get
Returns a bitmap containing row numbers of all cells matching the given long- Parameters:
value
- This is a 'key' from the index perspective, meaning it is a value from the standpoint of the column
-
get
Returns theSelection
of all values exactly equal to the given value -
get
Returns theSelection
of all values exactly equal to the given value -
atLeast
Returns aSelection
of all values at least as large as the given value -
atLeast
Returns aSelection
of all values at least as large as the given value -
atLeast
Returns aSelection
of all values at least as large as the given value -
greaterThan
Returns aSelection
of all values greater than the given value -
greaterThan
Returns aSelection
of all values greater than the given value -
greaterThan
Returns aSelection
of all values greater than the given value -
atMost
Returns aSelection
of all values at most as large as the given value -
atMost
Returns aSelection
of all values at most as large as the given value -
atMost
Returns aSelection
of all values at most as large as the given value -
lessThan
Returns aSelection
of all values less than the given value -
lessThan
Returns aSelection
of all values less than the given value -
lessThan
Returns aSelection
of all values less than the given value
-