Modifier and Type | Method and Description |
---|---|
Selection |
BooleanColumn.asSelection() |
Selection |
BooleanColumn.eval(BiPredicate<Boolean,Boolean> predicate,
Boolean valueToCompare) |
default Selection |
NumericColumn.eval(BiPredicate<Number,Number> predicate,
Number number) |
Selection |
BooleanColumn.eval(BytePredicate predicate) |
default Selection |
NumericColumn.eval(DoubleBiPredicate predicate,
DoubleColumn otherColumn) |
default Selection |
NumericColumn.eval(DoubleBiPredicate predicate,
Number number) |
default Selection |
NumericColumn.eval(DoublePredicate predicate) |
default Selection |
NumericColumn.eval(DoubleRangePredicate predicate,
Number rangeStart,
Number rangeEnd) |
Selection |
BooleanColumn.eval(Predicate<Boolean> predicate) |
Selection |
BooleanColumn.isEqualTo(BooleanColumn other) |
Selection |
StringColumn.isEqualTo(String string) |
Selection |
BooleanColumn.isFalse() |
Selection |
TextColumn.isIn(Collection<String> strings) |
Selection |
StringColumn.isIn(Collection<String> strings) |
default Selection |
NumericColumn.isIn(double... doubles) |
default Selection |
NumericColumn.isIn(Number... numbers) |
Selection |
TextColumn.isIn(String... strings) |
Selection |
StringColumn.isIn(String... strings) |
Selection |
BooleanColumn.isMissing() |
default Selection |
NumericColumn.isMissing() |
Selection |
TimeColumn.isMissing() |
Selection |
StringColumn.isNotEqualTo(String string) |
Selection |
TextColumn.isNotIn(Collection<String> strings) |
Selection |
StringColumn.isNotIn(Collection<String> strings) |
default Selection |
NumericColumn.isNotIn(double... doubles) |
default Selection |
NumericColumn.isNotIn(Number... numbers) |
Selection |
TextColumn.isNotIn(String... strings) |
Selection |
StringColumn.isNotIn(String... strings) |
Selection |
BooleanColumn.isNotMissing() |
default Selection |
NumericColumn.isNotMissing() |
Selection |
TimeColumn.isNotMissing() |
Selection |
BooleanColumn.isTrue() |
Modifier and Type | Method and Description |
---|---|
static BooleanColumn |
BooleanColumn.create(String name,
Selection hits,
int columnSize) |
Table |
Table.dropWhere(Selection selection) |
BooleanColumn |
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 criteria
|
BooleanColumn |
BooleanColumn.set(Selection rowSelection,
Boolean newValue) |
BooleanColumn |
BooleanColumn.set(Selection condition,
Column<Boolean> other) |
DoubleColumn |
DoubleColumn.set(Selection condition,
Column<Double> other) |
FloatColumn |
FloatColumn.set(Selection condition,
Column<Float> other) |
IntColumn |
IntColumn.set(Selection condition,
Column<Integer> other) |
DateColumn |
DateColumn.set(Selection condition,
Column<LocalDate> other) |
DateTimeColumn |
DateTimeColumn.set(Selection condition,
Column<LocalDateTime> other) |
TimeColumn |
TimeColumn.set(Selection condition,
Column<LocalTime> other) |
LongColumn |
LongColumn.set(Selection condition,
Column<Long> other) |
ShortColumn |
ShortColumn.set(Selection condition,
Column<Short> other) |
StringColumn |
StringColumn.set(Selection condition,
Column<String> other) |
DoubleColumn |
DoubleColumn.set(Selection rowSelection,
Double newValue) |
FloatColumn |
FloatColumn.set(Selection rowSelection,
Float newValue) |
IntColumn |
IntColumn.set(Selection rowSelection,
Integer newValue) |
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 criteria
|
DateTimeColumn |
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 criteria
|
TimeColumn |
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 criteria
|
LongColumn |
LongColumn.set(Selection rowSelection,
Long newValue) |
ShortColumn |
ShortColumn.set(Selection rowSelection,
Short newValue) |
TextColumn |
TextColumn.set(Selection rowSelection,
String newValue)
Conditionally update this column, replacing current values with newValue for all rows where the current value
matches the selection criteria
|
StringColumn |
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 criteria
|
default Double |
NumericColumn.summarize(Selection selection,
NumericAggregateFunction function)
Summarizes the data in this column for all rows where the current value matches the selection criteria
|
BooleanColumn |
BooleanColumn.where(Selection selection) |
DateColumn |
DateColumn.where(Selection selection) |
TextColumn |
TextColumn.where(Selection selection) |
Table |
Table.where(Selection selection) |
DateTimeColumn |
DateTimeColumn.where(Selection selection) |
IntColumn |
IntColumn.where(Selection selection) |
DoubleColumn |
DoubleColumn.where(Selection selection) |
ShortColumn |
ShortColumn.where(Selection selection) |
default NumericColumn<T> |
NumericColumn.where(Selection selection) |
LongColumn |
LongColumn.where(Selection selection) |
FloatColumn |
FloatColumn.where(Selection selection) |
StringColumn |
StringColumn.where(Selection selection) |
TimeColumn |
TimeColumn.where(Selection selection) |
Modifier and Type | Method and Description |
---|---|
Selection |
Column.isMissing() |
Selection |
Column.isNotMissing() |
Modifier and Type | Method and Description |
---|---|
default 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 column
|
default 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 criteria
|
Column<T> |
Column.where(Selection selection) |
Modifier and Type | Method and Description |
---|---|
Selection |
BooleanMapUtils.asSelection() |
Modifier and Type | Method and Description |
---|---|
default Selection |
DateFilters.eval(BiPredicate<LocalDate,LocalDate> predicate,
LocalDate valueToCompare) |
default Selection |
DateFilters.eval(IntBiPredicate predicate,
DateColumn otherColumn) |
default Selection |
DateFilters.eval(IntBiPredicate predicate,
int value) |
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 packedLocalTimes
|
default Selection |
DateFilters.eval(Predicate<LocalDate> predicate)
Returns a selection formed by applying the given predicate
|
default Selection |
DateFilters.isAfter(DateColumn column) |
default Selection |
DateFilters.isAfter(int value) |
default Selection |
DateFilters.isAfter(LocalDate value) |
default Selection |
DateFilters.isBefore(DateColumn column) |
default Selection |
DateFilters.isBefore(int value) |
default Selection |
DateFilters.isBefore(LocalDate value) |
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(DateColumn 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 |
DateFilters.isEqualTo(int packedDate) |
default Selection |
DateFilters.isEqualTo(LocalDate value) |
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(DateColumn column) |
default Selection |
DateFilters.isNotMissing() |
default Selection |
DateFilters.isOnOrAfter(DateColumn column) |
default Selection |
DateFilters.isOnOrAfter(LocalDate value) |
default Selection |
DateFilters.isOnOrBefore(DateColumn column) |
default Selection |
DateFilters.isOnOrBefore(LocalDate value) |
default Selection |
DateFilters.isSaturday() |
default Selection |
DateFilters.isSunday() |
default Selection |
DateFilters.isThursday() |
default Selection |
DateFilters.isTuesday() |
default Selection |
DateFilters.isWednesday() |
Modifier and Type | Method and Description |
---|---|
DateColumn |
DateFilters.where(Selection selection) |
Modifier and Type | Method and Description |
---|---|
default Selection |
DateTimeFilters.eval(BiPredicate<LocalDateTime,LocalDateTime> predicate,
LocalDateTime valueToCompare) |
default Selection |
DateTimeFilters.eval(LongBiPredicate predicate,
DateTimeColumn otherColumn) |
default Selection |
DateTimeFilters.eval(LongBiPredicate predicate,
long value) |
default Selection |
DateTimeFilters.eval(LongPredicate predicate) |
default Selection |
DateTimeFilters.eval(Predicate<LocalDateTime> predicate) |
default Selection |
DateTimeFilters.isAfter(DateTimeColumn column) |
default Selection |
DateTimeFilters.isAfter(LocalDate value) |
default Selection |
DateTimeFilters.isAfter(LocalDateTime value) |
default Selection |
DateTimeFilters.isAfterNoon() |
default Selection |
DateTimeFilters.isBefore(DateTimeColumn column) |
default Selection |
DateTimeFilters.isBefore(LocalDate value) |
default Selection |
DateTimeFilters.isBefore(LocalDateTime value) |
default Selection |
DateTimeFilters.isBeforeNoon() |
default Selection |
DateTimeFilters.isBetweenExcluding(LocalDateTime lowValue,
LocalDateTime highValue) |
default Selection |
DateTimeFilters.isBetweenExcluding(long lowPackedDateTime,
long highPackedDateTime) |
default Selection |
DateTimeFilters.isBetweenIncluding(LocalDateTime lowValue,
LocalDateTime highValue) |
default Selection |
DateTimeFilters.isBetweenIncluding(long lowPackedDateTime,
long highPackedDateTime) |
default Selection |
DateTimeFilters.isEqualTo(DateTimeColumn column) |
default Selection |
DateTimeFilters.isEqualTo(LocalDateTime value) |
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(DateTimeColumn column) |
default Selection |
DateTimeFilters.isNotEqualTo(LocalDateTime value) |
default Selection |
DateTimeFilters.isNotMissing() |
default Selection |
DateTimeFilters.isOnOrAfter(DateTimeColumn column) |
default Selection |
DateTimeFilters.isOnOrAfter(LocalDate value) |
default Selection |
DateTimeFilters.isOnOrAfter(LocalDateTime value) |
default Selection |
DateTimeFilters.isOnOrBefore(DateTimeColumn column) |
default Selection |
DateTimeFilters.isOnOrBefore(LocalDate value) |
default Selection |
DateTimeFilters.isOnOrBefore(LocalDateTime value) |
default Selection |
DateTimeFilters.isSaturday() |
default Selection |
DateTimeFilters.isSunday() |
default Selection |
DateTimeFilters.isThursday() |
default Selection |
DateTimeFilters.isTuesday() |
default Selection |
DateTimeFilters.isWednesday() |
Modifier and Type | Method and Description |
---|---|
Selection |
NumberFilters.eval(BiPredicate<Number,Number> predicate,
Number value) |
Selection |
NumberFilters.eval(DoubleBiPredicate predicate,
DoubleColumn otherColumn) |
Selection |
NumberFilters.eval(DoubleBiPredicate predicate,
Number value) |
Selection |
NumberFilters.eval(DoublePredicate predicate) |
Selection |
NumberFilters.eval(DoubleRangePredicate predicate,
Number rangeStart,
Number rangeEnd) |
default Selection |
NumberFilters.isBetweenExclusive(double start,
Number end) |
default Selection |
NumberFilters.isBetweenInclusive(double start,
Number 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(double... doubles) |
Selection |
NumberFilters.isIn(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(double... doubles) |
Selection |
NumberFilters.isNotIn(Number... doubles) |
Selection |
NumberFilters.isNotMissing() |
default Selection |
NumberFilters.isPositive() |
default Selection |
NumberFilters.isZero() |
Modifier and Type | Method and Description |
---|---|
default Selection |
StringFilters.containsString(String string) |
default Selection |
StringFilters.endsWith(String string) |
default Selection |
StringFilters.equalsIgnoreCase(Column<String> other) |
default Selection |
StringFilters.equalsIgnoreCase(String string) |
default Selection |
StringFilters.eval(BiPredicate<String,Integer> predicate,
Integer value) |
default Selection |
StringFilters.eval(BiPredicate<String,String> predicate,
Column<String> otherColumn) |
default Selection |
StringFilters.eval(BiPredicate<String,String> predicate,
String value) |
default Selection |
StringFilters.eval(Predicate<String> predicate) |
default Selection |
StringFilters.isAlpha() |
default Selection |
StringFilters.isAlphaNumeric() |
default Selection |
StringFilters.isEmptyString() |
default Selection |
StringFilters.isEqualTo(Column<String> other) |
Selection |
IntDictionaryMap.isEqualTo(String string) |
default Selection |
StringFilters.isEqualTo(String string) |
Selection |
ByteDictionaryMap.isEqualTo(String string) |
Selection |
DictionaryMap.isEqualTo(String string) |
Selection |
ShortDictionaryMap.isEqualTo(String string) |
Selection |
StringFilters.isIn(Collection<String> strings) |
Selection |
StringFilters.isIn(String... strings) |
default Selection |
StringFilters.isLongerThan(int stringLength) |
default Selection |
StringFilters.isLowerCase() |
default Selection |
StringFilters.isMissing() |
default Selection |
StringFilters.isNotEqualTo(Column<String> other) |
default Selection |
StringFilters.isNotEqualTo(String string) |
default Selection |
DictionaryMap.isNotEqualTo(String string) |
Selection |
StringFilters.isNotIn(Collection<String> strings) |
Selection |
StringFilters.isNotIn(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 |
IntDictionaryMap.selectIsIn(Collection<String> strings) |
Selection |
ByteDictionaryMap.selectIsIn(Collection<String> strings) |
Selection |
DictionaryMap.selectIsIn(Collection<String> strings) |
Selection |
ShortDictionaryMap.selectIsIn(Collection<String> strings) |
Selection |
IntDictionaryMap.selectIsIn(String... strings) |
Selection |
ByteDictionaryMap.selectIsIn(String... strings) |
Selection |
DictionaryMap.selectIsIn(String... strings) |
Selection |
ShortDictionaryMap.selectIsIn(String... strings) |
default Selection |
StringFilters.startsWith(Column<String> other) |
default Selection |
StringFilters.startsWith(String string) |
Modifier and Type | Method and Description |
---|---|
default Selection |
TimeFilters.eval(BiPredicate<LocalTime,LocalTime> predicate,
LocalTime valueToCompare) |
default Selection |
TimeFilters.eval(IntBiPredicate predicate,
int value) |
default Selection |
TimeFilters.eval(IntBiPredicate predicate,
TimeColumn otherColumn) |
default Selection |
TimeFilters.eval(IntPredicate predicate) |
default Selection |
TimeFilters.eval(Predicate<LocalTime> predicate) |
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) |
Modifier and Type | Method and Description |
---|---|
TimeColumn |
TimeFilters.where(Selection selection) |
Modifier and Type | Method and Description |
---|---|
Selection |
ByteIndex.atLeast(byte value) |
Selection |
DoubleIndex.atLeast(double value) |
Selection |
FloatIndex.atLeast(float value) |
Selection |
IntIndex.atLeast(int value) |
Selection |
IntIndex.atLeast(LocalDate value) |
Selection |
LongIndex.atLeast(LocalDateTime value) |
Selection |
IntIndex.atLeast(LocalTime value) |
Selection |
LongIndex.atLeast(long value) |
Selection |
ShortIndex.atLeast(short value) |
Selection |
ByteIndex.atMost(byte value) |
Selection |
DoubleIndex.atMost(double value) |
Selection |
FloatIndex.atMost(float value) |
Selection |
IntIndex.atMost(int value) |
Selection |
IntIndex.atMost(LocalDate value) |
Selection |
LongIndex.atMost(LocalDateTime value) |
Selection |
IntIndex.atMost(LocalTime value) |
Selection |
LongIndex.atMost(long value) |
Selection |
ShortIndex.atMost(short value) |
Selection |
ByteIndex.get(byte value)
Returns a bitmap containing row numbers of all cells matching the given int
|
Selection |
DoubleIndex.get(double value)
Returns a bitmap containing row numbers of all cells matching the given int
|
Selection |
FloatIndex.get(float value)
Returns a bitmap containing row numbers of all cells matching the given int
|
Selection |
IntIndex.get(int value)
Returns a bitmap containing row numbers of all cells matching the given int
|
Selection |
IntIndex.get(LocalDate value) |
Selection |
LongIndex.get(LocalDateTime value) |
Selection |
IntIndex.get(LocalTime value) |
Selection |
LongIndex.get(long value)
Returns a bitmap containing row numbers of all cells matching the given long
|
Selection |
ShortIndex.get(short value)
Returns a bitmap containing row numbers of all cells matching the given int
|
Selection |
StringIndex.get(String value)
Returns a bitmap containing row numbers of all cells matching the given int
|
Selection |
ByteIndex.greaterThan(byte value) |
Selection |
DoubleIndex.greaterThan(double value) |
Selection |
FloatIndex.greaterThan(float value) |
Selection |
IntIndex.greaterThan(int value) |
Selection |
IntIndex.greaterThan(LocalDate value) |
Selection |
LongIndex.greaterThan(LocalDateTime value) |
Selection |
IntIndex.greaterThan(LocalTime value) |
Selection |
LongIndex.greaterThan(long value) |
Selection |
ShortIndex.greaterThan(short value) |
Selection |
ByteIndex.lessThan(byte value) |
Selection |
DoubleIndex.lessThan(double value) |
Selection |
FloatIndex.lessThan(float value) |
Selection |
IntIndex.lessThan(int value) |
Selection |
IntIndex.lessThan(LocalDate value) |
Selection |
LongIndex.lessThan(LocalDateTime value) |
Selection |
IntIndex.lessThan(LocalTime value) |
Selection |
LongIndex.lessThan(long value) |
Selection |
ShortIndex.lessThan(short value) |
Modifier and Type | Class and Description |
---|---|
class |
BitmapBackedSelection |
Modifier and Type | Method and Description |
---|---|
Selection |
Selection.add(int... ints)
Adds the given integers to the Selection if it is not already present, and does nothing otherwise
|
Selection |
BitmapBackedSelection.add(int... ints) |
Selection |
Selection.addRange(int start,
int end)
Adds to the current bitmap all integers in [rangeStart,rangeEnd)
|
Selection |
BitmapBackedSelection.addRange(int start,
int end)
Adds to the current bitmap all integers in [rangeStart,rangeEnd)
|
Selection |
Selection.and(Selection otherSelection)
Returns the intersection of the receiver and
otherSelection , after updating the receiver |
Selection |
BitmapBackedSelection.and(Selection otherSelection)
Intersects the receiver and
otherSelection , updating the receiver |
Selection |
Selection.andNot(Selection otherSelection)
Implements the set difference operation between the receiver and
otherSelection , after updating the receiver |
Selection |
BitmapBackedSelection.andNot(Selection otherSelection) |
Selection |
Selection.clear() |
Selection |
BitmapBackedSelection.clear() |
Selection |
Selection.flip(int rangeStart,
int rangeEnd)
Returns a selection with the bits from this selection flipped over the given range
|
Selection |
BitmapBackedSelection.flip(int rangeStart,
int rangeEnd) |
Selection |
Selection.or(Selection otherSelection)
Returns the union of the receiver and
otherSelection , after updating the receiver |
Selection |
BitmapBackedSelection.or(Selection otherSelection)
Implements the union of the receiver and
otherSelection , updating the receiver |
Selection |
Selection.removeRange(long start,
long end) |
Selection |
BitmapBackedSelection.removeRange(long start,
long end) |
static Selection |
Selection.selectNRowsAtRandom(int n,
int max)
Returns an randomly generated selection of size N where Max is the largest possible value
|
protected static Selection |
BitmapBackedSelection.selectNRowsAtRandom(int n,
int max)
Returns an randomly generated selection of size N where Max is the largest possible value
|
static Selection |
Selection.with(int... rows) |
protected static Selection |
BitmapBackedSelection.with(int... rows) |
static Selection |
Selection.withoutRange(int totalRangeStart,
int totalRangeEnd,
int excludedRangeStart,
int excludedRangeEnd) |
protected static Selection |
BitmapBackedSelection.withoutRange(int totalRangeStart,
int totalRangeEnd,
int excludedRangeStart,
int excludedRangeEnd) |
static Selection |
Selection.withRange(int start,
int end) |
protected static Selection |
BitmapBackedSelection.withRange(int start,
int end) |
Modifier and Type | Method and Description |
---|---|
Selection |
Selection.and(Selection otherSelection)
Returns the intersection of the receiver and
otherSelection , after updating the receiver |
Selection |
BitmapBackedSelection.and(Selection otherSelection)
Intersects the receiver and
otherSelection , updating the receiver |
Selection |
Selection.andNot(Selection otherSelection)
Implements the set difference operation between the receiver and
otherSelection , after updating the receiver |
Selection |
BitmapBackedSelection.andNot(Selection otherSelection) |
Selection |
Selection.or(Selection otherSelection)
Returns the union of the receiver and
otherSelection , after updating the receiver |
Selection |
BitmapBackedSelection.or(Selection otherSelection)
Implements the union of the receiver and
otherSelection , updating the receiver |
Modifier and Type | Method and Description |
---|---|
static void |
Rows.copyRowsToTable(Selection rows,
Table oldTable,
Table newTable)
Copies the rows indicated by the row index values in the given selection from oldTable to newTable
|
Constructor and Description |
---|
TableSlice(Table table,
Selection rowSelection)
Returns a new View constructed from the given table, containing only the rows represented by the bitmap
|
Copyright © 2019. All rights reserved.