Package com.infragistics.reveal.sdk.api
Interface IRVInMemoryData
-
public interface IRVInMemoryData
The interface representing in-memory data to be returned byIRVDataProvider
, please note data is returned as anIterable
, so there's no need to have all data loaded in memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<Iterable<Object>>
getData()
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.
-
-
-
Method Detail
-
getData
Iterable<Iterable<Object>> getData()
Returns anIterable
object 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
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 bygetData()
must be returned in the same order than the columns defined by this method.- Returns:
- An instance of
Iterable
containing aRVSchemaColumn
for each column in this dataset.
-
-