Package tech.tablesaw.columns.times
Interface TimeFilters
-
- All Known Implementing Classes:
TimeColumn
public interface TimeFilters extends Column<LocalTime>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Selectioneval(BiPredicate<LocalTime,LocalTime> predicate, LocalTime valueToCompare)default Selectioneval(IntPredicate predicate)default Selectioneval(Predicate<LocalTime> predicate)default Selectioneval(IntBiPredicate predicate, int value)default Selectioneval(IntBiPredicate predicate, TimeColumn otherColumn)LocalTimeget(int index)Returns the value at the given zero-based indexintgetIntInternal(int index)Returns the packed time representation of the value at indexdefault SelectionisAfter(int packedTime)default SelectionisAfter(LocalTime time)default SelectionisAfter(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 SelectionisAfterNoon()Applies a function to every value in this column that returns true if the time is in the PM or "after noon".default SelectionisBefore(int packedTime)default SelectionisBefore(LocalTime time)default SelectionisBefore(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 SelectionisBeforeNoon()Applies a function to every value in this column that returns true if the time is in the AM or "before noon".default SelectionisEqualTo(LocalTime value)default SelectionisEqualTo(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 SelectionisMidnight()default SelectionisNoon()default SelectionisNotEqualTo(LocalTime value)default SelectionisNotEqualTo(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 SelectionisOnOrAfter(int packed)default SelectionisOnOrAfter(LocalTime time)default SelectionisOnOrBefore(int packed)default SelectionisOnOrBefore(LocalTime value)TimeColumnwhere(Selection selection)Returns a new column containing the subset referenced by theSelection-
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, isMissing, isNotMissing, 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, size, sortAscending, sortDescending, sorted, subset, summary, title, type, unique, valueHash
-
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
-
where
TimeColumn where(Selection selection)
Description copied from interface:ColumnReturns a new column containing the subset referenced by theSelection
-
eval
default Selection eval(IntBiPredicate predicate, TimeColumn otherColumn)
-
eval
default Selection eval(IntPredicate predicate)
-
eval
default Selection eval(IntBiPredicate predicate, int value)
-
eval
default Selection eval(BiPredicate<LocalTime,LocalTime> predicate, LocalTime valueToCompare)
-
isMidnight
default Selection isMidnight()
-
isNoon
default Selection isNoon()
-
isBefore
default Selection isBefore(int packedTime)
-
isAfter
default Selection isAfter(int packedTime)
-
isOnOrAfter
default Selection isOnOrAfter(int packed)
-
isOnOrBefore
default Selection isOnOrBefore(int packed)
-
isBeforeNoon
default Selection isBeforeNoon()
Applies a function to every value in this column that returns true if the time is in the AM or "before noon". Note: we follow the convention that 12:00 NOON is PM and 12 MIDNIGHT is AM
-
isAfterNoon
default Selection isAfterNoon()
Applies a function to every value in this column that returns true if the time is in the PM or "after noon". Note: we follow the convention that 12:00 NOON is PM and 12 MIDNIGHT is AM
-
isEqualTo
default Selection 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.
-
isBefore
default Selection 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.
-
isAfter
default Selection 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.
-
isNotEqualTo
default Selection 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.
-
get
LocalTime get(int index)
Description copied from interface:ColumnReturns the value at the given zero-based index
-
getIntInternal
int getIntInternal(int index)
Returns the packed time representation of the value at index
-
-