write method
Writes the objects out to the oprot
protocol.
Implementation
write(TProtocol oprot) {
validate();
oprot.writeStructBegin(_STRUCT_DESC);
if (this.column_name != null) {
oprot.writeFieldBegin(_COLUMN_NAME_FIELD_DESC);
oprot.writeBinary(this.column_name);
oprot.writeFieldEnd();
}
oprot.writeFieldBegin(_SCAN_TYPE_FIELD_DESC);
oprot.writeI32(this.scan_type);
oprot.writeFieldEnd();
if (this.begin_value != null) {
oprot.writeFieldBegin(_BEGIN_VALUE_FIELD_DESC);
this.begin_value?.write(oprot);
oprot.writeFieldEnd();
}
if (this.end_value != null) {
oprot.writeFieldBegin(_END_VALUE_FIELD_DESC);
this.end_value?.write(oprot);
oprot.writeFieldEnd();
}
oprot.writeFieldBegin(_INCLUDE_BEGIN_FIELD_DESC);
oprot.writeBool(this.include_begin);
oprot.writeFieldEnd();
oprot.writeFieldBegin(_INCLUDE_END_FIELD_DESC);
oprot.writeBool(this.include_end);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}