Apache.Hadoop.Hbase.Thrift.Hbase.getTableRegions_args.Write C# (CSharp) Method

Write() public method

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
return void
            public void Write(TProtocol oprot)
            {
                TStruct struc = new TStruct("getTableRegions_args");
                oprot.WriteStructBegin(struc);
                TField field = new TField();
                if (this.tableName != null) {
                  field.Name = "tableName";
                  field.Type = TType.String;
                  field.ID = 1;
                  oprot.WriteFieldBegin(field);
                  oprot.WriteBinary(this.tableName);
                  oprot.WriteFieldEnd();
                }
                oprot.WriteFieldStop();
                oprot.WriteStructEnd();
            }