public abstract class InputDStream<T> extends DStream<T>
ReceiverInputDStream
as the parent class.
Constructor and Description |
---|
InputDStream(StreamingContext ssc_,
scala.reflect.ClassTag<T> evidence$1) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.List<scala.runtime.Nothing$> |
dependencies() |
boolean |
isTimeValid(Time time)
Checks whether the 'time' is valid wrt slideDuration for generating RDD.
|
Time |
lastValidTime() |
Duration |
slideDuration()
Time interval after which the DStream generates a RDD
|
abstract void |
start()
Method called to start receiving data.
|
abstract void |
stop()
Method called to stop receiving data.
|
cache, checkpoint, checkpointData, checkpointDuration, clearCheckpointData, clearMetadata, compute, context, count, countByValue, countByValueAndWindow, countByWindow, creationSite, filter, flatMap, foreach, foreach, foreachRDD, foreachRDD, generatedRDDs, generateJob, getCreationSite, getOrCompute, glom, graph, initialize, isInitialized, map, mapPartitions, mustCheckpoint, parentRememberDuration, persist, persist, print, reduce, reduceByWindow, reduceByWindow, register, remember, rememberDuration, repartition, restoreCheckpointData, saveAsObjectFiles, saveAsTextFiles, setContext, setGraph, slice, slice, ssc, storageLevel, transform, transform, transformWith, transformWith, union, updateCheckpointData, validate, window, window, zeroTime
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public InputDStream(StreamingContext ssc_, scala.reflect.ClassTag<T> evidence$1)
public Time lastValidTime()
public boolean isTimeValid(Time time)
isTimeValid
in class DStream<T>
public scala.collection.immutable.List<scala.runtime.Nothing$> dependencies()
public Duration slideDuration()
DStream
slideDuration
in class DStream<T>
public abstract void start()
public abstract void stop()