VlDataRow class
One row of a dataset, filled column by column.
A row is handed back already attached to its dataset, so nothing has to be pushed anywhere by the caller.
See also VlDataset.
VlDataset data = VlDataset.create();
data.row().str("region", "North").num("sales", 120.0);
data.row().str("region", "South").num("sales", 93.0);
Constructors
Properties
Methods
-
back(
) → VlDataset - Returns to the dataset this row belongs to, so rows chain one after another.
-
flag(
String field, bool value) → VlDataRow - Puts true or false in one column of this row.
-
json(
String field, VlJson value) → VlDataRow - Puts an already-built value in one column of this row.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
num(
String field, double value) → VlDataRow - Puts a number in one column of this row.
-
str(
String field, String value) → VlDataRow - Puts text in one column of this row.
-
toString(
) → String -
A string representation of this object.
inherited
-
whole(
String field, int value) → VlDataRow - Puts a whole number in one column of this row.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited