Select¶
Records for column¶
colRecords
¶
Select all the records for a column
Positional parameter:
- columnName
required
String
: the name of the column to select from
final List<GeoPoint> records = df.colRecords<GeoPoint>("geometry");
Limit¶
limit
¶
Limit the dataframe to a given number of rows
Positional parameter:
- max
int
: required: the max number of rows to return.
Named parameter:
- startIndex
int
: the index position to start select from. Default: 0
final df = df.limit(50, startIndex: 20);
// or
df.limitI(50);
Subset¶
rowsSubset
¶
Select a rows subset
Positional parameter:
- startIndex
required: the index to start select from
- endIndex
required: the index to finish select from
final List<List<dynamic>> rows = df.rowsSubset(10, 300);
dataSubset
¶
Select a data subset
Positional parameter:
- startIndex
required: the index to start select from
- endIndex
required: the index to finish select from
final List<Map<String, dynamic>> dataPoints = df.dataSubset(10, 300);