Class BatchInfo
Object
org.apache.spark.streaming.scheduler.BatchInfo
- All Implemented Interfaces:
- Serializable,- scala.Equals,- scala.Product
:: DeveloperApi ::
 Class having information on completed batches.
 param:  batchTime   Time of the batch
 param:  streamIdToInputInfo A map of input stream id to its input info
 param:  submissionTime  Clock time of when jobs of this batch was submitted to
                        the streaming scheduler queue
 param:  processingStartTime Clock time of when the first job of this batch started processing
 param:  processingEndTime Clock time of when the last job of this batch finished processing
 param:  outputOperationInfos The output operations in this batch
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBatchInfo(Time batchTime, scala.collection.immutable.Map<Object, StreamInputInfo> streamIdToInputInfo, long submissionTime, scala.Option<Object> processingStartTime, scala.Option<Object> processingEndTime, scala.collection.immutable.Map<Object, OutputOperationInfo> outputOperationInfos) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6) longThe number of recorders received by the receivers in this batch.scala.collection.immutable.Map<Object,OutputOperationInfo> scala.Option<Object>Time taken for the all jobs of this batch to finish processing from the time they started processing.scala.Option<Object>scala.Option<Object>scala.Option<Object>Time taken for the first job of this batch to start processing from the time this batch was submitted to the streaming scheduler.scala.collection.immutable.Map<Object,StreamInputInfo> longstatic StringtoString()scala.Option<Object>Time taken for all the jobs of this batch to finish processing from the time they were submitted.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
BatchInfopublic BatchInfo(Time batchTime, scala.collection.immutable.Map<Object, StreamInputInfo> streamIdToInputInfo, long submissionTime, scala.Option<Object> processingStartTime, scala.Option<Object> processingEndTime, scala.collection.immutable.Map<Object, OutputOperationInfo> outputOperationInfos) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6) 
- 
toString
- 
batchTime
- 
streamIdToInputInfo
- 
submissionTimepublic long submissionTime()
- 
processingStartTime
- 
processingEndTime
- 
outputOperationInfos
- 
schedulingDelayTime taken for the first job of this batch to start processing from the time this batch was submitted to the streaming scheduler. Essentially, it isprocessingStartTime-submissionTime.- Returns:
- (undocumented)
 
- 
processingDelayTime taken for the all jobs of this batch to finish processing from the time they started processing. Essentially, it isprocessingEndTime-processingStartTime.- Returns:
- (undocumented)
 
- 
totalDelayTime taken for all the jobs of this batch to finish processing from the time they were submitted. Essentially, it isprocessingDelay+schedulingDelay.- Returns:
- (undocumented)
 
- 
numRecordspublic long numRecords()The number of recorders received by the receivers in this batch.- Returns:
- (undocumented)
 
 
-