public void read(org.apache.thrift.protocol.TProtocol iprot, SQLAllTableConstraints struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TField schemeField;
      iprot.readStructBegin();
      while (true)
      {
        schemeField = iprot.readFieldBegin();
        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
          break;
        }
        switch (schemeField.id) {
          case 1: // PRIMARY_KEYS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list10 = iprot.readListBegin();
                struct.primaryKeys = new java.util.ArrayList<SQLPrimaryKey>(_list10.size);
                @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem11;
                for (int _i12 = 0; _i12 < _list10.size; ++_i12)
                {
                  _elem11 = new SQLPrimaryKey();
                  _elem11.read(iprot);
                  struct.primaryKeys.add(_elem11);
                }
                iprot.readListEnd();
              }
              struct.setPrimaryKeysIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // FOREIGN_KEYS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list13 = iprot.readListBegin();
                struct.foreignKeys = new java.util.ArrayList<SQLForeignKey>(_list13.size);
                @org.apache.thrift.annotation.Nullable SQLForeignKey _elem14;
                for (int _i15 = 0; _i15 < _list13.size; ++_i15)
                {
                  _elem14 = new SQLForeignKey();
                  _elem14.read(iprot);
                  struct.foreignKeys.add(_elem14);
                }
                iprot.readListEnd();
              }
              struct.setForeignKeysIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // UNIQUE_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list16 = iprot.readListBegin();
                struct.uniqueConstraints = new java.util.ArrayList<SQLUniqueConstraint>(_list16.size);
                @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem17;
                for (int _i18 = 0; _i18 < _list16.size; ++_i18)
                {
                  _elem17 = new SQLUniqueConstraint();
                  _elem17.read(iprot);
                  struct.uniqueConstraints.add(_elem17);
                }
                iprot.readListEnd();
              }
              struct.setUniqueConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // NOT_NULL_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list19 = iprot.readListBegin();
                struct.notNullConstraints = new java.util.ArrayList<SQLNotNullConstraint>(_list19.size);
                @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem20;
                for (int _i21 = 0; _i21 < _list19.size; ++_i21)
                {
                  _elem20 = new SQLNotNullConstraint();
                  _elem20.read(iprot);
                  struct.notNullConstraints.add(_elem20);
                }
                iprot.readListEnd();
              }
              struct.setNotNullConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // DEFAULT_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list22 = iprot.readListBegin();
                struct.defaultConstraints = new java.util.ArrayList<SQLDefaultConstraint>(_list22.size);
                @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem23;
                for (int _i24 = 0; _i24 < _list22.size; ++_i24)
                {
                  _elem23 = new SQLDefaultConstraint();
                  _elem23.read(iprot);
                  struct.defaultConstraints.add(_elem23);
                }
                iprot.readListEnd();
              }
              struct.setDefaultConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 6: // CHECK_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list25 = iprot.readListBegin();
                struct.checkConstraints = new java.util.ArrayList<SQLCheckConstraint>(_list25.size);
                @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem26;
                for (int _i27 = 0; _i27 < _list25.size; ++_i27)
                {
                  _elem26 = new SQLCheckConstraint();
                  _elem26.read(iprot);
                  struct.checkConstraints.add(_elem26);
                }
                iprot.readListEnd();
              }
              struct.setCheckConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          default:
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
        }
        iprot.readFieldEnd();
      }
      iprot.readStructEnd();
      struct.validate();
    }
Returns true if field corresponding to fieldID 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