org.apache.hadoop.zebra.pig.comparator
Class FixedLengthPrimitive
java.lang.Object
org.apache.hadoop.zebra.pig.comparator.ComparatorExpr
org.apache.hadoop.zebra.pig.comparator.LeafExpr
org.apache.hadoop.zebra.pig.comparator.FixedLengthPrimitive
- Direct Known Subclasses:
- BooleanExpr, ByteExpr, DoubleExpr, FloatExpr, IntExpr, LongExpr, ShortExpr
public abstract class FixedLengthPrimitive
- extends LeafExpr
Helper class for fixed length primitives
Field Summary |
protected byte[] |
bytes
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytes
protected byte[] bytes
FixedLengthPrimitive
protected FixedLengthPrimitive(int index,
int length)
- Constructor
- Parameters:
index
- length
-
convertValue
protected abstract void convertValue(byte[] b,
Object o)
appendObject
protected void appendObject(org.apache.hadoop.zebra.pig.comparator.EncodingOutputStream out,
Object o)
- Specified by:
appendObject
in class LeafExpr
implicitBound
protected boolean implicitBound()
- Specified by:
implicitBound
in class LeafExpr
Copyright © ${year} The Apache Software Foundation