Package com.datarobot.impl
Class DatasetFrom
- java.lang.Object
-
- com.datarobot.impl.DatasetFrom
-
public class DatasetFrom extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DatasetFrom()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IDatasetSourcefrom(java.lang.String name, java.io.InputStream stream)Create a Data Source from a text/csv streamstatic IDatasetSourcefrom(java.lang.String name, java.net.URI uri)Create a Data Source from a URL that contains a CSV file.
-
-
-
Method Detail
-
from
public static IDatasetSource from(java.lang.String name, java.io.InputStream stream)
Create a Data Source from a text/csv stream- Parameters:
name- The name of the DataSet to be createdstream- The stream containing the data- Returns:
- Returns an IDataSetSource constructed from the name and stream
-
from
public static IDatasetSource from(java.lang.String name, java.net.URI uri)
Create a Data Source from a URL that contains a CSV file.- Parameters:
name- The name of the DataSet to be createduri- The public URI endpoint where the data resides- Returns:
- Returns an IDataSetSource constructed from the name and URI
-
-