org.apache.pig.data
Class IndexedTuple
java.lang.Object
org.apache.pig.data.Datum
org.apache.pig.data.Tuple
org.apache.pig.data.IndexedTuple
- All Implemented Interfaces:
- Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable
public class IndexedTuple
- extends Tuple
This is an internal class that keeps track of the specific input that a Tuple came from
Fields inherited from class org.apache.pig.data.Tuple |
fields |
Methods inherited from class org.apache.pig.data.Tuple |
appendField, appendTuple, arity, compareTo, compareTo, copyFrom, equals, getAtomField, getBagField, getField, getMemorySize, getTupleField, greaterThan, hashCode, lessThan, read, readDatum, setField, setField, setField, setField, toDelimitedString |
index
public int index
IndexedTuple
public IndexedTuple()
IndexedTuple
public IndexedTuple(Tuple t,
int indexIn)
toString
public String toString()
- Overrides:
toString
in class Tuple
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Overrides:
write
in class Tuple
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Overrides:
readFields
in class Tuple
- Throws:
IOException
toTuple
public Tuple toTuple()
Copyright © ${year} The Apache Software Foundation