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 Summary
ConstructorDescriptionStreamInputInfo
(int inputStreamId, long numRecords, scala.collection.immutable.Map<String, Object> metadata) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
StreamInputInfo
-
-
Method Details
-
METADATA_KEY_DESCRIPTION
The key for description inStreamInputInfo.metadata
.- Returns:
- (undocumented)
-
inputStreamId
public int inputStreamId() -
numRecords
public long numRecords() -
metadata
-
metadataDescription
-