isSet method

bool isSet(
  1. int fieldID
)
override

Check if a field is currently set or unset, using the fieldId.

Implementation

bool isSet(int fieldID) {
  switch (fieldID) {
    case EDGE_TYPES:
      return isSetEdge_types();
    case EDGE_DIRECTION:
      return isSetEdge_direction();
    case DEDUP:
      return isSetDedup();
    case STAT_PROPS:
      return isSetStat_props();
    case VERTEX_PROPS:
      return isSetVertex_props();
    case EDGE_PROPS:
      return isSetEdge_props();
    case EXPRESSIONS:
      return isSetExpressions();
    case ORDER_BY:
      return isSetOrder_by();
    case RANDOM:
      return isSetRandom();
    case LIMIT:
      return isSetLimit();
    case FILTER:
      return isSetFilter();
    case TAG_FILTER:
      return isSetTag_filter();
    default:
      throw new ArgumentError("Field $fieldID doesn't exist!");
  }
}