public void write(org.apache.thrift.protocol.TProtocol oprot, invokeMethod_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); oprot.writeBinary(struct.success); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, getResource_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); oprot.writeBinary(struct.success); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, resourceGet_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); oprot.writeBinary(struct.success); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, resourceInvokeMethod_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); oprot.writeBinary(struct.success); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, THandleIdentifier struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.guid != null) { oprot.writeFieldBegin(GUID_FIELD_DESC); oprot.writeBinary(struct.guid); oprot.writeFieldEnd(); } if (struct.secret != null) { oprot.writeFieldBegin(SECRET_FIELD_DESC); oprot.writeBinary(struct.secret); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ThriftSerializedObject 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.bits != null) { oprot.writeFieldBegin(BITS_FIELD_DESC); oprot.writeBinary(struct.bits); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.data != null) { oprot.writeFieldBegin(DATA_FIELD_DESC); oprot.writeBinary(this.data); oprot.writeFieldEnd(); } if (this.stream != null) { oprot.writeFieldBegin(STREAM_FIELD_DESC); oprot.writeString(this.stream); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TCell struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.value != null) { oprot.writeFieldBegin(VALUE_FIELD_DESC); oprot.writeBinary(struct.value); oprot.writeFieldEnd(); } oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TTableName struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.ns != null) { if (struct.isSetNs()) { oprot.writeFieldBegin(NS_FIELD_DESC); oprot.writeBinary(struct.ns); oprot.writeFieldEnd(); } } if (struct.qualifier != null) { oprot.writeFieldBegin(QUALIFIER_FIELD_DESC); oprot.writeBinary(struct.qualifier); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Decimal struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.unscaled != null) { oprot.writeFieldBegin(UNSCALED_FIELD_DESC); oprot.writeBinary(struct.unscaled); oprot.writeFieldEnd(); } oprot.writeFieldBegin(SCALE_FIELD_DESC); oprot.writeI16(struct.scale); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(PUBLISH_TIME_FIELD_DESC); oprot.writeI64(this.publishTime); oprot.writeFieldEnd(); if (this.payLoad != null) { oprot.writeFieldBegin(PAY_LOAD_FIELD_DESC); oprot.writeBinary(this.payLoad); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.payload != null) { oprot.writeFieldBegin(PAYLOAD_FIELD_DESC); oprot.writeBinary(this.payload); oprot.writeFieldEnd(); } if (this.srcDlsn != null) { if (isSetSrcDlsn()) { oprot.writeFieldBegin(SRC_DLSN_FIELD_DESC); oprot.writeBinary(this.srcDlsn); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TIncrement struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.table != null) { oprot.writeFieldBegin(TABLE_FIELD_DESC); oprot.writeBinary(struct.table); oprot.writeFieldEnd(); } if (struct.row != null) { oprot.writeFieldBegin(ROW_FIELD_DESC); oprot.writeBinary(struct.row); oprot.writeFieldEnd(); } if (struct.column != null) { oprot.writeFieldBegin(COLUMN_FIELD_DESC); oprot.writeBinary(struct.column); oprot.writeFieldEnd(); } oprot.writeFieldBegin(AMMOUNT_FIELD_DESC); oprot.writeI64(struct.ammount); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TColumn struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.columnName != null) { oprot.writeFieldBegin(COLUMN_NAME_FIELD_DESC); oprot.writeBinary(struct.columnName); oprot.writeFieldEnd(); } if (struct.cell != null) { oprot.writeFieldBegin(CELL_FIELD_DESC); struct.cell.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, DataStruct struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.key != null) { oprot.writeFieldBegin(KEY_FIELD_DESC); oprot.writeString(struct.key); oprot.writeFieldEnd(); } if (struct.data != null) { oprot.writeFieldBegin(DATA_FIELD_DESC); oprot.writeBinary(struct.data); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnIncrement struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.family != null) { oprot.writeFieldBegin(FAMILY_FIELD_DESC); oprot.writeBinary(struct.family); oprot.writeFieldEnd(); } if (struct.qualifier != null) { oprot.writeFieldBegin(QUALIFIER_FIELD_DESC); oprot.writeBinary(struct.qualifier); oprot.writeFieldEnd(); } if (struct.isSetAmount()) { oprot.writeFieldBegin(AMOUNT_FIELD_DESC); oprot.writeI64(struct.amount); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, Mutation struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(IS_DELETE_FIELD_DESC); oprot.writeBool(struct.isDelete); oprot.writeFieldEnd(); if (struct.column != null) { oprot.writeFieldBegin(COLUMN_FIELD_DESC); oprot.writeBinary(struct.column); oprot.writeFieldEnd(); } if (struct.value != null) { oprot.writeFieldBegin(VALUE_FIELD_DESC); oprot.writeBinary(struct.value); oprot.writeFieldEnd(); } oprot.writeFieldBegin(WRITE_TO_WAL_FIELD_DESC); oprot.writeBool(struct.writeToWAL); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, MetadataPpdResult struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.metadata != null) { if (struct.isSetMetadata()) { oprot.writeFieldBegin(METADATA_FIELD_DESC); oprot.writeBinary(struct.metadata); oprot.writeFieldEnd(); } } if (struct.includeBitset != null) { if (struct.isSetIncludeBitset()) { oprot.writeFieldBegin(INCLUDE_BITSET_FIELD_DESC); oprot.writeBinary(struct.includeBitset); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(TProtocol oprot) throws TException { validate(); oprot.writeStructBegin(STRUCT_DESC); if (this.ctx != null) { oprot.writeFieldBegin(CTX_FIELD_DESC); this.ctx.write(oprot); oprot.writeFieldEnd(); } if (this.data != null) { oprot.writeFieldBegin(DATA_FIELD_DESC); oprot.writeBinary(this.data); oprot.writeFieldEnd(); } if (this.stream != null) { oprot.writeFieldBegin(STREAM_FIELD_DESC); oprot.writeString(this.stream); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, DropPartitionsExpr struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.expr != null) { oprot.writeFieldBegin(EXPR_FIELD_DESC); oprot.writeBinary(struct.expr); oprot.writeFieldEnd(); } if (struct.isSetPartArchiveLevel()) { oprot.writeFieldBegin(PART_ARCHIVE_LEVEL_FIELD_DESC); oprot.writeI32(struct.partArchiveLevel); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }