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 PLAN_NODE_DESCS:
return this.plan_node_descs;
case NODE_INDEX_MAP:
return this.node_index_map;
case FORMAT:
return this.format;
case OPTIMIZE_TIME_IN_US:
return this.optimize_time_in_us;
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}