public abstract class OutputRate extends Object implements SiddhiElement
Modifier and Type | Class and Description |
---|---|
static class |
OutputRate.Type
Output rate limiting types.
|
Constructor and Description |
---|
OutputRate() |
Modifier and Type | Method and Description |
---|---|
int[] |
getQueryContextEndIndex() |
int[] |
getQueryContextStartIndex() |
static EventOutputRate |
perEvents(Constant events) |
static SnapshotOutputRate |
perSnapshot(LongConstant longConstant) |
static SnapshotOutputRate |
perSnapshot(TimeConstant timeConstant) |
static TimeOutputRate |
perTimePeriod(LongConstant longConstant) |
static TimeOutputRate |
perTimePeriod(TimeConstant timeConstant) |
void |
setQueryContextEndIndex(int[] lineAndColumn) |
void |
setQueryContextStartIndex(int[] lineAndColumn) |
public static EventOutputRate perEvents(Constant events)
public static TimeOutputRate perTimePeriod(TimeConstant timeConstant)
public static TimeOutputRate perTimePeriod(LongConstant longConstant)
public static SnapshotOutputRate perSnapshot(TimeConstant timeConstant)
public static SnapshotOutputRate perSnapshot(LongConstant longConstant)
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.