org.apache.pig.data
Class TimestampedTuple
java.lang.Object
org.apache.pig.data.Datum
org.apache.pig.data.Tuple
org.apache.pig.data.TimestampedTuple
- All Implemented Interfaces:
- Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable
public class TimestampedTuple
- extends Tuple
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, readFields, setField, setField, setField, setField, toDelimitedString, toString, write |
timestamp
protected double timestamp
heartbeat
protected boolean heartbeat
TimestampedTuple
public TimestampedTuple(int numFields)
TimestampedTuple
public TimestampedTuple(String textLine,
String delimiter,
int timestampColumn,
SimpleDateFormat dateFormat)
getTimeStamp
public double getTimeStamp()
setTimeStamp
public void setTimeStamp(double t)
isHeartBeat
public boolean isHeartBeat()
setHeartBeat
public void setHeartBeat(boolean h)
Copyright © ${year} The Apache Software Foundation