public class StreamInputInfo
extends Object
implements scala.Product, scala.Serializable
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.
Constructor and Description |
---|
StreamInputInfo(int inputStreamId,
long numRecords,
scala.collection.immutable.Map<String,Object> metadata) |
Modifier and Type | Method and Description |
---|---|
int |
inputStreamId() |
static String |
METADATA_KEY_DESCRIPTION()
The key for description in
StreamInputInfo.metadata . |
scala.collection.immutable.Map<String,Object> |
metadata() |
scala.Option<String> |
metadataDescription() |
long |
numRecords() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public StreamInputInfo(int inputStreamId, long numRecords, scala.collection.immutable.Map<String,Object> metadata)
public static String METADATA_KEY_DESCRIPTION()
StreamInputInfo.metadata
.public int inputStreamId()
public long numRecords()
public scala.collection.immutable.Map<String,Object> metadata()
public scala.Option<String> metadataDescription()