getFieldValue method
Get a field's value by fieldId
. Primitive types will be wrapped in the
appropriate "boxed" types.
Implementation
getFieldValue(int fieldID) {
switch (fieldID) {
case SPACE_ID:
return this.space_id;
case PARTS:
return this.parts;
case RETURN_COLUMNS:
return this.return_columns;
case LIMIT:
return this.limit;
case START_TIME:
return this.start_time;
case END_TIME:
return this.end_time;
case FILTER:
return this.filter;
case ONLY_LATEST_VERSION:
return this.only_latest_version;
case ENABLE_READ_FROM_FOLLOWER:
return this.enable_read_from_follower;
case COMMON:
return this.common;
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}