Class 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 IDatasetSource from​(java.lang.String name, java.io.InputStream stream)
      Create a Data Source from a text/csv stream
      static IDatasetSource from​(java.lang.String name, java.net.URI uri)
      Create a Data Source from a URL that contains a CSV file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DatasetFrom

        public DatasetFrom()
    • 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 created
        stream - 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 created
        uri - The public URI endpoint where the data resides
        Returns:
        Returns an IDataSetSource constructed from the name and URI