Interface IRVInMemoryData


public interface IRVInMemoryData
The interface representing in-memory data to be returned by IRVDataProvider, please note data is returned as an Iterable, so there's no need to have all data loaded in memory.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an Iterable object with all rows in this dataset, please note data is returned as an Iterable, so there's no need to have all data loaded in memory.
    Returns the schema for this dataset, basically the list of columns (name and data type), data returned by getData() must be returned in the same order than the columns defined by this method.
  • Method Details

    • getData

      Iterable<Iterable<Object>> getData()
      Returns an Iterable object with all rows in this dataset, please note data is returned as an Iterable, so there's no need to have all data loaded in memory. For each row returned from this Iterable, the order of values must match the order specified in the collection returned by getSchema().
      Returns:
      An instance of Iterable that will return all rows in the dataset when iterated.
    • getSchema

      Iterable<RVSchemaColumn> getSchema()
      Returns the schema for this dataset, basically the list of columns (name and data type), data returned by getData() must be returned in the same order than the columns defined by this method.
      Returns:
      An instance of Iterable containing a RVSchemaColumn for each column in this dataset.