org.apache.expreval.expr.compare
Class GenericCompare.GenericComparable<T>

java.lang.Object
  extended by org.apache.hadoop.hbase.filter.WritableByteArrayComparable
      extended by org.apache.expreval.expr.compare.GenericCompare.GenericComparable<T>
All Implemented Interfaces:
Comparable<byte[]>, org.apache.hadoop.io.Writable
Enclosing class:
GenericCompare

protected abstract static class GenericCompare.GenericComparable<T>
extends org.apache.hadoop.hbase.filter.WritableByteArrayComparable


Constructor Summary
protected GenericCompare.GenericComparable()
           
 
Method Summary
protected  boolean equalValues(byte[] bytes)
           
protected  T getTypedValue()
           
protected  void setTypedValue(T value)
           
protected  void setValueInBytes(byte[] b)
           
protected  void setValueInBytes(FieldType fieldType, Object val)
           
 
Methods inherited from class org.apache.hadoop.hbase.filter.WritableByteArrayComparable
compareTo, getValue, readFields, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericCompare.GenericComparable

protected GenericCompare.GenericComparable()
Method Detail

getTypedValue

protected T getTypedValue()

setTypedValue

protected void setTypedValue(T value)

setValueInBytes

protected void setValueInBytes(byte[] b)

setValueInBytes

protected void setValueInBytes(FieldType fieldType,
                               Object val)
                        throws IOException
Throws:
IOException

equalValues

protected boolean equalValues(byte[] bytes)


Copyright © 2011. All Rights Reserved.