org.wso2.siddhi.query.api.expression
Class Expression
java.lang.Object
org.wso2.siddhi.query.api.expression.Expression
- Direct Known Subclasses:
- Add, BoolConstant, Divide, DoubleConstant, FloatConstant, FunctionExpression, IntConstant, LongConstant, Minus, Mod, Multiply, StringConstant, Type, Variable
public abstract class Expression
- extends Object
|
Method Summary |
static Add |
add(Expression leftValue,
Expression rightValue)
|
static Divide |
divide(Expression leftValue,
Expression rightValue)
|
static Expression |
extension(String extensionNamespace,
String extensionFunctionName,
Expression... expressions)
|
static Expression |
function(String extensionFunctionName,
Expression... expressions)
|
protected Set<String> |
getDependencySet()
|
static Minus |
minus(Expression leftValue,
Expression rightValue)
|
static Mod |
mod(Expression leftValue,
Expression rightValue)
|
static Multiply |
multiply(Expression leftValue,
Expression rightValue)
|
static Type |
type(Attribute.Type type)
|
protected abstract void |
validate(List<QueryEventSource> queryEventSources,
String streamReferenceId,
boolean processInStreamDefinition)
|
static BoolConstant |
value(boolean value)
|
static DoubleConstant |
value(double value)
|
static FloatConstant |
value(float value)
|
static IntConstant |
value(int value)
|
static LongConstant |
value(long value)
|
static StringConstant |
value(String value)
|
static Variable |
variable(String attributeName)
|
static Variable |
variable(String streamId,
int position,
String attributeName)
|
static Variable |
variable(String streamId,
String attributeName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Expression
public Expression()
value
public static StringConstant value(String value)
value
public static IntConstant value(int value)
value
public static LongConstant value(long value)
value
public static DoubleConstant value(double value)
value
public static FloatConstant value(float value)
value
public static BoolConstant value(boolean value)
variable
public static Variable variable(String streamId,
String attributeName)
add
public static Add add(Expression leftValue,
Expression rightValue)
minus
public static Minus minus(Expression leftValue,
Expression rightValue)
multiply
public static Multiply multiply(Expression leftValue,
Expression rightValue)
divide
public static Divide divide(Expression leftValue,
Expression rightValue)
mod
public static Mod mod(Expression leftValue,
Expression rightValue)
variable
public static Variable variable(String attributeName)
variable
public static Variable variable(String streamId,
int position,
String attributeName)
extension
public static Expression extension(String extensionNamespace,
String extensionFunctionName,
Expression... expressions)
function
public static Expression function(String extensionFunctionName,
Expression... expressions)
type
public static Type type(Attribute.Type type)
validate
protected abstract void validate(List<QueryEventSource> queryEventSources,
String streamReferenceId,
boolean processInStreamDefinition)
getDependencySet
protected Set<String> getDependencySet()
Copyright © 2014. All rights reserved.