public class ReducedWindowedDStream<K,V> extends DStream<scala.Tuple2<K,V>>
Constructor and Description |
---|
ReducedWindowedDStream(DStream<scala.Tuple2<K,V>> parent,
scala.Function2<V,V,V> reduceFunc,
scala.Function2<V,V,V> invReduceFunc,
scala.Option<scala.Function1<scala.Tuple2<K,V>,Object>> filterFunc,
Duration _windowDuration,
Duration _slideDuration,
Partitioner partitioner,
scala.reflect.ClassTag<K> evidence$1,
scala.reflect.ClassTag<V> evidence$2) |
Modifier and Type | Method and Description |
---|---|
DStream<scala.Tuple2<K,V>> |
checkpoint(Duration interval)
Enable periodic checkpointing of RDDs of this DStream
|
scala.Option<RDD<scala.Tuple2<K,V>>> |
compute(Time validTime)
Method that generates a RDD for the given time
|
scala.collection.immutable.List<DStream<scala.Tuple2<K,V>>> |
dependencies() |
boolean |
mustCheckpoint() |
Duration |
parentRememberDuration() |
DStream<scala.Tuple2<K,V>> |
persist(StorageLevel storageLevel)
Persist the RDDs of this DStream with the given storage level
|
DStream<scala.Tuple2<K,V>> |
reducedStream() |
Duration |
slideDuration()
Time interval after which the DStream generates a RDD
|
Duration |
windowDuration() |
cache, checkpointData, checkpointDuration, clearCheckpointData, clearMetadata, context, count, countByValue, countByValueAndWindow, countByWindow, creationSite, filter, flatMap, foreach, foreach, foreachRDD, foreachRDD, generatedRDDs, generateJob, getCreationSite, getOrCompute, glom, graph, initialize, isInitialized, isTimeValid, map, mapPartitions, persist, print, print, reduce, reduceByWindow, reduceByWindow, register, remember, rememberDuration, repartition, restoreCheckpointData, saveAsObjectFiles, saveAsTextFiles, setContext, setGraph, slice, slice, ssc, storageLevel, toPairDStreamFunctions, 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 ReducedWindowedDStream(DStream<scala.Tuple2<K,V>> parent, scala.Function2<V,V,V> reduceFunc, scala.Function2<V,V,V> invReduceFunc, scala.Option<scala.Function1<scala.Tuple2<K,V>,Object>> filterFunc, Duration _windowDuration, Duration _slideDuration, Partitioner partitioner, scala.reflect.ClassTag<K> evidence$1, scala.reflect.ClassTag<V> evidence$2)
public Duration windowDuration()
public Duration slideDuration()
DStream
slideDuration
in class DStream<scala.Tuple2<K,V>>
public boolean mustCheckpoint()
mustCheckpoint
in class DStream<scala.Tuple2<K,V>>
public Duration parentRememberDuration()
parentRememberDuration
in class DStream<scala.Tuple2<K,V>>
public DStream<scala.Tuple2<K,V>> persist(StorageLevel storageLevel)
DStream
public DStream<scala.Tuple2<K,V>> checkpoint(Duration interval)
DStream
checkpoint
in class DStream<scala.Tuple2<K,V>>
interval
- Time interval after which generated RDD will be checkpointed