Package io.revealbi.core.data
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 Details
-
getData
Returns anIterableobject with all rows in this dataset, please note data is returned as anIterable, so there's no need to have all data loaded in memory. For each row returned from thisIterable, the order of values must match the order specified in the collection returned bygetSchema().- Returns:
- An instance of
Iterablethat 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 bygetData()must be returned in the same order than the columns defined by this method.- Returns:
- An instance of
Iterablecontaining aRVSchemaColumnfor each column in this dataset.
-