public class GroupByMonthFilter extends GroupByFilter
endTime, interval, slidingStep, startTime| Constructor and Description |
|---|
GroupByMonthFilter() |
GroupByMonthFilter(GroupByMonthFilter filter) |
GroupByMonthFilter(long interval,
long slidingStep,
long startTime,
long endTime,
boolean isSlidingStepByMonth,
boolean isIntervalByMonth,
TimeZone timeZone) |
| 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) |
boolean |
equals(Object obj) |
FilterSerializeId |
getSerializeId() |
int |
hashCode() |
boolean |
satisfy(long time,
Object value)
To examine whether the single point(with time and value) 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.
|
void |
serialize(DataOutputStream outputStream) |
getEndTime, getStartTime, satisfy, toStringpublic GroupByMonthFilter()
public GroupByMonthFilter(long interval,
long slidingStep,
long startTime,
long endTime,
boolean isSlidingStepByMonth,
boolean isIntervalByMonth,
TimeZone timeZone)
public GroupByMonthFilter(GroupByMonthFilter filter)
public boolean satisfy(long time,
Object value)
Filtersatisfy in interface Filtersatisfy in class GroupByFiltertime - single point timevalue - single point valuepublic boolean satisfyStartEndTime(long startTime,
long endTime)
FiltersatisfyStartEndTime in interface FiltersatisfyStartEndTime in class GroupByFilterstartTime - start time of a page, series or deviceendTime - end time of a page, series or devicepublic Filter copy()
copy in interface Filtercopy in class GroupByFilterpublic boolean containStartEndTime(long startTime,
long endTime)
FiltercontainStartEndTime in interface FiltercontainStartEndTime in class GroupByFilterstartTime - start time of a partitionendTime - end time of a partitionpublic void serialize(DataOutputStream outputStream)
serialize in interface Filterserialize in class GroupByFilterpublic void deserialize(ByteBuffer buffer)
deserialize in interface Filterdeserialize in class GroupByFilterpublic boolean equals(Object obj)
equals in class GroupByFilterpublic int hashCode()
hashCode in class GroupByFilterpublic FilterSerializeId getSerializeId()
getSerializeId in interface FiltergetSerializeId in class GroupByFilterCopyright © 2022 The Apache Software Foundation. All rights reserved.