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.
|
toStringinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic DirectKafkaInputDStream.DirectKafkaInputDStreamCheckpointData()
public scala.collection.mutable.HashMap<Time,scala.Tuple4<String,Object,Object,Object>[]> batchForTime()
public void update(Time time)
DStreamCheckpointDataupdate in class DStreamCheckpointData<R>public void cleanup(Time time)
DStreamCheckpointDatatime has been
written to the checkpoint directory.cleanup in class DStreamCheckpointData<R>public void restore()
DStreamCheckpointDatarestore in class DStreamCheckpointData<R>