@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, SQLAllTableConstraints struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(6);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list40 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.primaryKeys = new java.util.ArrayList<SQLPrimaryKey>(_list40.size);
          @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem41;
          for (int _i42 = 0; _i42 < _list40.size; ++_i42)
          {
            _elem41 = new SQLPrimaryKey();
            _elem41.read(iprot);
            struct.primaryKeys.add(_elem41);
          }
        }
        struct.setPrimaryKeysIsSet(true);
      }
      if (incoming.get(1)) {
        {
          org.apache.thrift.protocol.TList _list43 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.foreignKeys = new java.util.ArrayList<SQLForeignKey>(_list43.size);
          @org.apache.thrift.annotation.Nullable SQLForeignKey _elem44;
          for (int _i45 = 0; _i45 < _list43.size; ++_i45)
          {
            _elem44 = new SQLForeignKey();
            _elem44.read(iprot);
            struct.foreignKeys.add(_elem44);
          }
        }
        struct.setForeignKeysIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TList _list46 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.uniqueConstraints = new java.util.ArrayList<SQLUniqueConstraint>(_list46.size);
          @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem47;
          for (int _i48 = 0; _i48 < _list46.size; ++_i48)
          {
            _elem47 = new SQLUniqueConstraint();
            _elem47.read(iprot);
            struct.uniqueConstraints.add(_elem47);
          }
        }
        struct.setUniqueConstraintsIsSet(true);
      }
      if (incoming.get(3)) {
        {
          org.apache.thrift.protocol.TList _list49 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.notNullConstraints = new java.util.ArrayList<SQLNotNullConstraint>(_list49.size);
          @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem50;
          for (int _i51 = 0; _i51 < _list49.size; ++_i51)
          {
            _elem50 = new SQLNotNullConstraint();
            _elem50.read(iprot);
            struct.notNullConstraints.add(_elem50);
          }
        }
        struct.setNotNullConstraintsIsSet(true);
      }
      if (incoming.get(4)) {
        {
          org.apache.thrift.protocol.TList _list52 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.defaultConstraints = new java.util.ArrayList<SQLDefaultConstraint>(_list52.size);
          @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem53;
          for (int _i54 = 0; _i54 < _list52.size; ++_i54)
          {
            _elem53 = new SQLDefaultConstraint();
            _elem53.read(iprot);
            struct.defaultConstraints.add(_elem53);
          }
        }
        struct.setDefaultConstraintsIsSet(true);
      }
      if (incoming.get(5)) {
        {
          org.apache.thrift.protocol.TList _list55 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.checkConstraints = new java.util.ArrayList<SQLCheckConstraint>(_list55.size);
          @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem56;
          for (int _i57 = 0; _i57 < _list55.size; ++_i57)
          {
            _elem56 = new SQLCheckConstraint();
            _elem56.read(iprot);
            struct.checkConstraints.add(_elem56);
          }
        }
        struct.setCheckConstraintsIsSet(true);
      }
    }
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