org.datanucleus.store.hbase.query.expression
Class HBaseBooleanExpression

java.lang.Object
  extended by org.datanucleus.store.hbase.query.expression.HBaseExpression
      extended by org.datanucleus.store.hbase.query.expression.HBaseBooleanExpression

public class HBaseBooleanExpression
extends HBaseExpression

Representation of a boolean expression in HBase queries.


Constructor Summary
HBaseBooleanExpression(HBaseBooleanExpression expr1, HBaseBooleanExpression expr2, org.datanucleus.query.expression.Expression.Operator op)
           
HBaseBooleanExpression(java.lang.String familyName, java.lang.String columnName, java.lang.Object value, org.datanucleus.query.expression.Expression.Operator op)
          Constructor when the expression represents a comparison, between the field and a value.
 
Method Summary
protected static org.apache.hadoop.hbase.filter.CompareFilter.CompareOp getComparisonOperatorForExpressionOperator(org.datanucleus.query.expression.Expression.Operator op)
           
 org.apache.hadoop.hbase.filter.Filter getFilter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBaseBooleanExpression

public HBaseBooleanExpression(java.lang.String familyName,
                              java.lang.String columnName,
                              java.lang.Object value,
                              org.datanucleus.query.expression.Expression.Operator op)
Constructor when the expression represents a comparison, between the field and a value.

Parameters:
familyName - Family name
columnName - Column name
value - The value
op - The operator (eq, noteq, lt, gt, etc)

HBaseBooleanExpression

public HBaseBooleanExpression(HBaseBooleanExpression expr1,
                              HBaseBooleanExpression expr2,
                              org.datanucleus.query.expression.Expression.Operator op)
Method Detail

getFilter

public org.apache.hadoop.hbase.filter.Filter getFilter()

getComparisonOperatorForExpressionOperator

protected static org.apache.hadoop.hbase.filter.CompareFilter.CompareOp getComparisonOperatorForExpressionOperator(org.datanucleus.query.expression.Expression.Operator op)


Copyright © 2012. All Rights Reserved.