Class TimeFilter.TimeGtEqAndLt
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.filter.TimeFilter.TimeGtEqAndLt
-
- All Implemented Interfaces:
Filter
- Enclosing class:
- TimeFilter
public static class TimeFilter.TimeGtEqAndLt extends java.lang.Object implements Filter
-
-
Constructor Summary
Constructors Constructor Description TimeGtEqAndLt()TimeGtEqAndLt(long startTime, long endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(Statistics statistics)To examine whether all data points are satisfied with the filter.booleancontainStartEndTime(long startTime, long endTime)To examine whether the partition [startTime, endTime] is subsets of filter.Filtercopy()voiddeserialize(java.nio.ByteBuffer buffer)FilterSerializeIdgetSerializeId()java.util.List<TimeRange>getTimeRanges()Filterreverse()booleansatisfy(long time, java.lang.Object value)To examine whether the single point(with time and value) is satisfied with the filter.booleansatisfy(Statistics statistics)To examine whether there are data points satisfied with the filter.booleansatisfyStartEndTime(long startTime, long endTime)To examine whether the min time and max time are satisfied with the filter.voidserialize(java.io.DataOutputStream outputStream)java.lang.StringtoString()
-
-
-
Method Detail
-
satisfy
public boolean satisfy(Statistics statistics)
Description copied from interface:FilterTo examine whether there are data points satisfied with the filter.
-
allSatisfy
public boolean allSatisfy(Statistics statistics)
Description copied from interface:FilterTo examine whether all data points are satisfied with the filter.- Specified by:
allSatisfyin interfaceFilter- Parameters:
statistics- statistics with min time, max time, min value, max value.
-
satisfy
public boolean satisfy(long time, java.lang.Object value)Description copied from interface:FilterTo examine whether the single point(with time and value) is satisfied with the filter.
-
satisfyStartEndTime
public boolean satisfyStartEndTime(long startTime, long endTime)Description copied from interface:FilterTo examine whether the min time and max time are satisfied with the filter.- Specified by:
satisfyStartEndTimein interfaceFilter- Parameters:
startTime- start time of a page, series or deviceendTime- end time of a page, series or device
-
containStartEndTime
public boolean containStartEndTime(long startTime, long endTime)Description copied from interface:FilterTo examine whether the partition [startTime, endTime] is subsets of filter.- Specified by:
containStartEndTimein interfaceFilter- Parameters:
startTime- start time of a partitionendTime- end time of a partition
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
serialize
public void serialize(java.io.DataOutputStream outputStream)
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer)
- Specified by:
deserializein interfaceFilter
-
getSerializeId
public FilterSerializeId getSerializeId()
- Specified by:
getSerializeIdin interfaceFilter
-
getTimeRanges
public java.util.List<TimeRange> getTimeRanges()
- Specified by:
getTimeRangesin interfaceFilter
-
-