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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TimestampedTuple(int numFields)
public TimestampedTuple(String textLine, String delimiter, int timestampColumn, SimpleDateFormat dateFormat)
Copyright © 2007-2017 The Apache Software Foundation