Package tech.tablesaw.columns.temporal
Interface TemporalFilters<T extends Temporal>
-
- All Superinterfaces:
Column<T>,Comparator<T>,FilterSpec<Selection>,InstantFilterSpec<Selection>,Iterable<T>
- All Known Subinterfaces:
DateTimeFilters
- All Known Implementing Classes:
DateTimeColumn,InstantColumn
public interface TemporalFilters<T extends Temporal> extends Column<T>, InstantFilterSpec<Selection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Selectioneval(BiPredicate<T,T> predicate, T valueToCompare)default Selectioneval(LongPredicate predicate)default Selectioneval(Predicate<T> predicate)default Selectioneval(LongBiPredicate predicate, long value)default Selectioneval(LongBiPredicate predicate, DateTimeColumn otherColumn)Tget(int index)Returns the value at the given zero-based indexlonggetLongInternal(int index)default SelectionisAfter(Instant value)default SelectionisBefore(Instant value)default SelectionisBetweenExcluding(long lowPackedDateTime, long highPackedDateTime)default SelectionisBetweenIncluding(long lowPackedDateTime, long highPackedDateTime)default SelectionisEqualTo(Instant value)SelectionisMissing()Returns a selection containing an index for every missing value in this columnSelectionisNotMissing()Returns a selection containing an index for every non-missing value in this columnintsize()Returns the number of elements in this column, including missing values-
Methods inherited from interface tech.tablesaw.columns.Column
allMatch, anyMatch, append, append, append, appendCell, appendCell, appendMissing, appendObj, asBytes, asList, asObjectArray, asSet, asStringColumn, byteSize, clear, columnWidth, contains, copy, count, count, countMissing, countUnique, emptyCopy, emptyCopy, equals, filter, first, getString, getUnformattedString, indexOf, inRange, interpolate, isEmpty, isMissing, lag, last, lastIndexOf, lead, map, map, mapInto, max, max, min, min, name, noneMatch, parser, print, reduce, reduce, removeMissing, rolling, rowComparator, sampleN, sampleX, set, set, set, set, set, set, setMissing, setMissingTo, setName, setParser, sortAscending, sortDescending, sorted, subset, summary, title, type, unique, valueHash, where
-
Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
eval
default Selection eval(LongPredicate predicate)
-
eval
default Selection eval(LongBiPredicate predicate, long value)
-
eval
default Selection eval(LongBiPredicate predicate, DateTimeColumn otherColumn)
-
eval
default Selection eval(BiPredicate<T,T> predicate, T valueToCompare)
-
isBetweenExcluding
default Selection isBetweenExcluding(long lowPackedDateTime, long highPackedDateTime)
-
isBetweenIncluding
default Selection isBetweenIncluding(long lowPackedDateTime, long highPackedDateTime)
-
isAfter
default Selection isAfter(Instant value)
- Specified by:
isAfterin interfaceInstantFilterSpec<T extends Temporal>
-
isBefore
default Selection isBefore(Instant value)
- Specified by:
isBeforein interfaceInstantFilterSpec<T extends Temporal>
-
isEqualTo
default Selection isEqualTo(Instant value)
- Specified by:
isEqualToin interfaceInstantFilterSpec<T extends Temporal>
-
size
int size()
Description copied from interface:ColumnReturns the number of elements in this column, including missing values
-
getLongInternal
long getLongInternal(int index)
-
get
T get(int index)
Description copied from interface:ColumnReturns the value at the given zero-based index
-
isMissing
Selection isMissing()
Description copied from interface:ColumnReturns a selection containing an index for every missing value in this column
-
isNotMissing
Selection isNotMissing()
Description copied from interface:ColumnReturns a selection containing an index for every non-missing value in this column- Specified by:
isNotMissingin interfaceColumn<T extends Temporal>- Specified by:
isNotMissingin interfaceFilterSpec<T extends Temporal>
-
-