Uses of Interface
tech.tablesaw.selection.Selection
-
-
Uses of Selection in tech.tablesaw.aggregate
Method parameters in tech.tablesaw.aggregate with type arguments of type Selection Modifier and Type Method Description Table
Summarizer. having(Function<Table,Selection> selection)
Similar in intent to the SQL having command, it enables the user to apply a filter to the grouped results of summary. -
Uses of Selection in tech.tablesaw.api
Methods in tech.tablesaw.api that return Selection Modifier and Type Method Description Selection
BooleanColumn. asSelection()
Selection
BooleanColumn. eval(BiPredicate<Boolean,Boolean> predicate, Boolean valueToCompare)
Returns a Selection of the elements that return true when the predicate is evaluated with the given Boolean argumentSelection
BooleanColumn. eval(Predicate<Boolean> predicate)
Returns a Selection of the elements that return true when the predicate is evaluatedSelection
BooleanColumn. eval(BytePredicate predicate)
Returns a Selection of the elements that return true when the predicate is evaluateddefault Selection
NumericColumn. eval(BiPredicate<Number,Number> predicate, Number number)
default Selection
NumericColumn. eval(DoublePredicate predicate)
Selection
BooleanColumn. isEqualTo(BooleanColumn other)
Selection
StringColumn. isEqualTo(String string)
Selection
BooleanColumn. isFalse()
Selection
DoubleColumn. isIn(double... doubles)
Selection
FloatColumn. isIn(float... numbers)
Selection
IntColumn. isIn(int... numbers)
Selection
LongColumn. isIn(long... numbers)
default Selection
NumericColumn. isIn(Collection<Number> numbers)
Selection
ShortColumn. isIn(int... numbers)
Selection
StringColumn. isIn(String... strings)
Selection
StringColumn. isIn(Collection<String> strings)
Selection
BooleanColumn. isMissing()
Returns a selection containing an index for every missing value in this columnSelection
InstantColumn. isMissing()
Returns a selection containing an index for every missing value in this columndefault Selection
NumericColumn. isMissing()
Returns a selection containing an index for every missing value in this columnSelection
StringColumn. isMissing()
Selection
TimeColumn. isMissing()
Returns a selection containing an index for every missing value in this columnSelection
StringColumn. isNotEqualTo(String string)
Selection
DoubleColumn. isNotIn(double... doubles)
Selection
FloatColumn. isNotIn(float... numbers)
Selection
IntColumn. isNotIn(int... numbers)
Selection
IntColumn. isNotIn(IntColumn ints)
Selection
LongColumn. isNotIn(long... numbers)
default Selection
NumericColumn. isNotIn(Collection<Number> numbers)
Selection
ShortColumn. isNotIn(int... numbers)
Selection
StringColumn. isNotIn(String... strings)
Selection
StringColumn. isNotIn(Collection<String> strings)
Selection
BooleanColumn. isNotMissing()
Returns a selection containing an index for every non-missing value in this columnSelection
InstantColumn. isNotMissing()
Returns a selection containing an index for every non-missing value in this columndefault Selection
NumericColumn. isNotMissing()
Returns a selection containing an index for every non-missing value in this columnSelection
StringColumn. isNotMissing()
Selection
TimeColumn. isNotMissing()
Returns a selection containing an index for every non-missing value in this columnSelection
BooleanColumn. isTrue()
Methods in tech.tablesaw.api that return types with arguments of type Selection Modifier and Type Method Description static Function<Table,Selection>
QuerySupport. all(Function<Table,Selection>... deferredSelections)
Returns a selection for all records that match all of the given functions.static Function<Table,Selection>
QuerySupport. and(Function<Table,Selection>... deferredSelections)
Returns a selection for all records that match all of the given functionsstatic Function<Table,Selection>
QuerySupport. any(Function<Table,Selection>... deferredSelections)
Returns a selection for all records that match any of the given functions.static Function<Table,Selection>
QuerySupport. both(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that match both of the given functionsstatic Function<Table,Selection>
QuerySupport. either(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that match either of the given functionsstatic Function<Table,Selection>
QuerySupport. neither(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that match neither of the given functions.static Function<Table,Selection>
QuerySupport. not(Function<Table,Selection> deferredSelection)
Returns a selection for all records for which the given function isfalse
static Function<Table,Selection>
QuerySupport. notAll(Function<Table,Selection>... deferredSelections)
Returns a selection for all records that don't match all of the given functionsstatic Function<Table,Selection>
QuerySupport. notAny(Function<Table,Selection>... deferredSelections)
Returns a selection for all records that don't match any of the given functionsstatic Function<Table,Selection>
QuerySupport. notBoth(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that don't match both of the given functions.static Function<Table,Selection>
QuerySupport. or(Function<Table,Selection>... deferredSelections)
Returns a selection for all records that match any of the given functionsMethods in tech.tablesaw.api with parameters of type Selection Modifier and Type Method Description void
Table. copyRowsToTable(Selection rows, Table newTable)
Copies the rows specified by Selection into newTablestatic BooleanColumn
BooleanColumn. create(String name, Selection hits, int columnSize)
Returns a new Boolean column of the given size.Table
Table. dropWhere(Selection selection)
Returns a table EXCLUDING the rows contained in the given SelectionBooleanColumn
BooleanColumn. set(Selection rowSelection, boolean newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaBooleanColumn
BooleanColumn. set(Selection rowSelection, byte newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteria.DateColumn
DateColumn. set(Selection rowSelection, LocalDate newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaDateTimeColumn
DateTimeColumn. set(Selection rowSelection, LocalDateTime newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaInstantColumn
InstantColumn. set(Selection rowSelection, Instant newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaStringColumn
StringColumn. set(Selection rowSelection, String newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaTimeColumn
TimeColumn. set(Selection rowSelection, LocalTime newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriadefault Double
NumericColumn. summarize(Selection selection, NumericAggregateFunction function)
Summarizes the data in this column for all rows where the current value matches the selection criteriaBooleanColumn
BooleanColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
DateColumn
DateColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
DateTimeColumn
DateTimeColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
DoubleColumn
DoubleColumn. where(Selection selection)
Returns the subset of data in this column included in the givenSelection
InstantColumn
InstantColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
default NumericColumn<T>
NumericColumn. where(Selection selection)
Returns the subset of data in this column included in the givenSelection
StringColumn
StringColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
Table
Table. where(Selection selection)
Returns a table containing the rows contained in the given SelectionTimeColumn
TimeColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
Method parameters in tech.tablesaw.api with type arguments of type Selection Modifier and Type Method Description static Function<Table,Selection>
QuerySupport. both(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that match both of the given functionsTable
Table. dropWhere(Function<Table,Selection> selection)
Returns a new Table made by EXCLUDING any rows returned when the given function is applied to this tablestatic Function<Table,Selection>
QuerySupport. either(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that match either of the given functionsstatic Function<Table,Selection>
QuerySupport. neither(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that match neither of the given functions.static Function<Table,Selection>
QuerySupport. not(Function<Table,Selection> deferredSelection)
Returns a selection for all records for which the given function isfalse
static Function<Table,Selection>
QuerySupport. notBoth(Function<Table,Selection> sel1, Function<Table,Selection> sel2)
Returns a selection for all records that don't match both of the given functions.Table
Table. where(Function<Table,Selection> selection)
Returns a new Table made by applying the given function to this table -
Uses of Selection in tech.tablesaw.columns
Methods in tech.tablesaw.columns that return Selection Modifier and Type Method Description Selection
Column. isMissing()
Returns a selection containing an index for every missing value in this columnSelection
Column. isNotMissing()
Returns a selection containing an index for every non-missing value in this columnMethods in tech.tablesaw.columns with parameters of type Selection Modifier and Type Method Description C
AbstractColumn. set(Selection rowSelection, T newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaC
AbstractColumn. set(Selection condition, Column<T> other)
Updates this column where values matching the selection are replaced with the corresponding value from the given columndefault Column<T>
Column. set(Selection rowSelection, T newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriadefault Column<T>
Column. set(Selection condition, Column<T> other)
Updates this column where values matching the selection are replaced with the corresponding value from the given columnColumn<T>
Column. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
-
Uses of Selection in tech.tablesaw.columns.booleans
Methods in tech.tablesaw.columns.booleans that return Selection Modifier and Type Method Description Selection
BitSetBooleanData. asSelection()
Returns a selection matching all the true values in the dataSelection
BooleanData. asSelection()
Returns a selection matching all the true values in the dataSelection
BooleanMapUtils. asSelection()
Selection
BooleanFilters. isEqualTo(BooleanColumn other)
Selection
BitSetBooleanData. isFalse()
Returns a selection matching all the false values in the dataSelection
BooleanData. isFalse()
Returns a selection matching all the false values in the dataSelection
BooleanFilters. isFalse()
Selection
BitSetBooleanData. isMissing()
Returns a selection matching all the missing values in the dataSelection
BooleanData. isMissing()
Returns a selection matching all the missing values in the dataSelection
BooleanFilters. isMissing()
Selection
BooleanFilters. isNotMissing()
Selection
BitSetBooleanData. isTrue()
Returns a selection matching all the true values in the dataSelection
BooleanData. isTrue()
Returns a selection matching all the true values in the dataSelection
BooleanFilters. isTrue()
-
Uses of Selection in tech.tablesaw.columns.dates
Methods in tech.tablesaw.columns.dates that return Selection Modifier and Type Method Description default Selection
DateFilters. eval(BiPredicate<LocalDate,LocalDate> predicate, LocalDate valueToCompare)
default Selection
DateFilters. eval(IntPredicate predicate)
This version operates on predicates that treat the given IntPredicate as operating on a packed local time This is much more efficient that using a LocalTimePredicate, but requires that the developer understand the semantics of packedLocalTimesdefault Selection
DateFilters. eval(Predicate<LocalDate> predicate)
Returns a selection formed by applying the given predicatedefault Selection
DateFilters. eval(IntBiPredicate predicate, int value)
default Selection
DateFilters. eval(IntBiPredicate predicate, DateColumn otherColumn)
default Selection
DateFilters. isAfter(int value)
default Selection
DateFilters. isAfter(LocalDate value)
default Selection
DateFilters. isAfter(DateColumn column)
default Selection
DateFilters. isBefore(int value)
default Selection
DateFilters. isBefore(LocalDate value)
default Selection
DateFilters. isBefore(DateColumn column)
default Selection
DateFilters. isBetweenExcluding(int lowValue, int highValue)
default Selection
DateFilters. isBetweenExcluding(LocalDate lowValue, LocalDate highValue)
default Selection
DateFilters. isBetweenIncluding(int lowValue, int highValue)
default Selection
DateFilters. isBetweenIncluding(LocalDate lowValue, LocalDate highValue)
default Selection
DateFilters. isEqualTo(int packedDate)
default Selection
DateFilters. isEqualTo(LocalDate value)
default Selection
DateFilters. isEqualTo(DateColumn column)
Returns a bitmap flagging the records for which the value in this column is equal to the value in the given column Column-wise isEqualTo.default Selection
DateFilters. isFirstDayOfMonth()
default Selection
DateFilters. isFriday()
default Selection
DateFilters. isInApril()
default Selection
DateFilters. isInAugust()
default Selection
DateFilters. isInDecember()
default Selection
DateFilters. isInFebruary()
default Selection
DateFilters. isInJanuary()
default Selection
DateFilters. isInJuly()
default Selection
DateFilters. isInJune()
default Selection
DateFilters. isInMarch()
default Selection
DateFilters. isInMay()
default Selection
DateFilters. isInNovember()
default Selection
DateFilters. isInOctober()
default Selection
DateFilters. isInQ1()
default Selection
DateFilters. isInQ2()
default Selection
DateFilters. isInQ3()
default Selection
DateFilters. isInQ4()
default Selection
DateFilters. isInSeptember()
default Selection
DateFilters. isInYear(int year)
default Selection
DateFilters. isLastDayOfMonth()
default Selection
DateFilters. isMissing()
default Selection
DateFilters. isMonday()
default Selection
DateFilters. isNotEqualTo(int packedDate)
default Selection
DateFilters. isNotEqualTo(LocalDate value)
default Selection
DateFilters. isNotEqualTo(DateColumn column)
default Selection
DateFilters. isNotMissing()
default Selection
DateFilters. isOnOrAfter(LocalDate value)
default Selection
DateFilters. isOnOrAfter(DateColumn column)
default Selection
DateFilters. isOnOrBefore(LocalDate value)
default Selection
DateFilters. isOnOrBefore(DateColumn column)
default Selection
DateFilters. isSaturday()
default Selection
DateFilters. isSunday()
default Selection
DateFilters. isThursday()
default Selection
DateFilters. isTuesday()
default Selection
DateFilters. isWednesday()
Methods in tech.tablesaw.columns.dates with parameters of type Selection Modifier and Type Method Description DateColumn
DateFilters. where(Selection selection)
-
Uses of Selection in tech.tablesaw.columns.datetimes
Methods in tech.tablesaw.columns.datetimes that return Selection Modifier and Type Method Description default Selection
DateTimeFilters. isAfter(LocalDate value)
default Selection
DateTimeFilters. isAfter(LocalDateTime value)
default Selection
DateTimeFilters. isAfter(DateTimeColumn column)
default Selection
DateTimeFilters. isAfterNoon()
default Selection
DateTimeFilters. isBefore(LocalDate value)
default Selection
DateTimeFilters. isBefore(LocalDateTime value)
default Selection
DateTimeFilters. isBefore(DateTimeColumn column)
default Selection
DateTimeFilters. isBeforeNoon()
default Selection
DateTimeFilters. isBetweenExcluding(LocalDateTime lowValue, LocalDateTime highValue)
default Selection
DateTimeFilters. isBetweenIncluding(LocalDateTime lowValue, LocalDateTime highValue)
default Selection
DateTimeFilters. isEqualTo(LocalDateTime value)
default Selection
DateTimeFilters. isEqualTo(DateTimeColumn column)
default Selection
DateTimeFilters. isFirstDayOfMonth()
default Selection
DateTimeFilters. isFriday()
default Selection
DateTimeFilters. isInApril()
default Selection
DateTimeFilters. isInAugust()
default Selection
DateTimeFilters. isInDecember()
default Selection
DateTimeFilters. isInFebruary()
default Selection
DateTimeFilters. isInJanuary()
default Selection
DateTimeFilters. isInJuly()
default Selection
DateTimeFilters. isInJune()
default Selection
DateTimeFilters. isInMarch()
default Selection
DateTimeFilters. isInMay()
default Selection
DateTimeFilters. isInNovember()
default Selection
DateTimeFilters. isInOctober()
default Selection
DateTimeFilters. isInQ1()
default Selection
DateTimeFilters. isInQ2()
default Selection
DateTimeFilters. isInQ3()
default Selection
DateTimeFilters. isInQ4()
default Selection
DateTimeFilters. isInSeptember()
default Selection
DateTimeFilters. isInYear(int year)
default Selection
DateTimeFilters. isLastDayOfMonth()
default Selection
DateTimeFilters. isMidnight()
default Selection
DateTimeFilters. isMissing()
default Selection
DateTimeFilters. isMonday()
default Selection
DateTimeFilters. isNoon()
default Selection
DateTimeFilters. isNotEqualTo(LocalDateTime value)
default Selection
DateTimeFilters. isNotEqualTo(DateTimeColumn column)
default Selection
DateTimeFilters. isNotMissing()
default Selection
DateTimeFilters. isOnOrAfter(LocalDate value)
default Selection
DateTimeFilters. isOnOrAfter(LocalDateTime value)
default Selection
DateTimeFilters. isOnOrAfter(DateTimeColumn column)
default Selection
DateTimeFilters. isOnOrBefore(LocalDate value)
default Selection
DateTimeFilters. isOnOrBefore(LocalDateTime value)
default Selection
DateTimeFilters. isOnOrBefore(DateTimeColumn column)
default Selection
DateTimeFilters. isSaturday()
default Selection
DateTimeFilters. isSunday()
default Selection
DateTimeFilters. isThursday()
default Selection
DateTimeFilters. isTuesday()
default Selection
DateTimeFilters. isWednesday()
-
Uses of Selection in tech.tablesaw.columns.numbers
Methods in tech.tablesaw.columns.numbers that return Selection Modifier and Type Method Description Selection
NumberFilters. eval(BiPredicate<Number,Number> predicate, Number value)
Selection
NumberFilters. eval(DoublePredicate predicate)
default Selection
NumberFilters. isBetweenExclusive(double start, double end)
default Selection
NumberFilters. isBetweenInclusive(double start, double end)
default Selection
NumberFilters. isCloseTo(Number target, Number margin)
default Selection
NumberFilters. isEqualTo(double d)
default Selection
NumberFilters. isEqualTo(NumericColumn<?> d)
default Selection
NumberFilters. isGreaterThan(double f)
default Selection
NumberFilters. isGreaterThan(NumericColumn<?> d)
default Selection
NumberFilters. isGreaterThanOrEqualTo(double f)
default Selection
NumberFilters. isGreaterThanOrEqualTo(NumericColumn<?> d)
Selection
NumberFilters. isIn(Collection<Number> numbers)
default Selection
NumberFilters. isLessThan(double f)
default Selection
NumberFilters. isLessThan(NumericColumn<?> d)
default Selection
NumberFilters. isLessThanOrEqualTo(double f)
default Selection
NumberFilters. isLessThanOrEqualTo(NumericColumn<?> d)
Selection
NumberFilters. isMissing()
default Selection
NumberFilters. isNegative()
default Selection
NumberFilters. isNonNegative()
default Selection
NumberFilters. isNotEqualTo(double d)
default Selection
NumberFilters. isNotEqualTo(NumericColumn<?> d)
Selection
NumberFilters. isNotIn(Collection<Number> numbers)
Selection
NumberFilters. isNotMissing()
default Selection
NumberFilters. isPositive()
default Selection
NumberFilters. isZero()
-
Uses of Selection in tech.tablesaw.columns.strings
Methods in tech.tablesaw.columns.strings that return Selection Modifier and Type Method Description default Selection
StringFilters. containsString(String string)
default Selection
StringFilters. endsWith(String string)
default Selection
StringFilters. equalsIgnoreCase(String string)
default Selection
StringFilters. equalsIgnoreCase(Column<String> other)
default Selection
StringFilters. eval(BiPredicate<String,Integer> predicate, Integer value)
default Selection
StringFilters. eval(BiPredicate<String,String> predicate, String value)
default Selection
StringFilters. eval(BiPredicate<String,String> predicate, Column<String> otherColumn)
default Selection
StringFilters. eval(Predicate<String> predicate)
default Selection
StringFilters. isAlpha()
default Selection
StringFilters. isAlphaNumeric()
default Selection
StringFilters. isEmptyString()
Selection
ByteDictionaryMap. isEqualTo(String string)
Selection
DictionaryMap. isEqualTo(String string)
Selection
IntDictionaryMap. isEqualTo(String string)
Selection
NullDictionaryMap. isEqualTo(String string)
Selection
ShortDictionaryMap. isEqualTo(String string)
default Selection
StringFilters. isEqualTo(String string)
default Selection
StringFilters. isEqualTo(Column<String> other)
default Selection
DictionaryMap. isIn(String... strings)
default Selection
DictionaryMap. isIn(Collection<String> strings)
Selection
NullDictionaryMap. isIn(String... strings)
Selection
NullDictionaryMap. isIn(Collection<String> strings)
Selection
StringFilters. isIn(String... strings)
Selection
StringFilters. isIn(Collection<String> strings)
default Selection
StringFilters. isIn(Column<String> strings)
Selection
TextualStringData. isIn(String... strings)
Selection
TextualStringData. isIn(Collection<String> strings)
default Selection
StringFilters. isLongerThan(int stringLength)
default Selection
StringFilters. isLowerCase()
default Selection
StringFilters. isMissing()
default Selection
DictionaryMap. isNotEqualTo(String string)
default Selection
StringFilters. isNotEqualTo(String string)
default Selection
StringFilters. isNotEqualTo(Column<String> other)
default Selection
DictionaryMap. isNotIn(String... strings)
default Selection
DictionaryMap. isNotIn(Collection<String> strings)
Selection
NullDictionaryMap. isNotIn(String... strings)
Selection
NullDictionaryMap. isNotIn(Collection<String> strings)
Selection
StringFilters. isNotIn(String... strings)
Selection
StringFilters. isNotIn(Collection<String> strings)
default Selection
StringFilters. isNotIn(Column<String> strings)
Selection
TextualStringData. isNotIn(String... strings)
Selection
TextualStringData. isNotIn(Collection<String> strings)
default Selection
StringFilters. isNotMissing()
default Selection
StringFilters. isNumeric()
default Selection
StringFilters. isShorterThan(int stringLength)
default Selection
StringFilters. isUpperCase()
default Selection
StringFilters. lengthEquals(int stringLength)
default Selection
StringFilters. matchesRegex(String string)
Selection
ByteDictionaryMap. selectIsIn(String... strings)
Selection
ByteDictionaryMap. selectIsIn(Collection<String> strings)
Selection
DictionaryMap. selectIsIn(String... strings)
Selection
DictionaryMap. selectIsIn(Collection<String> strings)
Selection
IntDictionaryMap. selectIsIn(String... strings)
Selection
IntDictionaryMap. selectIsIn(Collection<String> strings)
Selection
NullDictionaryMap. selectIsIn(String... strings)
Selection
NullDictionaryMap. selectIsIn(Collection<String> strings)
Selection
ShortDictionaryMap. selectIsIn(String... strings)
Selection
ShortDictionaryMap. selectIsIn(Collection<String> strings)
default Selection
StringFilters. startsWith(String string)
default Selection
StringFilters. startsWith(Column<String> other)
Methods in tech.tablesaw.columns.strings with parameters of type Selection Modifier and Type Method Description StringData
StringData. set(Selection rowSelection, String newValue)
TextualStringData
TextualStringData. set(Selection rowSelection, String newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaStringData
StringData. where(Selection selection)
TextualStringData
TextualStringData. where(Selection selection)
-
Uses of Selection in tech.tablesaw.columns.temporal
Methods in tech.tablesaw.columns.temporal that return Selection Modifier and Type Method Description default Selection
TemporalFilters. eval(BiPredicate<T,T> predicate, T valueToCompare)
default Selection
TemporalFilters. eval(LongPredicate predicate)
default Selection
TemporalFilters. eval(Predicate<T> predicate)
default Selection
TemporalFilters. eval(LongBiPredicate predicate, long value)
default Selection
TemporalFilters. eval(LongBiPredicate predicate, DateTimeColumn otherColumn)
default Selection
TemporalFilters. isAfter(Instant value)
default Selection
TemporalFilters. isBefore(Instant value)
default Selection
TemporalFilters. isBetweenExcluding(long lowPackedDateTime, long highPackedDateTime)
default Selection
TemporalFilters. isBetweenIncluding(long lowPackedDateTime, long highPackedDateTime)
default Selection
TemporalFilters. isEqualTo(Instant value)
Selection
TemporalFilters. isMissing()
Selection
TemporalFilters. isNotMissing()
-
Uses of Selection in tech.tablesaw.columns.times
Methods in tech.tablesaw.columns.times that return Selection Modifier and Type Method Description default Selection
TimeFilters. eval(BiPredicate<LocalTime,LocalTime> predicate, LocalTime valueToCompare)
default Selection
TimeFilters. eval(IntPredicate predicate)
default Selection
TimeFilters. eval(Predicate<LocalTime> predicate)
default Selection
TimeFilters. eval(IntBiPredicate predicate, int value)
default Selection
TimeFilters. eval(IntBiPredicate predicate, TimeColumn otherColumn)
default Selection
TimeFilters. isAfter(int packedTime)
default Selection
TimeFilters. isAfter(LocalTime time)
default Selection
TimeFilters. isAfter(TimeColumn column)
Returns a bitmap flagging the records for which the value in this column is after the value in the given column Columnwise isEqualTo.default Selection
TimeFilters. isAfterNoon()
Applies a function to every value in this column that returns true if the time is in the PM or "after noon".default Selection
TimeFilters. isBefore(int packedTime)
default Selection
TimeFilters. isBefore(LocalTime time)
default Selection
TimeFilters. isBefore(TimeColumn column)
Returns a bitmap flagging the records for which the value in this column is before the value in the given column Columnwise isEqualTo.default Selection
TimeFilters. isBeforeNoon()
Applies a function to every value in this column that returns true if the time is in the AM or "before noon".default Selection
TimeFilters. isEqualTo(LocalTime value)
default Selection
TimeFilters. isEqualTo(TimeColumn column)
Returns a bitmap flagging the records for which the value in this column is equal to the value in the given column Columnwise isEqualTo.default Selection
TimeFilters. isMidnight()
default Selection
TimeFilters. isNoon()
default Selection
TimeFilters. isNotEqualTo(LocalTime value)
default Selection
TimeFilters. isNotEqualTo(TimeColumn column)
Returns a bitmap flagging the records for which the value in this column is NOT equal to the value in the given column Columnwise isEqualTo.default Selection
TimeFilters. isOnOrAfter(int packed)
default Selection
TimeFilters. isOnOrAfter(LocalTime time)
default Selection
TimeFilters. isOnOrBefore(int packed)
default Selection
TimeFilters. isOnOrBefore(LocalTime value)
Methods in tech.tablesaw.columns.times with parameters of type Selection Modifier and Type Method Description TimeColumn
TimeFilters. where(Selection selection)
-
Uses of Selection in tech.tablesaw.filtering
Methods in tech.tablesaw.filtering that return Selection Modifier and Type Method Description Selection
And. apply(Table table)
Selection
Not. apply(Table table)
Selection
Or. apply(Table table)
Constructor parameters in tech.tablesaw.filtering with type arguments of type Selection Constructor Description Not(Function<Table,Selection> argument)
-
Uses of Selection in tech.tablesaw.index
Methods in tech.tablesaw.index that return Selection Modifier and Type Method Description Selection
ByteIndex. atLeast(byte value)
Returns aSelection
of all values at least as large as the given valueSelection
DoubleIndex. atLeast(double value)
Returns aSelection
of all values at least as large as the given valueSelection
FloatIndex. atLeast(float value)
Returns aSelection
of all values at least as large as the given valueSelection
IntIndex. atLeast(int value)
Returns aSelection
of all values at least as large as the given valueSelection
IntIndex. atLeast(LocalDate value)
Returns aSelection
of all values at least as large as the given valueSelection
IntIndex. atLeast(LocalTime value)
Returns aSelection
of all values at least as large as the given valueSelection
LongIndex. atLeast(long value)
Returns aSelection
of all values at least as large as the given valueSelection
LongIndex. atLeast(Instant value)
Returns aSelection
of all values at least as large as the given valueSelection
LongIndex. atLeast(LocalDateTime value)
Returns aSelection
of all values at least as large as the given valueSelection
ShortIndex. atLeast(short value)
Returns aSelection
of all values at least as large as the given valueSelection
ByteIndex. atMost(byte value)
Returns aSelection
of all values at most as large as the given valueSelection
DoubleIndex. atMost(double value)
Returns aSelection
of all values at most as large as the given valueSelection
FloatIndex. atMost(float value)
Returns aSelection
of all values at most as large as the given valueSelection
IntIndex. atMost(int value)
Returns aSelection
of all values at most as large as the given valueSelection
IntIndex. atMost(LocalDate value)
Returns aSelection
of all values at most as large as the given valueSelection
IntIndex. atMost(LocalTime value)
Returns aSelection
of all values at most as large as the given valueSelection
LongIndex. atMost(long value)
Returns aSelection
of all values at most as large as the given valueSelection
LongIndex. atMost(Instant value)
Returns aSelection
of all values at most as large as the given valueSelection
LongIndex. atMost(LocalDateTime value)
Returns aSelection
of all values at most as large as the given valueSelection
ShortIndex. atMost(short value)
Returns aSelection
of all values at most as large as the given valueSelection
ByteIndex. get(byte value)
Returns a bitmap containing row numbers of all cells matching the given intSelection
DoubleIndex. get(double value)
Returns a bitmap containing row numbers of all cells matching the given intSelection
FloatIndex. get(float value)
Returns a bitmap containing row numbers of all cells matching the given intSelection
IntIndex. get(int value)
Returns a bitmapSelection
containing row numbers of all cells matching the given intSelection
IntIndex. get(LocalDate value)
Returns theSelection
of all values exactly equal to the given valueSelection
IntIndex. get(LocalTime value)
Returns theSelection
of all values exactly equal to the given valueSelection
LongIndex. get(long value)
Returns a bitmap containing row numbers of all cells matching the given longSelection
LongIndex. get(Instant value)
Returns theSelection
of all values exactly equal to the given valueSelection
LongIndex. get(LocalDateTime value)
Returns theSelection
of all values exactly equal to the given valueSelection
ShortIndex. get(short value)
Returns a bitmap containing row numbers of all cells matching the given intSelection
StringIndex. get(String value)
Returns a bitmapSelection
containing row numbers of all cells matching the given intSelection
ByteIndex. greaterThan(byte value)
Returns aSelection
of all values greater than the given valueSelection
DoubleIndex. greaterThan(double value)
Returns aSelection
of all values greater than the given valueSelection
FloatIndex. greaterThan(float value)
Returns aSelection
of all values greater than the given valueSelection
IntIndex. greaterThan(int value)
Returns aSelection
of all values greater than the given valueSelection
IntIndex. greaterThan(LocalDate value)
Returns aSelection
of all values greater than the given valueSelection
IntIndex. greaterThan(LocalTime value)
Returns aSelection
of all values greater than the given valueSelection
LongIndex. greaterThan(long value)
Returns aSelection
of all values greater than the given valueSelection
LongIndex. greaterThan(Instant value)
Returns aSelection
of all values greater than the given valueSelection
LongIndex. greaterThan(LocalDateTime value)
Returns aSelection
of all values greater than the given valueSelection
ShortIndex. greaterThan(short value)
Returns aSelection
of all values greater than the given valueSelection
ByteIndex. lessThan(byte value)
Returns aSelection
of all values less than the given valueSelection
DoubleIndex. lessThan(double value)
Returns aSelection
of all values less than the given valueSelection
FloatIndex. lessThan(float value)
Returns aSelection
of all values less than the given valueSelection
IntIndex. lessThan(int value)
Returns aSelection
of all values less than the given valueSelection
IntIndex. lessThan(LocalDate value)
Returns aSelection
of all values less than the given valueSelection
IntIndex. lessThan(LocalTime value)
Returns aSelection
of all values less than the given valueSelection
LongIndex. lessThan(long value)
Returns aSelection
of all values less than the given valueSelection
LongIndex. lessThan(Instant value)
Returns aSelection
of all values less than the given valueSelection
LongIndex. lessThan(LocalDateTime value)
Returns aSelection
of all values less than the given valueSelection
ShortIndex. lessThan(short value)
Returns aSelection
of all values less than the given value -
Uses of Selection in tech.tablesaw.selection
Classes in tech.tablesaw.selection that implement Selection Modifier and Type Class Description class
BitmapBackedSelection
A Selection implemented using bitmapsclass
BitSetBackedSelection
A Selection implemented using java.util.BitSetMethods in tech.tablesaw.selection that return Selection Modifier and Type Method Description Selection
BitmapBackedSelection. add(int... ints)
Adds the given integers to the Selection if it is not already present, and does nothing otherwiseSelection
Selection. add(int... ints)
Adds the given integers to the Selection if it is not already present, and does nothing otherwiseSelection
BitmapBackedSelection. addRange(int start, int end)
Adds to the current bitmap all integers in [rangeStart,rangeEnd)Selection
BitSetBackedSelection. addRange(int start, int end)
Adds to the current bitmap all integers in [rangeStart,rangeEnd)Selection
Selection. addRange(int start, int end)
Adds to the current bitmap all integers in [rangeStart,rangeEnd)Selection
BitmapBackedSelection. and(Selection otherSelection)
Intersects the receiver andotherSelection
, updating the receiverSelection
BitSetBackedSelection. and(Selection otherSelection)
Intersects the receiver andotherSelection
, updating the receiverSelection
Selection. and(Selection otherSelection)
Returns this Selection object after its data has been intersected withotherSelection
Selection
BitmapBackedSelection. andNot(Selection otherSelection)
Implements the set difference operation between the receiver andotherSelection
, after updating the receiverSelection
BitSetBackedSelection. andNot(Selection otherSelection)
Implements the set difference operation between the receiver andotherSelection
, after updating the receiverSelection
Selection. andNot(Selection otherSelection)
Implements the set difference operation between the receiver andotherSelection
, after updating the receiverSelection
BitmapBackedSelection. clear()
Returns this selection with all its values clearedSelection
BitSetBackedSelection. clear()
Returns this selection with all its values clearedSelection
Selection. clear()
Returns this selection with all its values clearedSelection
BitmapBackedSelection. flip(int rangeStart, int rangeEnd)
Returns a selection with the bits from this selection flipped over the given rangeSelection
Selection. flip(int rangeStart, int rangeEnd)
Returns a selection with the bits from this selection flipped over the given rangeprotected static Selection
BitmapBackedSelection. fromBitmap(org.roaringbitmap.RoaringBitmap bitmap)
Returns a Selection containing all indexes in the arraystatic Selection
Selection. fromBitmap(org.roaringbitmap.RoaringBitmap bitmap)
Selection
BitmapBackedSelection. or(Selection otherSelection)
Implements the union of the receiver andotherSelection
, updating the receiverSelection
BitSetBackedSelection. or(Selection otherSelection)
Implements the union of the receiver andotherSelection
, updating the receiverSelection
Selection. or(Selection otherSelection)
Returns this Selection object with its data replaced by the union of its starting data andotherSelection
Selection
BitmapBackedSelection. removeRange(long start, long end)
Removes from the current bitmap from all integers in [rangeStart,rangeEnd)Selection
Selection. removeRange(long start, long end)
Removes from the current bitmap from all integers in [rangeStart,rangeEnd)protected static Selection
BitmapBackedSelection. selectNRowsAtRandom(int n, int max)
Returns an randomly generated selection of size N where Max is the largest possible valuestatic Selection
Selection. selectNRowsAtRandom(int n, int max)
Returns an randomly generated selection of size N where Max is the largest possible valueprotected static Selection
BitmapBackedSelection. with(int... rows)
Returns a Selection containing all indexes in the arraystatic Selection
Selection. with(int... rows)
Returns a Selection containing all indexes in the arrayprotected static Selection
BitmapBackedSelection. withoutRange(int totalRangeStart, int totalRangeEnd, int excludedRangeStart, int excludedRangeEnd)
Returns a Selection containing all values from totalRangeStart to totalRangeEnd, except for those in the range from excludedRangeStart to excludedRangeEnd.protected static Selection
BitSetBackedSelection. withoutRange(int totalRangeStart, int totalRangeEnd, int excludedRangeStart, int excludedRangeEnd)
Returns a Selection containing all values from totalRangeStart to totalRangeEnd, except for those in the range from excludedRangeStart to excludedRangeEnd.static Selection
Selection. withoutRange(int totalRangeStart, int totalRangeEnd, int excludedRangeStart, int excludedRangeEnd)
Returns a Selection containing all values from totalRangeStart to totalRangeEnd, except for those in the range from excludedRangeStart to excludedRangeEnd.protected static Selection
BitmapBackedSelection. withRange(int start, int end)
Returns a Selection containing all indexes in the range start (inclusive) to end (exclusive),static Selection
Selection. withRange(int start, int end)
Returns a Selection containing all indexes in the range start (inclusive) to end (exclusive),Methods in tech.tablesaw.selection with parameters of type Selection Modifier and Type Method Description Selection
BitmapBackedSelection. and(Selection otherSelection)
Intersects the receiver andotherSelection
, updating the receiverSelection
BitSetBackedSelection. and(Selection otherSelection)
Intersects the receiver andotherSelection
, updating the receiverSelection
Selection. and(Selection otherSelection)
Returns this Selection object after its data has been intersected withotherSelection
Selection
BitmapBackedSelection. andNot(Selection otherSelection)
Implements the set difference operation between the receiver andotherSelection
, after updating the receiverSelection
BitSetBackedSelection. andNot(Selection otherSelection)
Implements the set difference operation between the receiver andotherSelection
, after updating the receiverSelection
Selection. andNot(Selection otherSelection)
Implements the set difference operation between the receiver andotherSelection
, after updating the receiverSelection
BitmapBackedSelection. or(Selection otherSelection)
Implements the union of the receiver andotherSelection
, updating the receiverSelection
BitSetBackedSelection. or(Selection otherSelection)
Implements the union of the receiver andotherSelection
, updating the receiverSelection
Selection. or(Selection otherSelection)
Returns this Selection object with its data replaced by the union of its starting data andotherSelection
-
Uses of Selection in tech.tablesaw.table
Constructors in tech.tablesaw.table with parameters of type Selection Constructor Description TableSlice(Table table, Selection rowSelection)
Returns a new View constructed from the given table, containing only the rows represented by the bitmap
-