public class TimestampedTuple extends DefaultTuple
DefaultTuple.DefaultTupleRawComparator
Modifier and Type | Field and Description |
---|---|
protected boolean |
heartbeat |
protected double |
timestamp |
mFields
Constructor and Description |
---|
TimestampedTuple(int numFields) |
TimestampedTuple(String textLine,
String delimiter,
int timestampColumn,
SimpleDateFormat dateFormat) |
Modifier and Type | Method and Description |
---|---|
double |
getTimeStamp() |
boolean |
isHeartBeat() |
void |
setHeartBeat(boolean h) |
void |
setTimeStamp(double t) |
append, compareTo, get, getAll, getComparatorClass, getMemorySize, hashCode, readFields, set, size, write
equals, getType, isNull, iterator, reference, toDelimitedString, toString
public TimestampedTuple(int numFields)
public TimestampedTuple(String textLine, String delimiter, int timestampColumn, SimpleDateFormat dateFormat)
Copyright © 2007-2012 The Apache Software Foundation