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