org.apache.pig.data
Class TimestampedTuple
java.lang.Object
org.apache.pig.data.DefaultTuple
org.apache.pig.data.TimestampedTuple
- All Implemented Interfaces:
- Serializable, Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable, Tuple
public class TimestampedTuple
- extends DefaultTuple
- See Also:
- Serialized Form
Methods inherited from class org.apache.pig.data.DefaultTuple |
append, compareTo, equals, get, getAll, getComparatorClass, getMemorySize, getType, hashCode, isNull, isNull, readFields, reference, set, setNull, size, 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 © 2012 The Apache Software Foundation