org.wso2.siddhi.query.api.expression.constant
Class IntConstant

java.lang.Object
  extended by org.wso2.siddhi.query.api.expression.Expression
      extended by org.wso2.siddhi.query.api.expression.constant.IntConstant
All Implemented Interfaces:
Constant

public class IntConstant
extends Expression
implements Constant


Constructor Summary
IntConstant(int value)
           
 
Method Summary
 boolean equals(Object o)
           
 Integer getValue()
           
 int hashCode()
           
 String toString()
           
protected  void validate(List<QueryEventSource> queryEventSources, String streamReferenceId, boolean processInStreamDefinition)
           
 
Methods inherited from class org.wso2.siddhi.query.api.expression.Expression
add, divide, extension, function, getDependencySet, minus, mod, multiply, type, value, value, value, value, value, value, variable, variable, variable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntConstant

public IntConstant(int value)
Method Detail

getValue

public Integer getValue()

validate

protected void validate(List<QueryEventSource> queryEventSources,
                        String streamReferenceId,
                        boolean processInStreamDefinition)
Specified by:
validate in class Expression

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014. All rights reserved.