Package tech.tablesaw.index
Class IntIndex
- java.lang.Object
-
- tech.tablesaw.index.IntIndex
-
-
Constructor Summary
Constructors Constructor Description IntIndex(DateColumn column)
Constructs an index for the given columnIntIndex(IntColumn column)
Constructs an index for the given columnIntIndex(TimeColumn column)
Constructs an index for the given column
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selection
atLeast(int value)
Returns aSelection
of all values at least as large as the given valueSelection
atLeast(LocalDate value)
Returns aSelection
of all values at least as large as the given valueSelection
atLeast(LocalTime value)
Returns aSelection
of all values at least as large as the given valueSelection
atMost(int value)
Returns aSelection
of all values at most as large as the given valueSelection
atMost(LocalDate value)
Returns aSelection
of all values at most as large as the given valueSelection
atMost(LocalTime value)
Returns aSelection
of all values at most as large as the given valueSelection
get(int value)
Returns a bitmapSelection
containing row numbers of all cells matching the given intSelection
get(LocalDate value)
Returns theSelection
of all values exactly equal to the given valueSelection
get(LocalTime value)
Returns theSelection
of all values exactly equal to the given valueSelection
greaterThan(int value)
Returns aSelection
of all values greater than the given valueSelection
greaterThan(LocalDate value)
Returns aSelection
of all values greater than the given valueSelection
greaterThan(LocalTime value)
Returns aSelection
of all values greater than the given valueSelection
lessThan(int value)
Returns aSelection
of all values less than the given valueSelection
lessThan(LocalDate value)
Returns aSelection
of all values less than the given valueSelection
lessThan(LocalTime value)
Returns aSelection
of all values less than the given value
-
-
-
Constructor Detail
-
IntIndex
public IntIndex(DateColumn column)
Constructs an index for the given column
-
IntIndex
public IntIndex(IntColumn column)
Constructs an index for the given column
-
IntIndex
public IntIndex(TimeColumn column)
Constructs an index for the given column
-
-
Method Detail
-
get
public Selection get(int value)
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
public Selection get(LocalTime value)
Returns theSelection
of all values exactly equal to the given value
-
get
public Selection get(LocalDate value)
Returns theSelection
of all values exactly equal to the given value
-
atLeast
public Selection atLeast(int value)
Returns aSelection
of all values at least as large as the given value
-
atLeast
public Selection atLeast(LocalTime value)
Returns aSelection
of all values at least as large as the given value
-
atLeast
public Selection atLeast(LocalDate value)
Returns aSelection
of all values at least as large as the given value
-
greaterThan
public Selection greaterThan(int value)
Returns aSelection
of all values greater than the given value
-
greaterThan
public Selection greaterThan(LocalTime value)
Returns aSelection
of all values greater than the given value
-
greaterThan
public Selection greaterThan(LocalDate value)
Returns aSelection
of all values greater than the given value
-
atMost
public Selection atMost(int value)
Returns aSelection
of all values at most as large as the given value
-
atMost
public Selection atMost(LocalTime value)
Returns aSelection
of all values at most as large as the given value
-
atMost
public Selection atMost(LocalDate value)
Returns aSelection
of all values at most as large as the given value
-
lessThan
public Selection lessThan(int value)
Returns aSelection
of all values less than the given value
-
lessThan
public Selection lessThan(LocalTime value)
Returns aSelection
of all values less than the given value
-
-