public class DirectKafkaInputDStream.DirectKafkaInputDStreamCheckpointData extends DStreamCheckpointData<R>
Constructor and Description |
---|
DirectKafkaInputDStream.DirectKafkaInputDStreamCheckpointData() |
Modifier and Type | Method and Description |
---|---|
scala.collection.mutable.HashMap<Time,scala.Tuple4<String,Object,Object,Object>[]> |
batchForTime() |
void |
cleanup(Time time)
Cleanup old checkpoint data.
|
void |
restore()
Restore the checkpoint data.
|
void |
update(Time time)
Updates the checkpoint data of the DStream.
|
toString
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public DirectKafkaInputDStream.DirectKafkaInputDStreamCheckpointData()
public scala.collection.mutable.HashMap<Time,scala.Tuple4<String,Object,Object,Object>[]> batchForTime()
public void update(Time time)
DStreamCheckpointData
update
in class DStreamCheckpointData<R>
public void cleanup(Time time)
DStreamCheckpointData
time
has been
written to the checkpoint directory.cleanup
in class DStreamCheckpointData<R>
public void restore()
DStreamCheckpointData
restore
in class DStreamCheckpointData<R>