code: private void validateTable(TableDefinition tableDef) {
          // No options are currently allowed:
          for (String optName : tableDef.getOptionNames()) {
              Utils.require(false, "Unknown option for OLAPService table: " + optName);
          }
          
          for (FieldDefinition fieldDef : tableDef.getFieldDefinitions()) {
              validateField(fieldDef);
          }
      }
docs: Validate the given table for OLAP constraints.