public class DatasetFactory extends Object
| Constructor and Description |
|---|
DatasetFactory() |
| Modifier and Type | Method and Description |
|---|---|
DatasetCollection |
createDatasetCollection()
Creates a dataset collection
|
FileDataset |
createFileDataset(String datasetIdentifier,
String datasetDescription)
Creates a file dataset based on the specified arguments.
|
FileAccess |
createLegacyFileDataset(String datasetIdentifier,
String datasetDescription)
Deprecated.
|
StreamDataset |
createStreamDataset() |
StreamDataset |
createStreamDataset(String datasetIdentifier,
String datasetDescription)
Creates a streaming dataset based on the specified arguments.
|
StreamingAccess |
createStreamingDataset(String datasetIdentifier,
String datasetDescription)
Deprecated.
|
Dataset |
getDataset(ds.funnel.data.format.FormatReader mFormat)
Reconstructs the dataset from a set of bytes
|
DatasetCollection |
getDatasetCollection(ds.funnel.data.format.FormatReader mFormat)
Reconstruct the dataset collection from a byte[].
|
static DatasetFactory |
getInstance()
Deprecated.
|
@Deprecated public static DatasetFactory getInstance()
public DatasetCollection createDatasetCollection()
public DatasetCollection getDatasetCollection(ds.funnel.data.format.FormatReader mFormat) throws DatasetException
marshalledBytes - The byte[] representation of the datasetDatasetException - If the are problems reconstructing the dataset.public StreamDataset createStreamDataset(String datasetIdentifier, String datasetDescription) throws DatasetException
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the streaming dataset.public StreamDataset createStreamDataset() throws DatasetException
DatasetExceptionpublic FileDataset createFileDataset(String datasetIdentifier, String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the file dataset.@Deprecated public StreamingAccess createStreamingDataset(String datasetIdentifier, String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the streaming dataset.@Deprecated public FileAccess createLegacyFileDataset(String datasetIdentifier, String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the file dataset.public Dataset getDataset(ds.funnel.data.format.FormatReader mFormat) throws DatasetException
datasetBytes - The byte[] representation of the dataset.DatasetException - If there are problems in reconstructing the datasetCopyright © 2015. All rights reserved.