T - comparable data typepublic class Gt<T extends Comparable<T>> extends UnaryFilter<T>
filterType, value| Constructor and Description |
|---|
Gt() |
Gt(T value,
FilterType filterType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containStartEndTime(long startTime,
long endTime)
To examine whether the partition [startTime, endTime] is subsets of filter.
|
Filter |
copy() |
FilterSerializeId |
getSerializeId() |
boolean |
satisfy(long time,
Object value)
To examine whether the single point(with time and value) is satisfied with the filter.
|
boolean |
satisfy(Statistics statistics)
To examine whether the statistics is satisfied with the filter.
|
boolean |
satisfyStartEndTime(long startTime,
long endTime)
To examine whether the min time and max time are satisfied with the filter.
|
String |
toString() |
deserialize, equals, getFilterType, getValue, hashCode, serialize, setValuepublic Gt()
public Gt(T value, FilterType filterType)
public boolean satisfy(Statistics statistics)
Filterstatistics - statistics with min time, max time, min value, max value.public boolean satisfy(long time,
Object value)
Filtertime - single point timevalue - single point valuepublic boolean satisfyStartEndTime(long startTime,
long endTime)
FilterstartTime - start time of a page, series or deviceendTime - end time of a page, series or devicepublic boolean containStartEndTime(long startTime,
long endTime)
FilterstartTime - start time of a partitionendTime - end time of a partitionpublic Filter copy()
copy in interface Filtercopy in class UnaryFilter<T extends Comparable<T>>public String toString()
toString in class UnaryFilter<T extends Comparable<T>>public FilterSerializeId getSerializeId()
Copyright © 2022 The Apache Software Foundation. All rights reserved.