Package tech.tablesaw.index
Class IntIndex
java.lang.Object
tech.tablesaw.index.IntIndex
- All Implemented Interfaces:
Index
An index for four-byte integer and integer backed columns (date, String, time)
-
Constructor Summary
ConstructorsConstructorDescriptionIntIndex
(DateColumn column) Constructs an index for the given columnConstructs an index for the given columnIntIndex
(TimeColumn column) Constructs an index for the given column -
Method Summary
Modifier and TypeMethodDescriptionatLeast
(int 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 valueReturns aSelection
of all values at least as large as the given valueatMost
(int 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 valueReturns aSelection
of all values at most as large as the given valueget
(int value) Returns a bitmapSelection
containing row numbers of all cells matching the given intReturns theSelection
of all values exactly equal to the given valueReturns theSelection
of all values exactly equal to the given valuegreaterThan
(int value) Returns aSelection
of all values greater than the given valuegreaterThan
(LocalDate value) Returns aSelection
of all values greater than the given valuegreaterThan
(LocalTime value) Returns aSelection
of all values greater than the given valuelessThan
(int value) Returns aSelection
of all values less than the given valueReturns aSelection
of all values less than the given valueReturns aSelection
of all values less than the given value
-
Constructor Details
-
IntIndex
Constructs an index for the given column -
IntIndex
Constructs an index for the given column -
IntIndex
Constructs an index for the given column
-
-
Method Details
-
get
Returns a bitmapSelection
containing row numbers of all cells matching the given int- 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
-