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 validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (serdeInfo != null) { serdeInfo.validate(); } if (skewedInfo != null) { skewedInfo.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, SerDeInfo struct) throws org.apache.thrift.TException { struct.validate();
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 validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (serdeInfo != null) { serdeInfo.validate(); } if (skewedInfo != null) { skewedInfo.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (serdeInfo != null) { serdeInfo.validate(); } if (skewedInfo != null) { skewedInfo.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (serdeInfo != null) { serdeInfo.validate(); } if (skewedInfo != null) { skewedInfo.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, SerDeInfo struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.name != null) { oprot.writeFieldBegin(NAME_FIELD_DESC); oprot.writeString(struct.name); oprot.writeFieldEnd(); } if (struct.serializationLib != null) { oprot.writeFieldBegin(SERIALIZATION_LIB_FIELD_DESC); oprot.writeString(struct.serializationLib); oprot.writeFieldEnd(); } if (struct.parameters != null) { oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); for (Map.Entry<String, String> _iter108 : struct.parameters.entrySet()) { oprot.writeString(_iter108.getKey()); oprot.writeString(_iter108.getValue()); } oprot.writeMapEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.name != null) { oprot.writeFieldBegin(NAME_FIELD_DESC); oprot.writeString(this.name); oprot.writeFieldEnd(); } if (this.serializationLib != null) { oprot.writeFieldBegin(SERIALIZATION_LIB_FIELD_DESC); oprot.writeString(this.serializationLib); oprot.writeFieldEnd(); } if (this.parameters != null) { oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.parameters.size())); for (Map.Entry<String, String> _iter48 : this.parameters.entrySet()) { oprot.writeString(_iter48.getKey()); oprot.writeString(_iter48.getValue()); } oprot.writeMapEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, SerDeInfo struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.name != null) { oprot.writeFieldBegin(NAME_FIELD_DESC); oprot.writeString(struct.name); oprot.writeFieldEnd(); } if (struct.serializationLib != null) { oprot.writeFieldBegin(SERIALIZATION_LIB_FIELD_DESC); oprot.writeString(struct.serializationLib); oprot.writeFieldEnd(); } if (struct.parameters != null) { oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); for (Map.Entry<String, String> _iter108 : struct.parameters.entrySet()) { oprot.writeString(_iter108.getKey()); oprot.writeString(_iter108.getValue()); } oprot.writeMapEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, SerDeInfo struct) throws org.apache.thrift.TException { struct.validate();