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(java.lang.String textLine,
java.lang.String delimiter,
int timestampColumn,
java.text.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
Copyright © 2007-2017 The Apache Software Foundation