public interface Filter
| 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() |
void |
deserialize(ByteBuffer buffer) |
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.
|
default void |
serialize(ByteBuffer buffer) |
void |
serialize(DataOutputStream outputStream) |
boolean satisfy(Statistics statistics)
statistics - statistics with min time, max time, min value, max value.boolean satisfy(long time,
Object value)
time - single point timevalue - single point valueboolean satisfyStartEndTime(long startTime,
long endTime)
startTime - start time of a page, series or deviceendTime - end time of a page, series or deviceboolean containStartEndTime(long startTime,
long endTime)
startTime - start time of a partitionendTime - end time of a partitionFilter copy()
void serialize(DataOutputStream outputStream)
default void serialize(ByteBuffer buffer)
void deserialize(ByteBuffer buffer)
FilterSerializeId getSerializeId()
Copyright © 2022 The Apache Software Foundation. All rights reserved.