public void read(org.apache.thrift.protocol.TProtocol iprot, CreateTableRequest 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: // TABLE
            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
              struct.table = new Table();
              struct.table.read(iprot);
              struct.setTableIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 2: // ENV_CONTEXT
            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
              struct.envContext = new EnvironmentContext();
              struct.envContext.read(iprot);
              struct.setEnvContextIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 3: // PRIMARY_KEYS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin();
                struct.primaryKeys = new java.util.ArrayList<SQLPrimaryKey>(_list1350.size);
                @org.apache.thrift.annotation.Nullable SQLPrimaryKey _elem1351;
                for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352)
                {
                  _elem1351 = new SQLPrimaryKey();
                  _elem1351.read(iprot);
                  struct.primaryKeys.add(_elem1351);
                }
                iprot.readListEnd();
              }
              struct.setPrimaryKeysIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 4: // FOREIGN_KEYS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1353 = iprot.readListBegin();
                struct.foreignKeys = new java.util.ArrayList<SQLForeignKey>(_list1353.size);
                @org.apache.thrift.annotation.Nullable SQLForeignKey _elem1354;
                for (int _i1355 = 0; _i1355 < _list1353.size; ++_i1355)
                {
                  _elem1354 = new SQLForeignKey();
                  _elem1354.read(iprot);
                  struct.foreignKeys.add(_elem1354);
                }
                iprot.readListEnd();
              }
              struct.setForeignKeysIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 5: // UNIQUE_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1356 = iprot.readListBegin();
                struct.uniqueConstraints = new java.util.ArrayList<SQLUniqueConstraint>(_list1356.size);
                @org.apache.thrift.annotation.Nullable SQLUniqueConstraint _elem1357;
                for (int _i1358 = 0; _i1358 < _list1356.size; ++_i1358)
                {
                  _elem1357 = new SQLUniqueConstraint();
                  _elem1357.read(iprot);
                  struct.uniqueConstraints.add(_elem1357);
                }
                iprot.readListEnd();
              }
              struct.setUniqueConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 6: // NOT_NULL_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1359 = iprot.readListBegin();
                struct.notNullConstraints = new java.util.ArrayList<SQLNotNullConstraint>(_list1359.size);
                @org.apache.thrift.annotation.Nullable SQLNotNullConstraint _elem1360;
                for (int _i1361 = 0; _i1361 < _list1359.size; ++_i1361)
                {
                  _elem1360 = new SQLNotNullConstraint();
                  _elem1360.read(iprot);
                  struct.notNullConstraints.add(_elem1360);
                }
                iprot.readListEnd();
              }
              struct.setNotNullConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 7: // DEFAULT_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1362 = iprot.readListBegin();
                struct.defaultConstraints = new java.util.ArrayList<SQLDefaultConstraint>(_list1362.size);
                @org.apache.thrift.annotation.Nullable SQLDefaultConstraint _elem1363;
                for (int _i1364 = 0; _i1364 < _list1362.size; ++_i1364)
                {
                  _elem1363 = new SQLDefaultConstraint();
                  _elem1363.read(iprot);
                  struct.defaultConstraints.add(_elem1363);
                }
                iprot.readListEnd();
              }
              struct.setDefaultConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 8: // CHECK_CONSTRAINTS
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1365 = iprot.readListBegin();
                struct.checkConstraints = new java.util.ArrayList<SQLCheckConstraint>(_list1365.size);
                @org.apache.thrift.annotation.Nullable SQLCheckConstraint _elem1366;
                for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367)
                {
                  _elem1366 = new SQLCheckConstraint();
                  _elem1366.read(iprot);
                  struct.checkConstraints.add(_elem1366);
                }
                iprot.readListEnd();
              }
              struct.setCheckConstraintsIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 9: // PROCESSOR_CAPABILITIES
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin();
                struct.processorCapabilities = new java.util.ArrayList<java.lang.String>(_list1368.size);
                @org.apache.thrift.annotation.Nullable java.lang.String _elem1369;
                for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370)
                {
                  _elem1369 = iprot.readString();
                  struct.processorCapabilities.add(_elem1369);
                }
                iprot.readListEnd();
              }
              struct.setProcessorCapabilitiesIsSet(true);
            } else { 
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          case 10: // PROCESSOR_IDENTIFIER
            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
              struct.processorIdentifier = iprot.readString();
              struct.setProcessorIdentifierIsSet(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/CreateTableRequest.java