org.apache.expreval.expr.literal
Class DefaultKeyword

java.lang.Object
  extended by org.apache.expreval.expr.literal.DefaultKeyword
All Implemented Interfaces:
Serializable, GenericValue

public class DefaultKeyword
extends Object
implements GenericValue

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.expreval.expr.node.GenericValue
serialVersionUID
 
Constructor Summary
DefaultKeyword()
           
 
Method Summary
 void applyResultToAggregateValue(AggregateValue aggregateValue, org.apache.hadoop.hbase.client.Result result)
           
 String asString()
           
 org.apache.hadoop.hbase.filter.Filter getFilter()
           
 GenericValue getOptimizedValue()
           
 Object getValue(HConnectionImpl conn, Object object)
           
 boolean hasAColumnReference()
           
 void initAggregateValue(AggregateValue aggregateValue)
           
 boolean isAColumnReference()
           
 boolean isAConstant()
           
 boolean isAnAggregateValue()
           
 boolean isDefaultKeyword()
           
 void reset()
           
 void setExpressionContext(MultipleExpressionContext context)
           
 Class<? extends GenericValue> validateTypes(GenericValue parentExpr, boolean allowCollections)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultKeyword

public DefaultKeyword()
Method Detail

setExpressionContext

public void setExpressionContext(MultipleExpressionContext context)
Specified by:
setExpressionContext in interface GenericValue

getValue

public Object getValue(HConnectionImpl conn,
                       Object object)
Specified by:
getValue in interface GenericValue

getOptimizedValue

public GenericValue getOptimizedValue()
Specified by:
getOptimizedValue in interface GenericValue

validateTypes

public Class<? extends GenericValue> validateTypes(GenericValue parentExpr,
                                                   boolean allowCollections)
Specified by:
validateTypes in interface GenericValue

isAConstant

public boolean isAConstant()
Specified by:
isAConstant in interface GenericValue

isDefaultKeyword

public boolean isDefaultKeyword()
Specified by:
isDefaultKeyword in interface GenericValue

isAnAggregateValue

public boolean isAnAggregateValue()
Specified by:
isAnAggregateValue in interface GenericValue

initAggregateValue

public void initAggregateValue(AggregateValue aggregateValue)
                        throws HBqlException
Specified by:
initAggregateValue in interface GenericValue
Throws:
HBqlException

applyResultToAggregateValue

public void applyResultToAggregateValue(AggregateValue aggregateValue,
                                        org.apache.hadoop.hbase.client.Result result)
                                 throws HBqlException
Specified by:
applyResultToAggregateValue in interface GenericValue
Throws:
HBqlException

hasAColumnReference

public boolean hasAColumnReference()
Specified by:
hasAColumnReference in interface GenericValue

isAColumnReference

public boolean isAColumnReference()
Specified by:
isAColumnReference in interface GenericValue

asString

public String asString()
Specified by:
asString in interface GenericValue

reset

public void reset()
Specified by:
reset in interface GenericValue

getFilter

public org.apache.hadoop.hbase.filter.Filter getFilter()
                                                throws HBqlException
Specified by:
getFilter in interface GenericValue
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.