public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_args 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.scan != null) { oprot.writeFieldBegin(SCAN_FIELD_DESC); struct.scan.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_ROWS_FIELD_DESC); oprot.writeI32(struct.numRows); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_args 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.scan != null) { oprot.writeFieldBegin(SCAN_FIELD_DESC); struct.scan.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_ROWS_FIELD_DESC); oprot.writeI32(struct.numRows); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_args 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.tscan != null) { oprot.writeFieldBegin(TSCAN_FIELD_DESC); struct.tscan.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_ROWS_FIELD_DESC); oprot.writeI32(struct.numRows); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, getScannerResults_args 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.tscan != null) { oprot.writeFieldBegin(TSCAN_FIELD_DESC); struct.tscan.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_ROWS_FIELD_DESC); oprot.writeI32(struct.numRows); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();