@org.apache.thrift.annotation.Nullable
  public java.lang.Object getFieldValue(_Fields field) {
    switch (field) {
    case PRIMARY_KEYS:
      return getPrimaryKeys();

    case FOREIGN_KEYS:
      return getForeignKeys();

    case UNIQUE_CONSTRAINTS:
      return getUniqueConstraints();

    case NOT_NULL_CONSTRAINTS:
      return getNotNullConstraints();

    case DEFAULT_CONSTRAINTS:
      return getDefaultConstraints();

    case CHECK_CONSTRAINTS:
      return getCheckConstraints();

    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field checkConstraints is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SQLAllTableConstraints.java