org.apache.hadoop.zebra.pig.comparator
Class LeafExpr
java.lang.Object
org.apache.hadoop.zebra.pig.comparator.ComparatorExpr
org.apache.hadoop.zebra.pig.comparator.LeafExpr
- Direct Known Subclasses:
- BagExpr, BytesExpr, FixedLengthPrimitive, StringExpr
public abstract class LeafExpr
- extends ComparatorExpr
Base class of comparator expressions that are the leaves of the expression
tree.
Constructor Summary |
protected |
LeafExpr(int index)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeafExpr
protected LeafExpr(int index)
- Constructor
- Parameters:
index
- tuple position index
illustrate
protected void illustrate(PrintStream out,
int escapeLevel,
int comescLevel,
boolean complement)
- Default illustrator for leaf expressions.
- Parameters:
out
- escapeLevel
- comescLevel
- complement
-
append
protected void append(org.apache.hadoop.zebra.pig.comparator.EncodingOutputStream out,
Tuple tuple)
throws ExecException
- Throws:
ExecException
appendObject
protected abstract void appendObject(org.apache.hadoop.zebra.pig.comparator.EncodingOutputStream out,
Object object)
throws ExecException
- Throws:
ExecException
getType
protected abstract String getType()
implicitBound
protected abstract boolean implicitBound()
appendLeafGenerator
protected void appendLeafGenerator(List<LeafGenerator> list,
int el,
int cel,
boolean c,
boolean explicitBound)
- Specified by:
appendLeafGenerator
in class ComparatorExpr
toString
protected void toString(PrintStream out)
- Specified by:
toString
in class ComparatorExpr
Copyright © ${year} The Apache Software Foundation