Class StreamInputInfo
Object
org.apache.spark.streaming.scheduler.StreamInputInfo
- All Implemented Interfaces:
- Serializable,- scala.Equals,- scala.Product
:: DeveloperApi ::
 Track the information of input stream at specified batch time.
 
param: inputStreamId the input stream id param: numRecords the number of records in a batch param: metadata metadata for this batch. It should contain at least one standard field named "Description" which maps to the content that will be shown in the UI.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionStreamInputInfo(int inputStreamId, long numRecords, scala.collection.immutable.Map<String, Object> metadata) 
- 
Method SummaryMethods 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- 
StreamInputInfo
 
- 
- 
Method Details- 
METADATA_KEY_DESCRIPTIONThe key for description inStreamInputInfo.metadata.- Returns:
- (undocumented)
 
- 
inputStreamIdpublic int inputStreamId()
- 
numRecordspublic long numRecords()
- 
metadata
- 
metadataDescription
 
-