public class DatasetMessage extends ImmutableMessage
Modifier and Type | Field and Description |
---|---|
protected Dataset |
dataset
Dataset payload
|
metadata
Constructor and Description |
---|
DatasetMessage(Dataset dataset)
Creates a new DatasetMessage with no metadata
|
DatasetMessage(DatasetMessage orig)
Copy constructor
|
DatasetMessage(DatasetMessage orig,
java.lang.String addlMetadata)
Creates a copy of a DatasetMessage with additional metadata
|
DatasetMessage(Dataset dataset,
java.lang.String metadata)
Creates a new DatasetMessage
|
Modifier and Type | Method and Description |
---|---|
Dataset |
getDataset()
Retrieves the Dataset payload
|
genMetadata, genMetadata, genMetadataEntry, getMetadata, getMetadata
protected final Dataset dataset
public DatasetMessage(Dataset dataset, java.lang.String metadata)
dataset
- payloadmetadata
- metadatapublic DatasetMessage(Dataset dataset)
dataset
- payloadpublic DatasetMessage(DatasetMessage orig)
orig
- message to copypublic DatasetMessage(DatasetMessage orig, java.lang.String addlMetadata)
orig
- message to copyaddlMetadata
- additional metadatapublic Dataset getDataset()