org.apache.expreval.expr.var
Class DelegateColumn

java.lang.Object
  extended by org.apache.expreval.expr.var.GenericColumn<GenericValue>
      extended by org.apache.expreval.expr.var.DelegateColumn
All Implemented Interfaces:
Serializable, GenericValue

public class DelegateColumn
extends GenericColumn<GenericValue>

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
DelegateColumn(String variableName)
           
 
Method Summary
 GenericColumn<? extends GenericValue> getTypedColumn()
           
 Object getValue(HConnectionImpl conn, Object object)
           
 String getVariableName()
           
 void setExpressionContext(MultipleExpressionContext context)
           
 Class<? extends GenericValue> validateTypes(GenericValue parentExpr, boolean allowCollections)
           
 
Methods inherited from class org.apache.expreval.expr.var.GenericColumn
applyResultToAggregateValue, asString, getColumnAttrib, getExpressionContext, getFieldType, getFilter, getOptimizedValue, hasAColumnReference, initAggregateValue, isAColumnReference, isAConstant, isAnAggregateValue, isDefaultKeyword, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateColumn

public DelegateColumn(String variableName)
Method Detail

getTypedColumn

public GenericColumn<? extends GenericValue> getTypedColumn()

getVariableName

public String getVariableName()
Overrides:
getVariableName in class GenericColumn<GenericValue>

getValue

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

validateTypes

public Class<? extends GenericValue> validateTypes(GenericValue parentExpr,
                                                   boolean allowCollections)
                                            throws HBqlException
Specified by:
validateTypes in interface GenericValue
Overrides:
validateTypes in class GenericColumn<GenericValue>
Throws:
HBqlException

setExpressionContext

public void setExpressionContext(MultipleExpressionContext context)
                          throws HBqlException
Specified by:
setExpressionContext in interface GenericValue
Overrides:
setExpressionContext in class GenericColumn<GenericValue>
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.