isSet method
Check if a field is currently set or unset, using the fieldId
.
Implementation
bool isSet(int fieldID) {
switch (fieldID) {
case SPACE_ID:
return isSetSpace_id();
case PARTS:
return isSetParts();
case VERTEX_PROPS:
return isSetVertex_props();
case EDGE_PROPS:
return isSetEdge_props();
case EXPRESSIONS:
return isSetExpressions();
case DEDUP:
return isSetDedup();
case ORDER_BY:
return isSetOrder_by();
case LIMIT:
return isSetLimit();
case FILTER:
return isSetFilter();
case COMMON:
return isSetCommon();
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}