Class CrontabParameterExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.CrontabParameterExpression
- All Implemented Interfaces:
Expression
,Serializable
Parameter expression such as last/lastweek/weekday/wildcard for use in crontab expressions.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns precedence.getType()
Returns crontab parameter type.void
setType
(ScheduleItemType type) Sets the crontab parameter type.void
toPrecedenceFreeEPL
(StringWriter writer) Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.Methods inherited from class com.espertech.esper.common.client.soda.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
-
Constructor Details
-
CrontabParameterExpression
public CrontabParameterExpression()Ctor. -
CrontabParameterExpression
Ctor.- Parameters:
type
- of crontab parameter
-
-
Method Details
-
getPrecedence
Description copied from interface:Expression
Returns precedence.- Returns:
- precedence
-
toPrecedenceFreeEPL
Description copied from class:ExpressionBase
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.- Specified by:
toPrecedenceFreeEPL
in classExpressionBase
- Parameters:
writer
- is the output to use
-
getType
Returns crontab parameter type.- Returns:
- crontab parameter type
-
setType
Sets the crontab parameter type.- Parameters:
type
- crontab parameter type
-