public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (schema != null) { schema.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (name != null) { name.validate(); } if (newSchema != null) { newSchema.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (schema != null) { schema.validate(); } if (serDe != null) { serDe.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, ISchemaName struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.catName != null) { oprot.writeFieldBegin(CAT_NAME_FIELD_DESC); oprot.writeString(struct.catName); oprot.writeFieldEnd(); } if (struct.dbName != null) { oprot.writeFieldBegin(DB_NAME_FIELD_DESC); oprot.writeString(struct.dbName); oprot.writeFieldEnd(); } if (struct.schemaName != null) { oprot.writeFieldBegin(SCHEMA_NAME_FIELD_DESC); oprot.writeString(struct.schemaName); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (schema != null) { schema.validate(); } if (serDe != null) { serDe.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, ISchemaName struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.catName != null) { oprot.writeFieldBegin(CAT_NAME_FIELD_DESC); oprot.writeString(struct.catName); oprot.writeFieldEnd(); } if (struct.dbName != null) { oprot.writeFieldBegin(DB_NAME_FIELD_DESC); oprot.writeString(struct.dbName); oprot.writeFieldEnd(); } if (struct.schemaName != null) { oprot.writeFieldBegin(SCHEMA_NAME_FIELD_DESC); oprot.writeString(struct.schemaName); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }