org.apache.expreval.expr
Class ExpressionTree

java.lang.Object
  extended by org.apache.expreval.expr.MultipleExpressionContext
      extended by org.apache.expreval.expr.ExpressionTree
All Implemented Interfaces:
Serializable

public class ExpressionTree
extends MultipleExpressionContext

See Also:
Serialized Form

Constructor Summary
ExpressionTree()
           
 
Method Summary
 boolean allowColumns()
           
 String asString()
           
 Boolean evaluate(HConnectionImpl conn, Object object)
           
 org.apache.hadoop.hbase.filter.Filter getFilter()
           
static ExpressionTree newExpressionTree(Mapping mapping, GenericValue booleanValue)
           
 void setAllowColumns(boolean allowColumns)
           
 void setEmbeddedMapping()
           
 void setUseResultData(boolean useResultData)
           
 boolean useResultData()
           
 
Methods inherited from class org.apache.expreval.expr.MultipleExpressionContext
addColumnToUsedList, addExpression, addNamedParameter, evaluate, evaluateConstant, getAttribsUsedInExpr, getColumnsUsedInExpr, getExpressionList, getGenericValue, getMapping, getMappingContext, getNamedParamMap, getParameterList, getResultAccessor, getTableMapping, optimize, reset, setGenericValue, setMappingContext, setParameter, validateTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionTree

public ExpressionTree()
Method Detail

newExpressionTree

public static ExpressionTree newExpressionTree(Mapping mapping,
                                               GenericValue booleanValue)

setEmbeddedMapping

public void setEmbeddedMapping()
                        throws HBqlException
Throws:
HBqlException

evaluate

public Boolean evaluate(HConnectionImpl conn,
                        Object object)
                 throws HBqlException,
                        ResultMissingColumnException,
                        NullColumnValueException
Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException

getFilter

public org.apache.hadoop.hbase.filter.Filter getFilter()
                                                throws HBqlException
Throws:
HBqlException

asString

public String asString()
Specified by:
asString in class MultipleExpressionContext

setUseResultData

public void setUseResultData(boolean useResultData)

useResultData

public boolean useResultData()
Specified by:
useResultData in class MultipleExpressionContext

allowColumns

public boolean allowColumns()
Specified by:
allowColumns in class MultipleExpressionContext

setAllowColumns

public void setAllowColumns(boolean allowColumns)


Copyright © 2011. All Rights Reserved.