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 TableSummarizer. 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 SelectionBooleanColumn. asSelection()SelectionBooleanColumn. 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 argumentSelectionBooleanColumn. eval(Predicate<Boolean> predicate)Returns a Selection of the elements that return true when the predicate is evaluatedSelectionBooleanColumn. eval(BytePredicate predicate)Returns a Selection of the elements that return true when the predicate is evaluateddefault SelectionNumericColumn. eval(BiPredicate<Number,Number> predicate, Number number)default SelectionNumericColumn. eval(DoublePredicate predicate)SelectionBooleanColumn. isEqualTo(BooleanColumn other)SelectionStringColumn. isEqualTo(String string)SelectionBooleanColumn. isFalse()SelectionDoubleColumn. isIn(double... doubles)SelectionFloatColumn. isIn(float... numbers)SelectionIntColumn. isIn(int... numbers)SelectionLongColumn. isIn(long... numbers)default SelectionNumericColumn. isIn(Collection<Number> numbers)SelectionShortColumn. isIn(int... numbers)SelectionStringColumn. isIn(String... strings)SelectionStringColumn. isIn(Collection<String> strings)SelectionBooleanColumn. isMissing()Returns a selection containing an index for every missing value in this columnSelectionInstantColumn. isMissing()Returns a selection containing an index for every missing value in this columndefault SelectionNumericColumn. isMissing()Returns a selection containing an index for every missing value in this columnSelectionStringColumn. isMissing()SelectionTimeColumn. isMissing()Returns a selection containing an index for every missing value in this columnSelectionStringColumn. isNotEqualTo(String string)SelectionDoubleColumn. isNotIn(double... doubles)SelectionFloatColumn. isNotIn(float... numbers)SelectionIntColumn. isNotIn(int... numbers)SelectionIntColumn. isNotIn(IntColumn ints)SelectionLongColumn. isNotIn(long... numbers)default SelectionNumericColumn. isNotIn(Collection<Number> numbers)SelectionShortColumn. isNotIn(int... numbers)SelectionStringColumn. isNotIn(String... strings)SelectionStringColumn. isNotIn(Collection<String> strings)SelectionBooleanColumn. isNotMissing()Returns a selection containing an index for every non-missing value in this columnSelectionInstantColumn. isNotMissing()Returns a selection containing an index for every non-missing value in this columndefault SelectionNumericColumn. isNotMissing()Returns a selection containing an index for every non-missing value in this columnSelectionStringColumn. isNotMissing()SelectionTimeColumn. isNotMissing()Returns a selection containing an index for every non-missing value in this columnSelectionBooleanColumn. 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 isfalsestatic 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 voidTable. copyRowsToTable(Selection rows, Table newTable)Copies the rows specified by Selection into newTablestatic BooleanColumnBooleanColumn. create(String name, Selection hits, int columnSize)Returns a new Boolean column of the given size.TableTable. dropWhere(Selection selection)Returns a table EXCLUDING the rows contained in the given SelectionBooleanColumnBooleanColumn. set(Selection rowSelection, boolean newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaBooleanColumnBooleanColumn. 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.DateColumnDateColumn. set(Selection rowSelection, LocalDate newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaDateTimeColumnDateTimeColumn. set(Selection rowSelection, LocalDateTime newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaInstantColumnInstantColumn. set(Selection rowSelection, Instant newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaStringColumnStringColumn. set(Selection rowSelection, String newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaTimeColumnTimeColumn. 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 DoubleNumericColumn. summarize(Selection selection, NumericAggregateFunction function)Summarizes the data in this column for all rows where the current value matches the selection criteriaBooleanColumnBooleanColumn. where(Selection selection)Returns a new column containing the subset referenced by theSelectionDateColumnDateColumn. where(Selection selection)Returns a new column containing the subset referenced by theSelectionDateTimeColumnDateTimeColumn. where(Selection selection)Returns a new column containing the subset referenced by theSelectionDoubleColumnDoubleColumn. where(Selection selection)Returns the subset of data in this column included in the givenSelectionInstantColumnInstantColumn. where(Selection selection)Returns a new column containing the subset referenced by theSelectiondefault NumericColumn<T>NumericColumn. where(Selection selection)Returns the subset of data in this column included in the givenSelectionStringColumnStringColumn. where(Selection selection)Returns a new column containing the subset referenced by theSelectionTableTable. where(Selection selection)Returns a table containing the rows contained in the given SelectionTimeColumnTimeColumn. where(Selection selection)Returns a new column containing the subset referenced by theSelectionMethod 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 functionsTableTable. 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 isfalsestatic 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.TableTable. 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 SelectionColumn. isMissing()Returns a selection containing an index for every missing value in this columnSelectionColumn. 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 CAbstractColumn. set(Selection rowSelection, T newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaCAbstractColumn. 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 SelectionBitSetBooleanData. asSelection()Returns a selection matching all the true values in the dataSelectionBooleanData. asSelection()Returns a selection matching all the true values in the dataSelectionBooleanMapUtils. asSelection()SelectionBooleanFilters. isEqualTo(BooleanColumn other)SelectionBitSetBooleanData. isFalse()Returns a selection matching all the false values in the dataSelectionBooleanData. isFalse()Returns a selection matching all the false values in the dataSelectionBooleanFilters. isFalse()SelectionBitSetBooleanData. isMissing()Returns a selection matching all the missing values in the dataSelectionBooleanData. isMissing()Returns a selection matching all the missing values in the dataSelectionBooleanFilters. isMissing()SelectionBooleanFilters. isNotMissing()SelectionBitSetBooleanData. isTrue()Returns a selection matching all the true values in the dataSelectionBooleanData. isTrue()Returns a selection matching all the true values in the dataSelectionBooleanFilters. isTrue() -
Uses of Selection in tech.tablesaw.columns.dates
Methods in tech.tablesaw.columns.dates that return Selection Modifier and Type Method Description default SelectionDateFilters. eval(BiPredicate<LocalDate,LocalDate> predicate, LocalDate valueToCompare)default SelectionDateFilters. 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 SelectionDateFilters. eval(Predicate<LocalDate> predicate)Returns a selection formed by applying the given predicatedefault SelectionDateFilters. eval(IntBiPredicate predicate, int value)default SelectionDateFilters. eval(IntBiPredicate predicate, DateColumn otherColumn)default SelectionDateFilters. isAfter(int value)default SelectionDateFilters. isAfter(LocalDate value)default SelectionDateFilters. isAfter(DateColumn column)default SelectionDateFilters. isBefore(int value)default SelectionDateFilters. isBefore(LocalDate value)default SelectionDateFilters. isBefore(DateColumn column)default SelectionDateFilters. isBetweenExcluding(int lowValue, int highValue)default SelectionDateFilters. isBetweenExcluding(LocalDate lowValue, LocalDate highValue)default SelectionDateFilters. isBetweenIncluding(int lowValue, int highValue)default SelectionDateFilters. isBetweenIncluding(LocalDate lowValue, LocalDate highValue)default SelectionDateFilters. isEqualTo(int packedDate)default SelectionDateFilters. isEqualTo(LocalDate value)default SelectionDateFilters. 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 SelectionDateFilters. isFirstDayOfMonth()default SelectionDateFilters. isFriday()default SelectionDateFilters. isInApril()default SelectionDateFilters. isInAugust()default SelectionDateFilters. isInDecember()default SelectionDateFilters. isInFebruary()default SelectionDateFilters. isInJanuary()default SelectionDateFilters. isInJuly()default SelectionDateFilters. isInJune()default SelectionDateFilters. isInMarch()default SelectionDateFilters. isInMay()default SelectionDateFilters. isInNovember()default SelectionDateFilters. isInOctober()default SelectionDateFilters. isInQ1()default SelectionDateFilters. isInQ2()default SelectionDateFilters. isInQ3()default SelectionDateFilters. isInQ4()default SelectionDateFilters. isInSeptember()default SelectionDateFilters. isInYear(int year)default SelectionDateFilters. isLastDayOfMonth()default SelectionDateFilters. isMissing()default SelectionDateFilters. isMonday()default SelectionDateFilters. isNotEqualTo(int packedDate)default SelectionDateFilters. isNotEqualTo(LocalDate value)default SelectionDateFilters. isNotEqualTo(DateColumn column)default SelectionDateFilters. isNotMissing()default SelectionDateFilters. isOnOrAfter(LocalDate value)default SelectionDateFilters. isOnOrAfter(DateColumn column)default SelectionDateFilters. isOnOrBefore(LocalDate value)default SelectionDateFilters. isOnOrBefore(DateColumn column)default SelectionDateFilters. isSaturday()default SelectionDateFilters. isSunday()default SelectionDateFilters. isThursday()default SelectionDateFilters. isTuesday()default SelectionDateFilters. isWednesday()Methods in tech.tablesaw.columns.dates with parameters of type Selection Modifier and Type Method Description DateColumnDateFilters. 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 SelectionDateTimeFilters. isAfter(LocalDate value)default SelectionDateTimeFilters. isAfter(LocalDateTime value)default SelectionDateTimeFilters. isAfter(DateTimeColumn column)default SelectionDateTimeFilters. isAfterNoon()default SelectionDateTimeFilters. isBefore(LocalDate value)default SelectionDateTimeFilters. isBefore(LocalDateTime value)default SelectionDateTimeFilters. isBefore(DateTimeColumn column)default SelectionDateTimeFilters. isBeforeNoon()default SelectionDateTimeFilters. isBetweenExcluding(LocalDateTime lowValue, LocalDateTime highValue)default SelectionDateTimeFilters. isBetweenIncluding(LocalDateTime lowValue, LocalDateTime highValue)default SelectionDateTimeFilters. isEqualTo(LocalDateTime value)default SelectionDateTimeFilters. isEqualTo(DateTimeColumn column)default SelectionDateTimeFilters. isFirstDayOfMonth()default SelectionDateTimeFilters. isFriday()default SelectionDateTimeFilters. isInApril()default SelectionDateTimeFilters. isInAugust()default SelectionDateTimeFilters. isInDecember()default SelectionDateTimeFilters. isInFebruary()default SelectionDateTimeFilters. isInJanuary()default SelectionDateTimeFilters. isInJuly()default SelectionDateTimeFilters. isInJune()default SelectionDateTimeFilters. isInMarch()default SelectionDateTimeFilters. isInMay()default SelectionDateTimeFilters. isInNovember()default SelectionDateTimeFilters. isInOctober()default SelectionDateTimeFilters. isInQ1()default SelectionDateTimeFilters. isInQ2()default SelectionDateTimeFilters. isInQ3()default SelectionDateTimeFilters. isInQ4()default SelectionDateTimeFilters. isInSeptember()default SelectionDateTimeFilters. isInYear(int year)default SelectionDateTimeFilters. isLastDayOfMonth()default SelectionDateTimeFilters. isMidnight()default SelectionDateTimeFilters. isMissing()default SelectionDateTimeFilters. isMonday()default SelectionDateTimeFilters. isNoon()default SelectionDateTimeFilters. isNotEqualTo(LocalDateTime value)default SelectionDateTimeFilters. isNotEqualTo(DateTimeColumn column)default SelectionDateTimeFilters. isNotMissing()default SelectionDateTimeFilters. isOnOrAfter(LocalDate value)default SelectionDateTimeFilters. isOnOrAfter(LocalDateTime value)default SelectionDateTimeFilters. isOnOrAfter(DateTimeColumn column)default SelectionDateTimeFilters. isOnOrBefore(LocalDate value)default SelectionDateTimeFilters. isOnOrBefore(LocalDateTime value)default SelectionDateTimeFilters. isOnOrBefore(DateTimeColumn column)default SelectionDateTimeFilters. isSaturday()default SelectionDateTimeFilters. isSunday()default SelectionDateTimeFilters. isThursday()default SelectionDateTimeFilters. isTuesday()default SelectionDateTimeFilters. isWednesday() -
Uses of Selection in tech.tablesaw.columns.numbers
Methods in tech.tablesaw.columns.numbers that return Selection Modifier and Type Method Description SelectionNumberFilters. eval(BiPredicate<Number,Number> predicate, Number value)SelectionNumberFilters. eval(DoublePredicate predicate)default SelectionNumberFilters. isBetweenExclusive(double start, double end)default SelectionNumberFilters. isBetweenInclusive(double start, double end)default SelectionNumberFilters. isCloseTo(Number target, Number margin)default SelectionNumberFilters. isEqualTo(double d)default SelectionNumberFilters. isEqualTo(NumericColumn<?> d)default SelectionNumberFilters. isGreaterThan(double f)default SelectionNumberFilters. isGreaterThan(NumericColumn<?> d)default SelectionNumberFilters. isGreaterThanOrEqualTo(double f)default SelectionNumberFilters. isGreaterThanOrEqualTo(NumericColumn<?> d)SelectionNumberFilters. isIn(Collection<Number> numbers)default SelectionNumberFilters. isLessThan(double f)default SelectionNumberFilters. isLessThan(NumericColumn<?> d)default SelectionNumberFilters. isLessThanOrEqualTo(double f)default SelectionNumberFilters. isLessThanOrEqualTo(NumericColumn<?> d)SelectionNumberFilters. isMissing()default SelectionNumberFilters. isNegative()default SelectionNumberFilters. isNonNegative()default SelectionNumberFilters. isNotEqualTo(double d)default SelectionNumberFilters. isNotEqualTo(NumericColumn<?> d)SelectionNumberFilters. isNotIn(Collection<Number> numbers)SelectionNumberFilters. isNotMissing()default SelectionNumberFilters. isPositive()default SelectionNumberFilters. isZero() -
Uses of Selection in tech.tablesaw.columns.strings
Methods in tech.tablesaw.columns.strings that return Selection Modifier and Type Method Description default SelectionStringFilters. containsString(String string)default SelectionStringFilters. endsWith(String string)default SelectionStringFilters. equalsIgnoreCase(String string)default SelectionStringFilters. equalsIgnoreCase(Column<String> other)default SelectionStringFilters. eval(BiPredicate<String,Integer> predicate, Integer value)default SelectionStringFilters. eval(BiPredicate<String,String> predicate, String value)default SelectionStringFilters. eval(BiPredicate<String,String> predicate, Column<String> otherColumn)default SelectionStringFilters. eval(Predicate<String> predicate)default SelectionStringFilters. isAlpha()default SelectionStringFilters. isAlphaNumeric()default SelectionStringFilters. isEmptyString()SelectionByteDictionaryMap. isEqualTo(String string)SelectionDictionaryMap. isEqualTo(String string)SelectionIntDictionaryMap. isEqualTo(String string)SelectionNullDictionaryMap. isEqualTo(String string)SelectionShortDictionaryMap. isEqualTo(String string)default SelectionStringFilters. isEqualTo(String string)default SelectionStringFilters. isEqualTo(Column<String> other)default SelectionDictionaryMap. isIn(String... strings)default SelectionDictionaryMap. isIn(Collection<String> strings)SelectionNullDictionaryMap. isIn(String... strings)SelectionNullDictionaryMap. isIn(Collection<String> strings)SelectionStringFilters. isIn(String... strings)SelectionStringFilters. isIn(Collection<String> strings)default SelectionStringFilters. isIn(Column<String> strings)SelectionTextualStringData. isIn(String... strings)SelectionTextualStringData. isIn(Collection<String> strings)default SelectionStringFilters. isLongerThan(int stringLength)default SelectionStringFilters. isLowerCase()default SelectionStringFilters. isMissing()default SelectionDictionaryMap. isNotEqualTo(String string)default SelectionStringFilters. isNotEqualTo(String string)default SelectionStringFilters. isNotEqualTo(Column<String> other)default SelectionDictionaryMap. isNotIn(String... strings)default SelectionDictionaryMap. isNotIn(Collection<String> strings)SelectionNullDictionaryMap. isNotIn(String... strings)SelectionNullDictionaryMap. isNotIn(Collection<String> strings)SelectionStringFilters. isNotIn(String... strings)SelectionStringFilters. isNotIn(Collection<String> strings)default SelectionStringFilters. isNotIn(Column<String> strings)SelectionTextualStringData. isNotIn(String... strings)SelectionTextualStringData. isNotIn(Collection<String> strings)default SelectionStringFilters. isNotMissing()default SelectionStringFilters. isNumeric()default SelectionStringFilters. isShorterThan(int stringLength)default SelectionStringFilters. isUpperCase()default SelectionStringFilters. lengthEquals(int stringLength)default SelectionStringFilters. matchesRegex(String string)SelectionByteDictionaryMap. selectIsIn(String... strings)SelectionByteDictionaryMap. selectIsIn(Collection<String> strings)SelectionDictionaryMap. selectIsIn(String... strings)SelectionDictionaryMap. selectIsIn(Collection<String> strings)SelectionIntDictionaryMap. selectIsIn(String... strings)SelectionIntDictionaryMap. selectIsIn(Collection<String> strings)SelectionNullDictionaryMap. selectIsIn(String... strings)SelectionNullDictionaryMap. selectIsIn(Collection<String> strings)SelectionShortDictionaryMap. selectIsIn(String... strings)SelectionShortDictionaryMap. selectIsIn(Collection<String> strings)default SelectionStringFilters. startsWith(String string)default SelectionStringFilters. startsWith(Column<String> other)Methods in tech.tablesaw.columns.strings with parameters of type Selection Modifier and Type Method Description StringDataStringData. set(Selection rowSelection, String newValue)TextualStringDataTextualStringData. set(Selection rowSelection, String newValue)Conditionally update this column, replacing current values with newValue for all rows where the current value matches the selection criteriaStringDataStringData. where(Selection selection)TextualStringDataTextualStringData. 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 SelectionTemporalFilters. eval(BiPredicate<T,T> predicate, T valueToCompare)default SelectionTemporalFilters. eval(LongPredicate predicate)default SelectionTemporalFilters. eval(Predicate<T> predicate)default SelectionTemporalFilters. eval(LongBiPredicate predicate, long value)default SelectionTemporalFilters. eval(LongBiPredicate predicate, DateTimeColumn otherColumn)default SelectionTemporalFilters. isAfter(Instant value)default SelectionTemporalFilters. isBefore(Instant value)default SelectionTemporalFilters. isBetweenExcluding(long lowPackedDateTime, long highPackedDateTime)default SelectionTemporalFilters. isBetweenIncluding(long lowPackedDateTime, long highPackedDateTime)default SelectionTemporalFilters. isEqualTo(Instant value)SelectionTemporalFilters. isMissing()SelectionTemporalFilters. isNotMissing() -
Uses of Selection in tech.tablesaw.columns.times
Methods in tech.tablesaw.columns.times that return Selection Modifier and Type Method Description default SelectionTimeFilters. eval(BiPredicate<LocalTime,LocalTime> predicate, LocalTime valueToCompare)default SelectionTimeFilters. eval(IntPredicate predicate)default SelectionTimeFilters. eval(Predicate<LocalTime> predicate)default SelectionTimeFilters. eval(IntBiPredicate predicate, int value)default SelectionTimeFilters. eval(IntBiPredicate predicate, TimeColumn otherColumn)default SelectionTimeFilters. isAfter(int packedTime)default SelectionTimeFilters. isAfter(LocalTime time)default SelectionTimeFilters. 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 SelectionTimeFilters. isAfterNoon()Applies a function to every value in this column that returns true if the time is in the PM or "after noon".default SelectionTimeFilters. isBefore(int packedTime)default SelectionTimeFilters. isBefore(LocalTime time)default SelectionTimeFilters. 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 SelectionTimeFilters. isBeforeNoon()Applies a function to every value in this column that returns true if the time is in the AM or "before noon".default SelectionTimeFilters. isEqualTo(LocalTime value)default SelectionTimeFilters. 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 SelectionTimeFilters. isMidnight()default SelectionTimeFilters. isNoon()default SelectionTimeFilters. isNotEqualTo(LocalTime value)default SelectionTimeFilters. 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 SelectionTimeFilters. isOnOrAfter(int packed)default SelectionTimeFilters. isOnOrAfter(LocalTime time)default SelectionTimeFilters. isOnOrBefore(int packed)default SelectionTimeFilters. isOnOrBefore(LocalTime value)Methods in tech.tablesaw.columns.times with parameters of type Selection Modifier and Type Method Description TimeColumnTimeFilters. where(Selection selection) -
Uses of Selection in tech.tablesaw.filtering
Methods in tech.tablesaw.filtering that return Selection Modifier and Type Method Description SelectionAnd. apply(Table table)SelectionNot. apply(Table table)SelectionOr. 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 SelectionByteIndex. atLeast(byte value)Returns aSelectionof all values at least as large as the given valueSelectionDoubleIndex. atLeast(double value)Returns aSelectionof all values at least as large as the given valueSelectionFloatIndex. atLeast(float value)Returns aSelectionof all values at least as large as the given valueSelectionIntIndex. atLeast(int value)Returns aSelectionof all values at least as large as the given valueSelectionIntIndex. atLeast(LocalDate value)Returns aSelectionof all values at least as large as the given valueSelectionIntIndex. atLeast(LocalTime value)Returns aSelectionof all values at least as large as the given valueSelectionLongIndex. atLeast(long value)Returns aSelectionof all values at least as large as the given valueSelectionLongIndex. atLeast(Instant value)Returns aSelectionof all values at least as large as the given valueSelectionLongIndex. atLeast(LocalDateTime value)Returns aSelectionof all values at least as large as the given valueSelectionShortIndex. atLeast(short value)Returns aSelectionof all values at least as large as the given valueSelectionByteIndex. atMost(byte value)Returns aSelectionof all values at most as large as the given valueSelectionDoubleIndex. atMost(double value)Returns aSelectionof all values at most as large as the given valueSelectionFloatIndex. atMost(float value)Returns aSelectionof all values at most as large as the given valueSelectionIntIndex. atMost(int value)Returns aSelectionof all values at most as large as the given valueSelectionIntIndex. atMost(LocalDate value)Returns aSelectionof all values at most as large as the given valueSelectionIntIndex. atMost(LocalTime value)Returns aSelectionof all values at most as large as the given valueSelectionLongIndex. atMost(long value)Returns aSelectionof all values at most as large as the given valueSelectionLongIndex. atMost(Instant value)Returns aSelectionof all values at most as large as the given valueSelectionLongIndex. atMost(LocalDateTime value)Returns aSelectionof all values at most as large as the given valueSelectionShortIndex. atMost(short value)Returns aSelectionof all values at most as large as the given valueSelectionByteIndex. get(byte value)Returns a bitmap containing row numbers of all cells matching the given intSelectionDoubleIndex. get(double value)Returns a bitmap containing row numbers of all cells matching the given intSelectionFloatIndex. get(float value)Returns a bitmap containing row numbers of all cells matching the given intSelectionIntIndex. get(int value)Returns a bitmapSelectioncontaining row numbers of all cells matching the given intSelectionIntIndex. get(LocalDate value)Returns theSelectionof all values exactly equal to the given valueSelectionIntIndex. get(LocalTime value)Returns theSelectionof all values exactly equal to the given valueSelectionLongIndex. get(long value)Returns a bitmap containing row numbers of all cells matching the given longSelectionLongIndex. get(Instant value)Returns theSelectionof all values exactly equal to the given valueSelectionLongIndex. get(LocalDateTime value)Returns theSelectionof all values exactly equal to the given valueSelectionShortIndex. get(short value)Returns a bitmap containing row numbers of all cells matching the given intSelectionStringIndex. get(String value)Returns a bitmapSelectioncontaining row numbers of all cells matching the given intSelectionByteIndex. greaterThan(byte value)Returns aSelectionof all values greater than the given valueSelectionDoubleIndex. greaterThan(double value)Returns aSelectionof all values greater than the given valueSelectionFloatIndex. greaterThan(float value)Returns aSelectionof all values greater than the given valueSelectionIntIndex. greaterThan(int value)Returns aSelectionof all values greater than the given valueSelectionIntIndex. greaterThan(LocalDate value)Returns aSelectionof all values greater than the given valueSelectionIntIndex. greaterThan(LocalTime value)Returns aSelectionof all values greater than the given valueSelectionLongIndex. greaterThan(long value)Returns aSelectionof all values greater than the given valueSelectionLongIndex. greaterThan(Instant value)Returns aSelectionof all values greater than the given valueSelectionLongIndex. greaterThan(LocalDateTime value)Returns aSelectionof all values greater than the given valueSelectionShortIndex. greaterThan(short value)Returns aSelectionof all values greater than the given valueSelectionByteIndex. lessThan(byte value)Returns aSelectionof all values less than the given valueSelectionDoubleIndex. lessThan(double value)Returns aSelectionof all values less than the given valueSelectionFloatIndex. lessThan(float value)Returns aSelectionof all values less than the given valueSelectionIntIndex. lessThan(int value)Returns aSelectionof all values less than the given valueSelectionIntIndex. lessThan(LocalDate value)Returns aSelectionof all values less than the given valueSelectionIntIndex. lessThan(LocalTime value)Returns aSelectionof all values less than the given valueSelectionLongIndex. lessThan(long value)Returns aSelectionof all values less than the given valueSelectionLongIndex. lessThan(Instant value)Returns aSelectionof all values less than the given valueSelectionLongIndex. lessThan(LocalDateTime value)Returns aSelectionof all values less than the given valueSelectionShortIndex. lessThan(short value)Returns aSelectionof 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 classBitmapBackedSelectionA Selection implemented using bitmapsclassBitSetBackedSelectionA Selection implemented using java.util.BitSetMethods in tech.tablesaw.selection that return Selection Modifier and Type Method Description SelectionBitmapBackedSelection. add(int... ints)Adds the given integers to the Selection if it is not already present, and does nothing otherwiseSelectionSelection. add(int... ints)Adds the given integers to the Selection if it is not already present, and does nothing otherwiseSelectionBitmapBackedSelection. addRange(int start, int end)Adds to the current bitmap all integers in [rangeStart,rangeEnd)SelectionBitSetBackedSelection. addRange(int start, int end)Adds to the current bitmap all integers in [rangeStart,rangeEnd)SelectionSelection. addRange(int start, int end)Adds to the current bitmap all integers in [rangeStart,rangeEnd)SelectionBitmapBackedSelection. and(Selection otherSelection)Intersects the receiver andotherSelection, updating the receiverSelectionBitSetBackedSelection. and(Selection otherSelection)Intersects the receiver andotherSelection, updating the receiverSelectionSelection. and(Selection otherSelection)Returns this Selection object after its data has been intersected withotherSelectionSelectionBitmapBackedSelection. andNot(Selection otherSelection)Implements the set difference operation between the receiver andotherSelection, after updating the receiverSelectionBitSetBackedSelection. andNot(Selection otherSelection)Implements the set difference operation between the receiver andotherSelection, after updating the receiverSelectionSelection. andNot(Selection otherSelection)Implements the set difference operation between the receiver andotherSelection, after updating the receiverSelectionBitmapBackedSelection. clear()Returns this selection with all its values clearedSelectionBitSetBackedSelection. clear()Returns this selection with all its values clearedSelectionSelection. clear()Returns this selection with all its values clearedSelectionBitmapBackedSelection. flip(int rangeStart, int rangeEnd)Returns a selection with the bits from this selection flipped over the given rangeSelectionSelection. flip(int rangeStart, int rangeEnd)Returns a selection with the bits from this selection flipped over the given rangeprotected static SelectionBitmapBackedSelection. fromBitmap(org.roaringbitmap.RoaringBitmap bitmap)Returns a Selection containing all indexes in the arraystatic SelectionSelection. fromBitmap(org.roaringbitmap.RoaringBitmap bitmap)SelectionBitmapBackedSelection. or(Selection otherSelection)Implements the union of the receiver andotherSelection, updating the receiverSelectionBitSetBackedSelection. or(Selection otherSelection)Implements the union of the receiver andotherSelection, updating the receiverSelectionSelection. or(Selection otherSelection)Returns this Selection object with its data replaced by the union of its starting data andotherSelectionSelectionBitmapBackedSelection. removeRange(long start, long end)Removes from the current bitmap from all integers in [rangeStart,rangeEnd)SelectionSelection. removeRange(long start, long end)Removes from the current bitmap from all integers in [rangeStart,rangeEnd)protected static SelectionBitmapBackedSelection. selectNRowsAtRandom(int n, int max)Returns an randomly generated selection of size N where Max is the largest possible valuestatic SelectionSelection. selectNRowsAtRandom(int n, int max)Returns an randomly generated selection of size N where Max is the largest possible valueprotected static SelectionBitmapBackedSelection. with(int... rows)Returns a Selection containing all indexes in the arraystatic SelectionSelection. with(int... rows)Returns a Selection containing all indexes in the arrayprotected static SelectionBitmapBackedSelection. 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 SelectionBitSetBackedSelection. 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 SelectionSelection. 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 SelectionBitmapBackedSelection. withRange(int start, int end)Returns a Selection containing all indexes in the range start (inclusive) to end (exclusive),static SelectionSelection. 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 SelectionBitmapBackedSelection. and(Selection otherSelection)Intersects the receiver andotherSelection, updating the receiverSelectionBitSetBackedSelection. and(Selection otherSelection)Intersects the receiver andotherSelection, updating the receiverSelectionSelection. and(Selection otherSelection)Returns this Selection object after its data has been intersected withotherSelectionSelectionBitmapBackedSelection. andNot(Selection otherSelection)Implements the set difference operation between the receiver andotherSelection, after updating the receiverSelectionBitSetBackedSelection. andNot(Selection otherSelection)Implements the set difference operation between the receiver andotherSelection, after updating the receiverSelectionSelection. andNot(Selection otherSelection)Implements the set difference operation between the receiver andotherSelection, after updating the receiverSelectionBitmapBackedSelection. or(Selection otherSelection)Implements the union of the receiver andotherSelection, updating the receiverSelectionBitSetBackedSelection. or(Selection otherSelection)Implements the union of the receiver andotherSelection, updating the receiverSelectionSelection. 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
-