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 SelectionatLeast(int value)Returns aSelectionof all values at least as large as the given valueSelectionatLeast(LocalDate value)Returns aSelectionof all values at least as large as the given valueSelectionatLeast(LocalTime value)Returns aSelectionof all values at least as large as the given valueSelectionatMost(int value)Returns aSelectionof all values at most as large as the given valueSelectionatMost(LocalDate value)Returns aSelectionof all values at most as large as the given valueSelectionatMost(LocalTime value)Returns aSelectionof all values at most as large as the given valueSelectionget(int value)Returns a bitmapSelectioncontaining row numbers of all cells matching the given intSelectionget(LocalDate value)Returns theSelectionof all values exactly equal to the given valueSelectionget(LocalTime value)Returns theSelectionof all values exactly equal to the given valueSelectiongreaterThan(int value)Returns aSelectionof all values greater than the given valueSelectiongreaterThan(LocalDate value)Returns aSelectionof all values greater than the given valueSelectiongreaterThan(LocalTime value)Returns aSelectionof all values greater than the given valueSelectionlessThan(int value)Returns aSelectionof all values less than the given valueSelectionlessThan(LocalDate value)Returns aSelectionof all values less than the given valueSelectionlessThan(LocalTime value)Returns aSelectionof 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 bitmapSelectioncontaining 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 theSelectionof all values exactly equal to the given value
-
get
public Selection get(LocalDate value)
Returns theSelectionof all values exactly equal to the given value
-
atLeast
public Selection atLeast(int value)
Returns aSelectionof all values at least as large as the given value
-
atLeast
public Selection atLeast(LocalTime value)
Returns aSelectionof all values at least as large as the given value
-
atLeast
public Selection atLeast(LocalDate value)
Returns aSelectionof all values at least as large as the given value
-
greaterThan
public Selection greaterThan(int value)
Returns aSelectionof all values greater than the given value
-
greaterThan
public Selection greaterThan(LocalTime value)
Returns aSelectionof all values greater than the given value
-
greaterThan
public Selection greaterThan(LocalDate value)
Returns aSelectionof all values greater than the given value
-
atMost
public Selection atMost(int value)
Returns aSelectionof all values at most as large as the given value
-
atMost
public Selection atMost(LocalTime value)
Returns aSelectionof all values at most as large as the given value
-
atMost
public Selection atMost(LocalDate value)
Returns aSelectionof all values at most as large as the given value
-
lessThan
public Selection lessThan(int value)
Returns aSelectionof all values less than the given value
-
lessThan
public Selection lessThan(LocalTime value)
Returns aSelectionof all values less than the given value
-
-