public class TimePeriod extends Object implements SiddhiElement
Modifier and Type | Class and Description |
---|---|
static class |
TimePeriod.Duration
Durations supported in Incremental Aggregation.
|
static class |
TimePeriod.Operator
Operators supported in Incremental Aggregation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<TimePeriod.Duration> |
getDurations() |
TimePeriod.Operator |
getOperator() |
int[] |
getQueryContextEndIndex() |
int[] |
getQueryContextStartIndex() |
int |
hashCode() |
static TimePeriod |
interval(TimePeriod.Duration... durations) |
static TimePeriod |
range(TimePeriod.Duration begging,
TimePeriod.Duration end) |
void |
setQueryContextEndIndex(int[] lineAndColumn) |
void |
setQueryContextStartIndex(int[] lineAndColumn) |
public static TimePeriod range(TimePeriod.Duration begging, TimePeriod.Duration end)
public static TimePeriod interval(TimePeriod.Duration... durations)
public TimePeriod.Operator getOperator()
public List<TimePeriod.Duration> getDurations()
public int[] getQueryContextStartIndex()
getQueryContextStartIndex
in interface SiddhiElement
public void setQueryContextStartIndex(int[] lineAndColumn)
setQueryContextStartIndex
in interface SiddhiElement
public int[] getQueryContextEndIndex()
getQueryContextEndIndex
in interface SiddhiElement
public void setQueryContextEndIndex(int[] lineAndColumn)
setQueryContextEndIndex
in interface SiddhiElement
Copyright © 2018 WSO2. All rights reserved.