org.apache.expreval.expr
Class MultipleExpressionContext
java.lang.Object
org.apache.expreval.expr.MultipleExpressionContext
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ExpressionProperty, ExpressionTree, SelectExpressionContext, SimpleExpressionContext, StatementPredicate
public abstract class MultipleExpressionContext
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleExpressionContext
protected MultipleExpressionContext()
MultipleExpressionContext
protected MultipleExpressionContext(TypeSignature typeSignature,
GenericValue... vals)
asString
public abstract String asString()
useResultData
public abstract boolean useResultData()
allowColumns
public abstract boolean allowColumns()
getColumnsUsedInExpr
public List<GenericColumn> getColumnsUsedInExpr()
getAttribsUsedInExpr
public List<ColumnAttrib> getAttribsUsedInExpr()
addExpression
public void addExpression(GenericValue genericValue)
getNamedParamMap
public Map<String,List<NamedParameter>> getNamedParamMap()
getExpressionList
protected List<GenericValue> getExpressionList()
getMappingContext
public MappingContext getMappingContext()
getMapping
public Mapping getMapping()
throws HBqlException
- Throws:
HBqlException
getTableMapping
public TableMapping getTableMapping()
getResultAccessor
public ResultAccessor getResultAccessor()
throws HBqlException
- Throws:
HBqlException
setMappingContext
public void setMappingContext(MappingContext mappingContext)
throws HBqlException
- Throws:
HBqlException
getGenericValue
protected GenericValue getGenericValue(int i)
evaluate
public Object evaluate(HConnectionImpl conn,
int i,
boolean allowColumns,
boolean allowCollections,
Object object)
throws HBqlException,
ResultMissingColumnException,
NullColumnValueException
- Throws:
HBqlException
ResultMissingColumnException
NullColumnValueException
evaluateConstant
public Object evaluateConstant(int i,
boolean allowCollections)
throws HBqlException
- Throws:
HBqlException
reset
public void reset()
setGenericValue
protected void setGenericValue(int i,
GenericValue treeRoot)
optimize
public void optimize()
throws HBqlException
- Throws:
HBqlException
validateTypes
public void validateTypes(boolean allowColumns,
boolean allowCollections)
throws HBqlException
- Throws:
HBqlException
getParameterList
public List<NamedParameter> getParameterList()
addNamedParameter
public void addNamedParameter(NamedParameter param)
setParameter
public int setParameter(String name,
Object val)
throws HBqlException
- Throws:
HBqlException
addColumnToUsedList
public void addColumnToUsedList(GenericColumn column)
Copyright © 2011. All Rights Reserved.