2 * Autogenerated by Thrift Compiler (0.9.0)
4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
9 namespace apache
{ namespace hadoop
{ namespace hbase
{ namespace thrift
{
11 uint32_t Hbase_enableTable_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
15 ::apache::thrift::protocol::TType ftype
;
18 xfer
+= iprot
->readStructBegin(fname
);
20 using ::apache::thrift::protocol::TProtocolException
;
25 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
26 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
32 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
33 xfer
+= iprot
->readBinary(this->tableName
);
34 this->__isset
.tableName
= true;
36 xfer
+= iprot
->skip(ftype
);
40 xfer
+= iprot
->skip(ftype
);
43 xfer
+= iprot
->readFieldEnd();
46 xfer
+= iprot
->readStructEnd();
51 uint32_t Hbase_enableTable_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
53 xfer
+= oprot
->writeStructBegin("Hbase_enableTable_args");
55 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
56 xfer
+= oprot
->writeBinary(this->tableName
);
57 xfer
+= oprot
->writeFieldEnd();
59 xfer
+= oprot
->writeFieldStop();
60 xfer
+= oprot
->writeStructEnd();
64 uint32_t Hbase_enableTable_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
66 xfer
+= oprot
->writeStructBegin("Hbase_enableTable_pargs");
68 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
69 xfer
+= oprot
->writeBinary((*(this->tableName
)));
70 xfer
+= oprot
->writeFieldEnd();
72 xfer
+= oprot
->writeFieldStop();
73 xfer
+= oprot
->writeStructEnd();
77 uint32_t Hbase_enableTable_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
81 ::apache::thrift::protocol::TType ftype
;
84 xfer
+= iprot
->readStructBegin(fname
);
86 using ::apache::thrift::protocol::TProtocolException
;
91 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
92 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
98 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
99 xfer
+= this->io
.read(iprot
);
100 this->__isset
.io
= true;
102 xfer
+= iprot
->skip(ftype
);
106 xfer
+= iprot
->skip(ftype
);
109 xfer
+= iprot
->readFieldEnd();
112 xfer
+= iprot
->readStructEnd();
117 uint32_t Hbase_enableTable_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
121 xfer
+= oprot
->writeStructBegin("Hbase_enableTable_result");
123 if (this->__isset
.io
) {
124 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
125 xfer
+= this->io
.write(oprot
);
126 xfer
+= oprot
->writeFieldEnd();
128 xfer
+= oprot
->writeFieldStop();
129 xfer
+= oprot
->writeStructEnd();
133 uint32_t Hbase_enableTable_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
137 ::apache::thrift::protocol::TType ftype
;
140 xfer
+= iprot
->readStructBegin(fname
);
142 using ::apache::thrift::protocol::TProtocolException
;
147 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
148 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
154 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
155 xfer
+= this->io
.read(iprot
);
156 this->__isset
.io
= true;
158 xfer
+= iprot
->skip(ftype
);
162 xfer
+= iprot
->skip(ftype
);
165 xfer
+= iprot
->readFieldEnd();
168 xfer
+= iprot
->readStructEnd();
173 uint32_t Hbase_disableTable_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
177 ::apache::thrift::protocol::TType ftype
;
180 xfer
+= iprot
->readStructBegin(fname
);
182 using ::apache::thrift::protocol::TProtocolException
;
187 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
188 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
194 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
195 xfer
+= iprot
->readBinary(this->tableName
);
196 this->__isset
.tableName
= true;
198 xfer
+= iprot
->skip(ftype
);
202 xfer
+= iprot
->skip(ftype
);
205 xfer
+= iprot
->readFieldEnd();
208 xfer
+= iprot
->readStructEnd();
213 uint32_t Hbase_disableTable_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
215 xfer
+= oprot
->writeStructBegin("Hbase_disableTable_args");
217 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
218 xfer
+= oprot
->writeBinary(this->tableName
);
219 xfer
+= oprot
->writeFieldEnd();
221 xfer
+= oprot
->writeFieldStop();
222 xfer
+= oprot
->writeStructEnd();
226 uint32_t Hbase_disableTable_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
228 xfer
+= oprot
->writeStructBegin("Hbase_disableTable_pargs");
230 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
231 xfer
+= oprot
->writeBinary((*(this->tableName
)));
232 xfer
+= oprot
->writeFieldEnd();
234 xfer
+= oprot
->writeFieldStop();
235 xfer
+= oprot
->writeStructEnd();
239 uint32_t Hbase_disableTable_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
243 ::apache::thrift::protocol::TType ftype
;
246 xfer
+= iprot
->readStructBegin(fname
);
248 using ::apache::thrift::protocol::TProtocolException
;
253 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
254 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
260 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
261 xfer
+= this->io
.read(iprot
);
262 this->__isset
.io
= true;
264 xfer
+= iprot
->skip(ftype
);
268 xfer
+= iprot
->skip(ftype
);
271 xfer
+= iprot
->readFieldEnd();
274 xfer
+= iprot
->readStructEnd();
279 uint32_t Hbase_disableTable_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
283 xfer
+= oprot
->writeStructBegin("Hbase_disableTable_result");
285 if (this->__isset
.io
) {
286 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
287 xfer
+= this->io
.write(oprot
);
288 xfer
+= oprot
->writeFieldEnd();
290 xfer
+= oprot
->writeFieldStop();
291 xfer
+= oprot
->writeStructEnd();
295 uint32_t Hbase_disableTable_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
299 ::apache::thrift::protocol::TType ftype
;
302 xfer
+= iprot
->readStructBegin(fname
);
304 using ::apache::thrift::protocol::TProtocolException
;
309 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
310 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
316 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
317 xfer
+= this->io
.read(iprot
);
318 this->__isset
.io
= true;
320 xfer
+= iprot
->skip(ftype
);
324 xfer
+= iprot
->skip(ftype
);
327 xfer
+= iprot
->readFieldEnd();
330 xfer
+= iprot
->readStructEnd();
335 uint32_t Hbase_isTableEnabled_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
339 ::apache::thrift::protocol::TType ftype
;
342 xfer
+= iprot
->readStructBegin(fname
);
344 using ::apache::thrift::protocol::TProtocolException
;
349 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
350 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
356 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
357 xfer
+= iprot
->readBinary(this->tableName
);
358 this->__isset
.tableName
= true;
360 xfer
+= iprot
->skip(ftype
);
364 xfer
+= iprot
->skip(ftype
);
367 xfer
+= iprot
->readFieldEnd();
370 xfer
+= iprot
->readStructEnd();
375 uint32_t Hbase_isTableEnabled_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
377 xfer
+= oprot
->writeStructBegin("Hbase_isTableEnabled_args");
379 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
380 xfer
+= oprot
->writeBinary(this->tableName
);
381 xfer
+= oprot
->writeFieldEnd();
383 xfer
+= oprot
->writeFieldStop();
384 xfer
+= oprot
->writeStructEnd();
388 uint32_t Hbase_isTableEnabled_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
390 xfer
+= oprot
->writeStructBegin("Hbase_isTableEnabled_pargs");
392 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
393 xfer
+= oprot
->writeBinary((*(this->tableName
)));
394 xfer
+= oprot
->writeFieldEnd();
396 xfer
+= oprot
->writeFieldStop();
397 xfer
+= oprot
->writeStructEnd();
401 uint32_t Hbase_isTableEnabled_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
405 ::apache::thrift::protocol::TType ftype
;
408 xfer
+= iprot
->readStructBegin(fname
);
410 using ::apache::thrift::protocol::TProtocolException
;
415 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
416 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
422 if (ftype
== ::apache::thrift::protocol::T_BOOL
) {
423 xfer
+= iprot
->readBool(this->success
);
424 this->__isset
.success
= true;
426 xfer
+= iprot
->skip(ftype
);
430 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
431 xfer
+= this->io
.read(iprot
);
432 this->__isset
.io
= true;
434 xfer
+= iprot
->skip(ftype
);
438 xfer
+= iprot
->skip(ftype
);
441 xfer
+= iprot
->readFieldEnd();
444 xfer
+= iprot
->readStructEnd();
449 uint32_t Hbase_isTableEnabled_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
453 xfer
+= oprot
->writeStructBegin("Hbase_isTableEnabled_result");
455 if (this->__isset
.success
) {
456 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL
, 0);
457 xfer
+= oprot
->writeBool(this->success
);
458 xfer
+= oprot
->writeFieldEnd();
459 } else if (this->__isset
.io
) {
460 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
461 xfer
+= this->io
.write(oprot
);
462 xfer
+= oprot
->writeFieldEnd();
464 xfer
+= oprot
->writeFieldStop();
465 xfer
+= oprot
->writeStructEnd();
469 uint32_t Hbase_isTableEnabled_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
473 ::apache::thrift::protocol::TType ftype
;
476 xfer
+= iprot
->readStructBegin(fname
);
478 using ::apache::thrift::protocol::TProtocolException
;
483 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
484 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
490 if (ftype
== ::apache::thrift::protocol::T_BOOL
) {
491 xfer
+= iprot
->readBool((*(this->success
)));
492 this->__isset
.success
= true;
494 xfer
+= iprot
->skip(ftype
);
498 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
499 xfer
+= this->io
.read(iprot
);
500 this->__isset
.io
= true;
502 xfer
+= iprot
->skip(ftype
);
506 xfer
+= iprot
->skip(ftype
);
509 xfer
+= iprot
->readFieldEnd();
512 xfer
+= iprot
->readStructEnd();
517 uint32_t Hbase_compact_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
521 ::apache::thrift::protocol::TType ftype
;
524 xfer
+= iprot
->readStructBegin(fname
);
526 using ::apache::thrift::protocol::TProtocolException
;
531 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
532 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
538 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
539 xfer
+= iprot
->readBinary(this->tableNameOrRegionName
);
540 this->__isset
.tableNameOrRegionName
= true;
542 xfer
+= iprot
->skip(ftype
);
546 xfer
+= iprot
->skip(ftype
);
549 xfer
+= iprot
->readFieldEnd();
552 xfer
+= iprot
->readStructEnd();
557 uint32_t Hbase_compact_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
559 xfer
+= oprot
->writeStructBegin("Hbase_compact_args");
561 xfer
+= oprot
->writeFieldBegin("tableNameOrRegionName", ::apache::thrift::protocol::T_STRING
, 1);
562 xfer
+= oprot
->writeBinary(this->tableNameOrRegionName
);
563 xfer
+= oprot
->writeFieldEnd();
565 xfer
+= oprot
->writeFieldStop();
566 xfer
+= oprot
->writeStructEnd();
570 uint32_t Hbase_compact_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
572 xfer
+= oprot
->writeStructBegin("Hbase_compact_pargs");
574 xfer
+= oprot
->writeFieldBegin("tableNameOrRegionName", ::apache::thrift::protocol::T_STRING
, 1);
575 xfer
+= oprot
->writeBinary((*(this->tableNameOrRegionName
)));
576 xfer
+= oprot
->writeFieldEnd();
578 xfer
+= oprot
->writeFieldStop();
579 xfer
+= oprot
->writeStructEnd();
583 uint32_t Hbase_compact_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
587 ::apache::thrift::protocol::TType ftype
;
590 xfer
+= iprot
->readStructBegin(fname
);
592 using ::apache::thrift::protocol::TProtocolException
;
597 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
598 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
604 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
605 xfer
+= this->io
.read(iprot
);
606 this->__isset
.io
= true;
608 xfer
+= iprot
->skip(ftype
);
612 xfer
+= iprot
->skip(ftype
);
615 xfer
+= iprot
->readFieldEnd();
618 xfer
+= iprot
->readStructEnd();
623 uint32_t Hbase_compact_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
627 xfer
+= oprot
->writeStructBegin("Hbase_compact_result");
629 if (this->__isset
.io
) {
630 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
631 xfer
+= this->io
.write(oprot
);
632 xfer
+= oprot
->writeFieldEnd();
634 xfer
+= oprot
->writeFieldStop();
635 xfer
+= oprot
->writeStructEnd();
639 uint32_t Hbase_compact_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
643 ::apache::thrift::protocol::TType ftype
;
646 xfer
+= iprot
->readStructBegin(fname
);
648 using ::apache::thrift::protocol::TProtocolException
;
653 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
654 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
660 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
661 xfer
+= this->io
.read(iprot
);
662 this->__isset
.io
= true;
664 xfer
+= iprot
->skip(ftype
);
668 xfer
+= iprot
->skip(ftype
);
671 xfer
+= iprot
->readFieldEnd();
674 xfer
+= iprot
->readStructEnd();
679 uint32_t Hbase_majorCompact_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
683 ::apache::thrift::protocol::TType ftype
;
686 xfer
+= iprot
->readStructBegin(fname
);
688 using ::apache::thrift::protocol::TProtocolException
;
693 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
694 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
700 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
701 xfer
+= iprot
->readBinary(this->tableNameOrRegionName
);
702 this->__isset
.tableNameOrRegionName
= true;
704 xfer
+= iprot
->skip(ftype
);
708 xfer
+= iprot
->skip(ftype
);
711 xfer
+= iprot
->readFieldEnd();
714 xfer
+= iprot
->readStructEnd();
719 uint32_t Hbase_majorCompact_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
721 xfer
+= oprot
->writeStructBegin("Hbase_majorCompact_args");
723 xfer
+= oprot
->writeFieldBegin("tableNameOrRegionName", ::apache::thrift::protocol::T_STRING
, 1);
724 xfer
+= oprot
->writeBinary(this->tableNameOrRegionName
);
725 xfer
+= oprot
->writeFieldEnd();
727 xfer
+= oprot
->writeFieldStop();
728 xfer
+= oprot
->writeStructEnd();
732 uint32_t Hbase_majorCompact_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
734 xfer
+= oprot
->writeStructBegin("Hbase_majorCompact_pargs");
736 xfer
+= oprot
->writeFieldBegin("tableNameOrRegionName", ::apache::thrift::protocol::T_STRING
, 1);
737 xfer
+= oprot
->writeBinary((*(this->tableNameOrRegionName
)));
738 xfer
+= oprot
->writeFieldEnd();
740 xfer
+= oprot
->writeFieldStop();
741 xfer
+= oprot
->writeStructEnd();
745 uint32_t Hbase_majorCompact_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
749 ::apache::thrift::protocol::TType ftype
;
752 xfer
+= iprot
->readStructBegin(fname
);
754 using ::apache::thrift::protocol::TProtocolException
;
759 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
760 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
766 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
767 xfer
+= this->io
.read(iprot
);
768 this->__isset
.io
= true;
770 xfer
+= iprot
->skip(ftype
);
774 xfer
+= iprot
->skip(ftype
);
777 xfer
+= iprot
->readFieldEnd();
780 xfer
+= iprot
->readStructEnd();
785 uint32_t Hbase_majorCompact_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
789 xfer
+= oprot
->writeStructBegin("Hbase_majorCompact_result");
791 if (this->__isset
.io
) {
792 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
793 xfer
+= this->io
.write(oprot
);
794 xfer
+= oprot
->writeFieldEnd();
796 xfer
+= oprot
->writeFieldStop();
797 xfer
+= oprot
->writeStructEnd();
801 uint32_t Hbase_majorCompact_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
805 ::apache::thrift::protocol::TType ftype
;
808 xfer
+= iprot
->readStructBegin(fname
);
810 using ::apache::thrift::protocol::TProtocolException
;
815 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
816 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
822 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
823 xfer
+= this->io
.read(iprot
);
824 this->__isset
.io
= true;
826 xfer
+= iprot
->skip(ftype
);
830 xfer
+= iprot
->skip(ftype
);
833 xfer
+= iprot
->readFieldEnd();
836 xfer
+= iprot
->readStructEnd();
841 uint32_t Hbase_getTableNames_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
845 ::apache::thrift::protocol::TType ftype
;
848 xfer
+= iprot
->readStructBegin(fname
);
850 using ::apache::thrift::protocol::TProtocolException
;
855 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
856 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
859 xfer
+= iprot
->skip(ftype
);
860 xfer
+= iprot
->readFieldEnd();
863 xfer
+= iprot
->readStructEnd();
868 uint32_t Hbase_getTableNames_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
870 xfer
+= oprot
->writeStructBegin("Hbase_getTableNames_args");
872 xfer
+= oprot
->writeFieldStop();
873 xfer
+= oprot
->writeStructEnd();
877 uint32_t Hbase_getTableNames_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
879 xfer
+= oprot
->writeStructBegin("Hbase_getTableNames_pargs");
881 xfer
+= oprot
->writeFieldStop();
882 xfer
+= oprot
->writeStructEnd();
886 uint32_t Hbase_getTableNames_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
890 ::apache::thrift::protocol::TType ftype
;
893 xfer
+= iprot
->readStructBegin(fname
);
895 using ::apache::thrift::protocol::TProtocolException
;
900 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
901 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
907 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
909 this->success
.clear();
911 ::apache::thrift::protocol::TType _etype23
;
912 xfer
+= iprot
->readListBegin(_etype23
, _size20
);
913 this->success
.resize(_size20
);
915 for (_i24
= 0; _i24
< _size20
; ++_i24
)
917 xfer
+= iprot
->readBinary(this->success
[_i24
]);
919 xfer
+= iprot
->readListEnd();
921 this->__isset
.success
= true;
923 xfer
+= iprot
->skip(ftype
);
927 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
928 xfer
+= this->io
.read(iprot
);
929 this->__isset
.io
= true;
931 xfer
+= iprot
->skip(ftype
);
935 xfer
+= iprot
->skip(ftype
);
938 xfer
+= iprot
->readFieldEnd();
941 xfer
+= iprot
->readStructEnd();
946 uint32_t Hbase_getTableNames_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
950 xfer
+= oprot
->writeStructBegin("Hbase_getTableNames_result");
952 if (this->__isset
.success
) {
953 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
955 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->success
.size()));
956 std::vector
<Text
> ::const_iterator _iter25
;
957 for (_iter25
= this->success
.begin(); _iter25
!= this->success
.end(); ++_iter25
)
959 xfer
+= oprot
->writeBinary((*_iter25
));
961 xfer
+= oprot
->writeListEnd();
963 xfer
+= oprot
->writeFieldEnd();
964 } else if (this->__isset
.io
) {
965 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
966 xfer
+= this->io
.write(oprot
);
967 xfer
+= oprot
->writeFieldEnd();
969 xfer
+= oprot
->writeFieldStop();
970 xfer
+= oprot
->writeStructEnd();
974 uint32_t Hbase_getTableNames_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
978 ::apache::thrift::protocol::TType ftype
;
981 xfer
+= iprot
->readStructBegin(fname
);
983 using ::apache::thrift::protocol::TProtocolException
;
988 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
989 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
995 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
997 (*(this->success
)).clear();
999 ::apache::thrift::protocol::TType _etype29
;
1000 xfer
+= iprot
->readListBegin(_etype29
, _size26
);
1001 (*(this->success
)).resize(_size26
);
1003 for (_i30
= 0; _i30
< _size26
; ++_i30
)
1005 xfer
+= iprot
->readBinary((*(this->success
))[_i30
]);
1007 xfer
+= iprot
->readListEnd();
1009 this->__isset
.success
= true;
1011 xfer
+= iprot
->skip(ftype
);
1015 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1016 xfer
+= this->io
.read(iprot
);
1017 this->__isset
.io
= true;
1019 xfer
+= iprot
->skip(ftype
);
1023 xfer
+= iprot
->skip(ftype
);
1026 xfer
+= iprot
->readFieldEnd();
1029 xfer
+= iprot
->readStructEnd();
1034 uint32_t Hbase_getColumnDescriptors_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1038 ::apache::thrift::protocol::TType ftype
;
1041 xfer
+= iprot
->readStructBegin(fname
);
1043 using ::apache::thrift::protocol::TProtocolException
;
1048 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1049 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1055 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1056 xfer
+= iprot
->readBinary(this->tableName
);
1057 this->__isset
.tableName
= true;
1059 xfer
+= iprot
->skip(ftype
);
1063 xfer
+= iprot
->skip(ftype
);
1066 xfer
+= iprot
->readFieldEnd();
1069 xfer
+= iprot
->readStructEnd();
1074 uint32_t Hbase_getColumnDescriptors_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1076 xfer
+= oprot
->writeStructBegin("Hbase_getColumnDescriptors_args");
1078 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1079 xfer
+= oprot
->writeBinary(this->tableName
);
1080 xfer
+= oprot
->writeFieldEnd();
1082 xfer
+= oprot
->writeFieldStop();
1083 xfer
+= oprot
->writeStructEnd();
1087 uint32_t Hbase_getColumnDescriptors_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1089 xfer
+= oprot
->writeStructBegin("Hbase_getColumnDescriptors_pargs");
1091 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1092 xfer
+= oprot
->writeBinary((*(this->tableName
)));
1093 xfer
+= oprot
->writeFieldEnd();
1095 xfer
+= oprot
->writeFieldStop();
1096 xfer
+= oprot
->writeStructEnd();
1100 uint32_t Hbase_getColumnDescriptors_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1104 ::apache::thrift::protocol::TType ftype
;
1107 xfer
+= iprot
->readStructBegin(fname
);
1109 using ::apache::thrift::protocol::TProtocolException
;
1114 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1115 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1121 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
1123 this->success
.clear();
1125 ::apache::thrift::protocol::TType _ktype32
;
1126 ::apache::thrift::protocol::TType _vtype33
;
1127 xfer
+= iprot
->readMapBegin(_ktype32
, _vtype33
, _size31
);
1129 for (_i35
= 0; _i35
< _size31
; ++_i35
)
1132 xfer
+= iprot
->readBinary(_key36
);
1133 ColumnDescriptor
& _val37
= this->success
[_key36
];
1134 xfer
+= _val37
.read(iprot
);
1136 xfer
+= iprot
->readMapEnd();
1138 this->__isset
.success
= true;
1140 xfer
+= iprot
->skip(ftype
);
1144 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1145 xfer
+= this->io
.read(iprot
);
1146 this->__isset
.io
= true;
1148 xfer
+= iprot
->skip(ftype
);
1152 xfer
+= iprot
->skip(ftype
);
1155 xfer
+= iprot
->readFieldEnd();
1158 xfer
+= iprot
->readStructEnd();
1163 uint32_t Hbase_getColumnDescriptors_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1167 xfer
+= oprot
->writeStructBegin("Hbase_getColumnDescriptors_result");
1169 if (this->__isset
.success
) {
1170 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP
, 0);
1172 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
1173 std::map
<Text
, ColumnDescriptor
> ::const_iterator _iter38
;
1174 for (_iter38
= this->success
.begin(); _iter38
!= this->success
.end(); ++_iter38
)
1176 xfer
+= oprot
->writeBinary(_iter38
->first
);
1177 xfer
+= _iter38
->second
.write(oprot
);
1179 xfer
+= oprot
->writeMapEnd();
1181 xfer
+= oprot
->writeFieldEnd();
1182 } else if (this->__isset
.io
) {
1183 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
1184 xfer
+= this->io
.write(oprot
);
1185 xfer
+= oprot
->writeFieldEnd();
1187 xfer
+= oprot
->writeFieldStop();
1188 xfer
+= oprot
->writeStructEnd();
1192 uint32_t Hbase_getColumnDescriptors_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1196 ::apache::thrift::protocol::TType ftype
;
1199 xfer
+= iprot
->readStructBegin(fname
);
1201 using ::apache::thrift::protocol::TProtocolException
;
1206 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1207 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1213 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
1215 (*(this->success
)).clear();
1217 ::apache::thrift::protocol::TType _ktype40
;
1218 ::apache::thrift::protocol::TType _vtype41
;
1219 xfer
+= iprot
->readMapBegin(_ktype40
, _vtype41
, _size39
);
1221 for (_i43
= 0; _i43
< _size39
; ++_i43
)
1224 xfer
+= iprot
->readBinary(_key44
);
1225 ColumnDescriptor
& _val45
= (*(this->success
))[_key44
];
1226 xfer
+= _val45
.read(iprot
);
1228 xfer
+= iprot
->readMapEnd();
1230 this->__isset
.success
= true;
1232 xfer
+= iprot
->skip(ftype
);
1236 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1237 xfer
+= this->io
.read(iprot
);
1238 this->__isset
.io
= true;
1240 xfer
+= iprot
->skip(ftype
);
1244 xfer
+= iprot
->skip(ftype
);
1247 xfer
+= iprot
->readFieldEnd();
1250 xfer
+= iprot
->readStructEnd();
1255 uint32_t Hbase_getTableRegions_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1259 ::apache::thrift::protocol::TType ftype
;
1262 xfer
+= iprot
->readStructBegin(fname
);
1264 using ::apache::thrift::protocol::TProtocolException
;
1269 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1270 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1276 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1277 xfer
+= iprot
->readBinary(this->tableName
);
1278 this->__isset
.tableName
= true;
1280 xfer
+= iprot
->skip(ftype
);
1284 xfer
+= iprot
->skip(ftype
);
1287 xfer
+= iprot
->readFieldEnd();
1290 xfer
+= iprot
->readStructEnd();
1295 uint32_t Hbase_getTableRegions_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1297 xfer
+= oprot
->writeStructBegin("Hbase_getTableRegions_args");
1299 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1300 xfer
+= oprot
->writeBinary(this->tableName
);
1301 xfer
+= oprot
->writeFieldEnd();
1303 xfer
+= oprot
->writeFieldStop();
1304 xfer
+= oprot
->writeStructEnd();
1308 uint32_t Hbase_getTableRegions_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1310 xfer
+= oprot
->writeStructBegin("Hbase_getTableRegions_pargs");
1312 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1313 xfer
+= oprot
->writeBinary((*(this->tableName
)));
1314 xfer
+= oprot
->writeFieldEnd();
1316 xfer
+= oprot
->writeFieldStop();
1317 xfer
+= oprot
->writeStructEnd();
1321 uint32_t Hbase_getTableRegions_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1325 ::apache::thrift::protocol::TType ftype
;
1328 xfer
+= iprot
->readStructBegin(fname
);
1330 using ::apache::thrift::protocol::TProtocolException
;
1335 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1336 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1342 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
1344 this->success
.clear();
1346 ::apache::thrift::protocol::TType _etype49
;
1347 xfer
+= iprot
->readListBegin(_etype49
, _size46
);
1348 this->success
.resize(_size46
);
1350 for (_i50
= 0; _i50
< _size46
; ++_i50
)
1352 xfer
+= this->success
[_i50
].read(iprot
);
1354 xfer
+= iprot
->readListEnd();
1356 this->__isset
.success
= true;
1358 xfer
+= iprot
->skip(ftype
);
1362 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1363 xfer
+= this->io
.read(iprot
);
1364 this->__isset
.io
= true;
1366 xfer
+= iprot
->skip(ftype
);
1370 xfer
+= iprot
->skip(ftype
);
1373 xfer
+= iprot
->readFieldEnd();
1376 xfer
+= iprot
->readStructEnd();
1381 uint32_t Hbase_getTableRegions_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1385 xfer
+= oprot
->writeStructBegin("Hbase_getTableRegions_result");
1387 if (this->__isset
.success
) {
1388 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
1390 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
1391 std::vector
<TRegionInfo
> ::const_iterator _iter51
;
1392 for (_iter51
= this->success
.begin(); _iter51
!= this->success
.end(); ++_iter51
)
1394 xfer
+= (*_iter51
).write(oprot
);
1396 xfer
+= oprot
->writeListEnd();
1398 xfer
+= oprot
->writeFieldEnd();
1399 } else if (this->__isset
.io
) {
1400 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
1401 xfer
+= this->io
.write(oprot
);
1402 xfer
+= oprot
->writeFieldEnd();
1404 xfer
+= oprot
->writeFieldStop();
1405 xfer
+= oprot
->writeStructEnd();
1409 uint32_t Hbase_getTableRegions_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1413 ::apache::thrift::protocol::TType ftype
;
1416 xfer
+= iprot
->readStructBegin(fname
);
1418 using ::apache::thrift::protocol::TProtocolException
;
1423 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1424 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1430 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
1432 (*(this->success
)).clear();
1434 ::apache::thrift::protocol::TType _etype55
;
1435 xfer
+= iprot
->readListBegin(_etype55
, _size52
);
1436 (*(this->success
)).resize(_size52
);
1438 for (_i56
= 0; _i56
< _size52
; ++_i56
)
1440 xfer
+= (*(this->success
))[_i56
].read(iprot
);
1442 xfer
+= iprot
->readListEnd();
1444 this->__isset
.success
= true;
1446 xfer
+= iprot
->skip(ftype
);
1450 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1451 xfer
+= this->io
.read(iprot
);
1452 this->__isset
.io
= true;
1454 xfer
+= iprot
->skip(ftype
);
1458 xfer
+= iprot
->skip(ftype
);
1461 xfer
+= iprot
->readFieldEnd();
1464 xfer
+= iprot
->readStructEnd();
1469 uint32_t Hbase_createTable_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1473 ::apache::thrift::protocol::TType ftype
;
1476 xfer
+= iprot
->readStructBegin(fname
);
1478 using ::apache::thrift::protocol::TProtocolException
;
1483 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1484 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1490 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1491 xfer
+= iprot
->readBinary(this->tableName
);
1492 this->__isset
.tableName
= true;
1494 xfer
+= iprot
->skip(ftype
);
1498 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
1500 this->columnFamilies
.clear();
1502 ::apache::thrift::protocol::TType _etype60
;
1503 xfer
+= iprot
->readListBegin(_etype60
, _size57
);
1504 this->columnFamilies
.resize(_size57
);
1506 for (_i61
= 0; _i61
< _size57
; ++_i61
)
1508 xfer
+= this->columnFamilies
[_i61
].read(iprot
);
1510 xfer
+= iprot
->readListEnd();
1512 this->__isset
.columnFamilies
= true;
1514 xfer
+= iprot
->skip(ftype
);
1518 xfer
+= iprot
->skip(ftype
);
1521 xfer
+= iprot
->readFieldEnd();
1524 xfer
+= iprot
->readStructEnd();
1529 uint32_t Hbase_createTable_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1531 xfer
+= oprot
->writeStructBegin("Hbase_createTable_args");
1533 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1534 xfer
+= oprot
->writeBinary(this->tableName
);
1535 xfer
+= oprot
->writeFieldEnd();
1537 xfer
+= oprot
->writeFieldBegin("columnFamilies", ::apache::thrift::protocol::T_LIST
, 2);
1539 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->columnFamilies
.size()));
1540 std::vector
<ColumnDescriptor
> ::const_iterator _iter62
;
1541 for (_iter62
= this->columnFamilies
.begin(); _iter62
!= this->columnFamilies
.end(); ++_iter62
)
1543 xfer
+= (*_iter62
).write(oprot
);
1545 xfer
+= oprot
->writeListEnd();
1547 xfer
+= oprot
->writeFieldEnd();
1549 xfer
+= oprot
->writeFieldStop();
1550 xfer
+= oprot
->writeStructEnd();
1554 uint32_t Hbase_createTable_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1556 xfer
+= oprot
->writeStructBegin("Hbase_createTable_pargs");
1558 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1559 xfer
+= oprot
->writeBinary((*(this->tableName
)));
1560 xfer
+= oprot
->writeFieldEnd();
1562 xfer
+= oprot
->writeFieldBegin("columnFamilies", ::apache::thrift::protocol::T_LIST
, 2);
1564 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>((*(this->columnFamilies
)).size()));
1565 std::vector
<ColumnDescriptor
> ::const_iterator _iter63
;
1566 for (_iter63
= (*(this->columnFamilies
)).begin(); _iter63
!= (*(this->columnFamilies
)).end(); ++_iter63
)
1568 xfer
+= (*_iter63
).write(oprot
);
1570 xfer
+= oprot
->writeListEnd();
1572 xfer
+= oprot
->writeFieldEnd();
1574 xfer
+= oprot
->writeFieldStop();
1575 xfer
+= oprot
->writeStructEnd();
1579 uint32_t Hbase_createTable_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1583 ::apache::thrift::protocol::TType ftype
;
1586 xfer
+= iprot
->readStructBegin(fname
);
1588 using ::apache::thrift::protocol::TProtocolException
;
1593 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1594 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1600 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1601 xfer
+= this->io
.read(iprot
);
1602 this->__isset
.io
= true;
1604 xfer
+= iprot
->skip(ftype
);
1608 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1609 xfer
+= this->ia
.read(iprot
);
1610 this->__isset
.ia
= true;
1612 xfer
+= iprot
->skip(ftype
);
1616 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1617 xfer
+= this->exist
.read(iprot
);
1618 this->__isset
.exist
= true;
1620 xfer
+= iprot
->skip(ftype
);
1624 xfer
+= iprot
->skip(ftype
);
1627 xfer
+= iprot
->readFieldEnd();
1630 xfer
+= iprot
->readStructEnd();
1635 uint32_t Hbase_createTable_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1639 xfer
+= oprot
->writeStructBegin("Hbase_createTable_result");
1641 if (this->__isset
.io
) {
1642 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
1643 xfer
+= this->io
.write(oprot
);
1644 xfer
+= oprot
->writeFieldEnd();
1645 } else if (this->__isset
.ia
) {
1646 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
1647 xfer
+= this->ia
.write(oprot
);
1648 xfer
+= oprot
->writeFieldEnd();
1649 } else if (this->__isset
.exist
) {
1650 xfer
+= oprot
->writeFieldBegin("exist", ::apache::thrift::protocol::T_STRUCT
, 3);
1651 xfer
+= this->exist
.write(oprot
);
1652 xfer
+= oprot
->writeFieldEnd();
1654 xfer
+= oprot
->writeFieldStop();
1655 xfer
+= oprot
->writeStructEnd();
1659 uint32_t Hbase_createTable_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1663 ::apache::thrift::protocol::TType ftype
;
1666 xfer
+= iprot
->readStructBegin(fname
);
1668 using ::apache::thrift::protocol::TProtocolException
;
1673 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1674 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1680 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1681 xfer
+= this->io
.read(iprot
);
1682 this->__isset
.io
= true;
1684 xfer
+= iprot
->skip(ftype
);
1688 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1689 xfer
+= this->ia
.read(iprot
);
1690 this->__isset
.ia
= true;
1692 xfer
+= iprot
->skip(ftype
);
1696 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1697 xfer
+= this->exist
.read(iprot
);
1698 this->__isset
.exist
= true;
1700 xfer
+= iprot
->skip(ftype
);
1704 xfer
+= iprot
->skip(ftype
);
1707 xfer
+= iprot
->readFieldEnd();
1710 xfer
+= iprot
->readStructEnd();
1715 uint32_t Hbase_deleteTable_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1719 ::apache::thrift::protocol::TType ftype
;
1722 xfer
+= iprot
->readStructBegin(fname
);
1724 using ::apache::thrift::protocol::TProtocolException
;
1729 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1730 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1736 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1737 xfer
+= iprot
->readBinary(this->tableName
);
1738 this->__isset
.tableName
= true;
1740 xfer
+= iprot
->skip(ftype
);
1744 xfer
+= iprot
->skip(ftype
);
1747 xfer
+= iprot
->readFieldEnd();
1750 xfer
+= iprot
->readStructEnd();
1755 uint32_t Hbase_deleteTable_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1757 xfer
+= oprot
->writeStructBegin("Hbase_deleteTable_args");
1759 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1760 xfer
+= oprot
->writeBinary(this->tableName
);
1761 xfer
+= oprot
->writeFieldEnd();
1763 xfer
+= oprot
->writeFieldStop();
1764 xfer
+= oprot
->writeStructEnd();
1768 uint32_t Hbase_deleteTable_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1770 xfer
+= oprot
->writeStructBegin("Hbase_deleteTable_pargs");
1772 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1773 xfer
+= oprot
->writeBinary((*(this->tableName
)));
1774 xfer
+= oprot
->writeFieldEnd();
1776 xfer
+= oprot
->writeFieldStop();
1777 xfer
+= oprot
->writeStructEnd();
1781 uint32_t Hbase_deleteTable_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1785 ::apache::thrift::protocol::TType ftype
;
1788 xfer
+= iprot
->readStructBegin(fname
);
1790 using ::apache::thrift::protocol::TProtocolException
;
1795 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1796 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1802 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1803 xfer
+= this->io
.read(iprot
);
1804 this->__isset
.io
= true;
1806 xfer
+= iprot
->skip(ftype
);
1810 xfer
+= iprot
->skip(ftype
);
1813 xfer
+= iprot
->readFieldEnd();
1816 xfer
+= iprot
->readStructEnd();
1821 uint32_t Hbase_deleteTable_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1825 xfer
+= oprot
->writeStructBegin("Hbase_deleteTable_result");
1827 if (this->__isset
.io
) {
1828 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
1829 xfer
+= this->io
.write(oprot
);
1830 xfer
+= oprot
->writeFieldEnd();
1832 xfer
+= oprot
->writeFieldStop();
1833 xfer
+= oprot
->writeStructEnd();
1837 uint32_t Hbase_deleteTable_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1841 ::apache::thrift::protocol::TType ftype
;
1844 xfer
+= iprot
->readStructBegin(fname
);
1846 using ::apache::thrift::protocol::TProtocolException
;
1851 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1852 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1858 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
1859 xfer
+= this->io
.read(iprot
);
1860 this->__isset
.io
= true;
1862 xfer
+= iprot
->skip(ftype
);
1866 xfer
+= iprot
->skip(ftype
);
1869 xfer
+= iprot
->readFieldEnd();
1872 xfer
+= iprot
->readStructEnd();
1877 uint32_t Hbase_get_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
1881 ::apache::thrift::protocol::TType ftype
;
1884 xfer
+= iprot
->readStructBegin(fname
);
1886 using ::apache::thrift::protocol::TProtocolException
;
1891 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
1892 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
1898 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1899 xfer
+= iprot
->readBinary(this->tableName
);
1900 this->__isset
.tableName
= true;
1902 xfer
+= iprot
->skip(ftype
);
1906 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1907 xfer
+= iprot
->readBinary(this->row
);
1908 this->__isset
.row
= true;
1910 xfer
+= iprot
->skip(ftype
);
1914 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
1915 xfer
+= iprot
->readBinary(this->column
);
1916 this->__isset
.column
= true;
1918 xfer
+= iprot
->skip(ftype
);
1922 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
1924 this->attributes
.clear();
1926 ::apache::thrift::protocol::TType _ktype65
;
1927 ::apache::thrift::protocol::TType _vtype66
;
1928 xfer
+= iprot
->readMapBegin(_ktype65
, _vtype66
, _size64
);
1930 for (_i68
= 0; _i68
< _size64
; ++_i68
)
1933 xfer
+= iprot
->readBinary(_key69
);
1934 Text
& _val70
= this->attributes
[_key69
];
1935 xfer
+= iprot
->readBinary(_val70
);
1937 xfer
+= iprot
->readMapEnd();
1939 this->__isset
.attributes
= true;
1941 xfer
+= iprot
->skip(ftype
);
1945 xfer
+= iprot
->skip(ftype
);
1948 xfer
+= iprot
->readFieldEnd();
1951 xfer
+= iprot
->readStructEnd();
1956 uint32_t Hbase_get_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1958 xfer
+= oprot
->writeStructBegin("Hbase_get_args");
1960 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1961 xfer
+= oprot
->writeBinary(this->tableName
);
1962 xfer
+= oprot
->writeFieldEnd();
1964 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
1965 xfer
+= oprot
->writeBinary(this->row
);
1966 xfer
+= oprot
->writeFieldEnd();
1968 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
1969 xfer
+= oprot
->writeBinary(this->column
);
1970 xfer
+= oprot
->writeFieldEnd();
1972 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
1974 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
1975 std::map
<Text
, Text
> ::const_iterator _iter71
;
1976 for (_iter71
= this->attributes
.begin(); _iter71
!= this->attributes
.end(); ++_iter71
)
1978 xfer
+= oprot
->writeBinary(_iter71
->first
);
1979 xfer
+= oprot
->writeBinary(_iter71
->second
);
1981 xfer
+= oprot
->writeMapEnd();
1983 xfer
+= oprot
->writeFieldEnd();
1985 xfer
+= oprot
->writeFieldStop();
1986 xfer
+= oprot
->writeStructEnd();
1990 uint32_t Hbase_get_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
1992 xfer
+= oprot
->writeStructBegin("Hbase_get_pargs");
1994 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
1995 xfer
+= oprot
->writeBinary((*(this->tableName
)));
1996 xfer
+= oprot
->writeFieldEnd();
1998 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
1999 xfer
+= oprot
->writeBinary((*(this->row
)));
2000 xfer
+= oprot
->writeFieldEnd();
2002 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
2003 xfer
+= oprot
->writeBinary((*(this->column
)));
2004 xfer
+= oprot
->writeFieldEnd();
2006 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
2008 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
2009 std::map
<Text
, Text
> ::const_iterator _iter72
;
2010 for (_iter72
= (*(this->attributes
)).begin(); _iter72
!= (*(this->attributes
)).end(); ++_iter72
)
2012 xfer
+= oprot
->writeBinary(_iter72
->first
);
2013 xfer
+= oprot
->writeBinary(_iter72
->second
);
2015 xfer
+= oprot
->writeMapEnd();
2017 xfer
+= oprot
->writeFieldEnd();
2019 xfer
+= oprot
->writeFieldStop();
2020 xfer
+= oprot
->writeStructEnd();
2024 uint32_t Hbase_get_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2028 ::apache::thrift::protocol::TType ftype
;
2031 xfer
+= iprot
->readStructBegin(fname
);
2033 using ::apache::thrift::protocol::TProtocolException
;
2038 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2039 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2045 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2047 this->success
.clear();
2049 ::apache::thrift::protocol::TType _etype76
;
2050 xfer
+= iprot
->readListBegin(_etype76
, _size73
);
2051 this->success
.resize(_size73
);
2053 for (_i77
= 0; _i77
< _size73
; ++_i77
)
2055 xfer
+= this->success
[_i77
].read(iprot
);
2057 xfer
+= iprot
->readListEnd();
2059 this->__isset
.success
= true;
2061 xfer
+= iprot
->skip(ftype
);
2065 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2066 xfer
+= this->io
.read(iprot
);
2067 this->__isset
.io
= true;
2069 xfer
+= iprot
->skip(ftype
);
2073 xfer
+= iprot
->skip(ftype
);
2076 xfer
+= iprot
->readFieldEnd();
2079 xfer
+= iprot
->readStructEnd();
2084 uint32_t Hbase_get_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2088 xfer
+= oprot
->writeStructBegin("Hbase_get_result");
2090 if (this->__isset
.success
) {
2091 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
2093 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
2094 std::vector
<TCell
> ::const_iterator _iter78
;
2095 for (_iter78
= this->success
.begin(); _iter78
!= this->success
.end(); ++_iter78
)
2097 xfer
+= (*_iter78
).write(oprot
);
2099 xfer
+= oprot
->writeListEnd();
2101 xfer
+= oprot
->writeFieldEnd();
2102 } else if (this->__isset
.io
) {
2103 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
2104 xfer
+= this->io
.write(oprot
);
2105 xfer
+= oprot
->writeFieldEnd();
2107 xfer
+= oprot
->writeFieldStop();
2108 xfer
+= oprot
->writeStructEnd();
2112 uint32_t Hbase_get_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2116 ::apache::thrift::protocol::TType ftype
;
2119 xfer
+= iprot
->readStructBegin(fname
);
2121 using ::apache::thrift::protocol::TProtocolException
;
2126 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2127 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2133 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2135 (*(this->success
)).clear();
2137 ::apache::thrift::protocol::TType _etype82
;
2138 xfer
+= iprot
->readListBegin(_etype82
, _size79
);
2139 (*(this->success
)).resize(_size79
);
2141 for (_i83
= 0; _i83
< _size79
; ++_i83
)
2143 xfer
+= (*(this->success
))[_i83
].read(iprot
);
2145 xfer
+= iprot
->readListEnd();
2147 this->__isset
.success
= true;
2149 xfer
+= iprot
->skip(ftype
);
2153 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2154 xfer
+= this->io
.read(iprot
);
2155 this->__isset
.io
= true;
2157 xfer
+= iprot
->skip(ftype
);
2161 xfer
+= iprot
->skip(ftype
);
2164 xfer
+= iprot
->readFieldEnd();
2167 xfer
+= iprot
->readStructEnd();
2172 uint32_t Hbase_getVer_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2176 ::apache::thrift::protocol::TType ftype
;
2179 xfer
+= iprot
->readStructBegin(fname
);
2181 using ::apache::thrift::protocol::TProtocolException
;
2186 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2187 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2193 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2194 xfer
+= iprot
->readBinary(this->tableName
);
2195 this->__isset
.tableName
= true;
2197 xfer
+= iprot
->skip(ftype
);
2201 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2202 xfer
+= iprot
->readBinary(this->row
);
2203 this->__isset
.row
= true;
2205 xfer
+= iprot
->skip(ftype
);
2209 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2210 xfer
+= iprot
->readBinary(this->column
);
2211 this->__isset
.column
= true;
2213 xfer
+= iprot
->skip(ftype
);
2217 if (ftype
== ::apache::thrift::protocol::T_I32
) {
2218 xfer
+= iprot
->readI32(this->numVersions
);
2219 this->__isset
.numVersions
= true;
2221 xfer
+= iprot
->skip(ftype
);
2225 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
2227 this->attributes
.clear();
2229 ::apache::thrift::protocol::TType _ktype85
;
2230 ::apache::thrift::protocol::TType _vtype86
;
2231 xfer
+= iprot
->readMapBegin(_ktype85
, _vtype86
, _size84
);
2233 for (_i88
= 0; _i88
< _size84
; ++_i88
)
2236 xfer
+= iprot
->readBinary(_key89
);
2237 Text
& _val90
= this->attributes
[_key89
];
2238 xfer
+= iprot
->readBinary(_val90
);
2240 xfer
+= iprot
->readMapEnd();
2242 this->__isset
.attributes
= true;
2244 xfer
+= iprot
->skip(ftype
);
2248 xfer
+= iprot
->skip(ftype
);
2251 xfer
+= iprot
->readFieldEnd();
2254 xfer
+= iprot
->readStructEnd();
2259 uint32_t Hbase_getVer_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2261 xfer
+= oprot
->writeStructBegin("Hbase_getVer_args");
2263 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
2264 xfer
+= oprot
->writeBinary(this->tableName
);
2265 xfer
+= oprot
->writeFieldEnd();
2267 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
2268 xfer
+= oprot
->writeBinary(this->row
);
2269 xfer
+= oprot
->writeFieldEnd();
2271 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
2272 xfer
+= oprot
->writeBinary(this->column
);
2273 xfer
+= oprot
->writeFieldEnd();
2275 xfer
+= oprot
->writeFieldBegin("numVersions", ::apache::thrift::protocol::T_I32
, 4);
2276 xfer
+= oprot
->writeI32(this->numVersions
);
2277 xfer
+= oprot
->writeFieldEnd();
2279 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
2281 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
2282 std::map
<Text
, Text
> ::const_iterator _iter91
;
2283 for (_iter91
= this->attributes
.begin(); _iter91
!= this->attributes
.end(); ++_iter91
)
2285 xfer
+= oprot
->writeBinary(_iter91
->first
);
2286 xfer
+= oprot
->writeBinary(_iter91
->second
);
2288 xfer
+= oprot
->writeMapEnd();
2290 xfer
+= oprot
->writeFieldEnd();
2292 xfer
+= oprot
->writeFieldStop();
2293 xfer
+= oprot
->writeStructEnd();
2297 uint32_t Hbase_getVer_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2299 xfer
+= oprot
->writeStructBegin("Hbase_getVer_pargs");
2301 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
2302 xfer
+= oprot
->writeBinary((*(this->tableName
)));
2303 xfer
+= oprot
->writeFieldEnd();
2305 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
2306 xfer
+= oprot
->writeBinary((*(this->row
)));
2307 xfer
+= oprot
->writeFieldEnd();
2309 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
2310 xfer
+= oprot
->writeBinary((*(this->column
)));
2311 xfer
+= oprot
->writeFieldEnd();
2313 xfer
+= oprot
->writeFieldBegin("numVersions", ::apache::thrift::protocol::T_I32
, 4);
2314 xfer
+= oprot
->writeI32((*(this->numVersions
)));
2315 xfer
+= oprot
->writeFieldEnd();
2317 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
2319 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
2320 std::map
<Text
, Text
> ::const_iterator _iter92
;
2321 for (_iter92
= (*(this->attributes
)).begin(); _iter92
!= (*(this->attributes
)).end(); ++_iter92
)
2323 xfer
+= oprot
->writeBinary(_iter92
->first
);
2324 xfer
+= oprot
->writeBinary(_iter92
->second
);
2326 xfer
+= oprot
->writeMapEnd();
2328 xfer
+= oprot
->writeFieldEnd();
2330 xfer
+= oprot
->writeFieldStop();
2331 xfer
+= oprot
->writeStructEnd();
2335 uint32_t Hbase_getVer_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2339 ::apache::thrift::protocol::TType ftype
;
2342 xfer
+= iprot
->readStructBegin(fname
);
2344 using ::apache::thrift::protocol::TProtocolException
;
2349 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2350 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2356 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2358 this->success
.clear();
2360 ::apache::thrift::protocol::TType _etype96
;
2361 xfer
+= iprot
->readListBegin(_etype96
, _size93
);
2362 this->success
.resize(_size93
);
2364 for (_i97
= 0; _i97
< _size93
; ++_i97
)
2366 xfer
+= this->success
[_i97
].read(iprot
);
2368 xfer
+= iprot
->readListEnd();
2370 this->__isset
.success
= true;
2372 xfer
+= iprot
->skip(ftype
);
2376 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2377 xfer
+= this->io
.read(iprot
);
2378 this->__isset
.io
= true;
2380 xfer
+= iprot
->skip(ftype
);
2384 xfer
+= iprot
->skip(ftype
);
2387 xfer
+= iprot
->readFieldEnd();
2390 xfer
+= iprot
->readStructEnd();
2395 uint32_t Hbase_getVer_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2399 xfer
+= oprot
->writeStructBegin("Hbase_getVer_result");
2401 if (this->__isset
.success
) {
2402 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
2404 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
2405 std::vector
<TCell
> ::const_iterator _iter98
;
2406 for (_iter98
= this->success
.begin(); _iter98
!= this->success
.end(); ++_iter98
)
2408 xfer
+= (*_iter98
).write(oprot
);
2410 xfer
+= oprot
->writeListEnd();
2412 xfer
+= oprot
->writeFieldEnd();
2413 } else if (this->__isset
.io
) {
2414 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
2415 xfer
+= this->io
.write(oprot
);
2416 xfer
+= oprot
->writeFieldEnd();
2418 xfer
+= oprot
->writeFieldStop();
2419 xfer
+= oprot
->writeStructEnd();
2423 uint32_t Hbase_getVer_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2427 ::apache::thrift::protocol::TType ftype
;
2430 xfer
+= iprot
->readStructBegin(fname
);
2432 using ::apache::thrift::protocol::TProtocolException
;
2437 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2438 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2444 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2446 (*(this->success
)).clear();
2448 ::apache::thrift::protocol::TType _etype102
;
2449 xfer
+= iprot
->readListBegin(_etype102
, _size99
);
2450 (*(this->success
)).resize(_size99
);
2452 for (_i103
= 0; _i103
< _size99
; ++_i103
)
2454 xfer
+= (*(this->success
))[_i103
].read(iprot
);
2456 xfer
+= iprot
->readListEnd();
2458 this->__isset
.success
= true;
2460 xfer
+= iprot
->skip(ftype
);
2464 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2465 xfer
+= this->io
.read(iprot
);
2466 this->__isset
.io
= true;
2468 xfer
+= iprot
->skip(ftype
);
2472 xfer
+= iprot
->skip(ftype
);
2475 xfer
+= iprot
->readFieldEnd();
2478 xfer
+= iprot
->readStructEnd();
2483 uint32_t Hbase_getVerTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2487 ::apache::thrift::protocol::TType ftype
;
2490 xfer
+= iprot
->readStructBegin(fname
);
2492 using ::apache::thrift::protocol::TProtocolException
;
2497 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2498 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2504 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2505 xfer
+= iprot
->readBinary(this->tableName
);
2506 this->__isset
.tableName
= true;
2508 xfer
+= iprot
->skip(ftype
);
2512 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2513 xfer
+= iprot
->readBinary(this->row
);
2514 this->__isset
.row
= true;
2516 xfer
+= iprot
->skip(ftype
);
2520 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2521 xfer
+= iprot
->readBinary(this->column
);
2522 this->__isset
.column
= true;
2524 xfer
+= iprot
->skip(ftype
);
2528 if (ftype
== ::apache::thrift::protocol::T_I64
) {
2529 xfer
+= iprot
->readI64(this->timestamp
);
2530 this->__isset
.timestamp
= true;
2532 xfer
+= iprot
->skip(ftype
);
2536 if (ftype
== ::apache::thrift::protocol::T_I32
) {
2537 xfer
+= iprot
->readI32(this->numVersions
);
2538 this->__isset
.numVersions
= true;
2540 xfer
+= iprot
->skip(ftype
);
2544 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
2546 this->attributes
.clear();
2548 ::apache::thrift::protocol::TType _ktype105
;
2549 ::apache::thrift::protocol::TType _vtype106
;
2550 xfer
+= iprot
->readMapBegin(_ktype105
, _vtype106
, _size104
);
2552 for (_i108
= 0; _i108
< _size104
; ++_i108
)
2555 xfer
+= iprot
->readBinary(_key109
);
2556 Text
& _val110
= this->attributes
[_key109
];
2557 xfer
+= iprot
->readBinary(_val110
);
2559 xfer
+= iprot
->readMapEnd();
2561 this->__isset
.attributes
= true;
2563 xfer
+= iprot
->skip(ftype
);
2567 xfer
+= iprot
->skip(ftype
);
2570 xfer
+= iprot
->readFieldEnd();
2573 xfer
+= iprot
->readStructEnd();
2578 uint32_t Hbase_getVerTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2580 xfer
+= oprot
->writeStructBegin("Hbase_getVerTs_args");
2582 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
2583 xfer
+= oprot
->writeBinary(this->tableName
);
2584 xfer
+= oprot
->writeFieldEnd();
2586 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
2587 xfer
+= oprot
->writeBinary(this->row
);
2588 xfer
+= oprot
->writeFieldEnd();
2590 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
2591 xfer
+= oprot
->writeBinary(this->column
);
2592 xfer
+= oprot
->writeFieldEnd();
2594 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
2595 xfer
+= oprot
->writeI64(this->timestamp
);
2596 xfer
+= oprot
->writeFieldEnd();
2598 xfer
+= oprot
->writeFieldBegin("numVersions", ::apache::thrift::protocol::T_I32
, 5);
2599 xfer
+= oprot
->writeI32(this->numVersions
);
2600 xfer
+= oprot
->writeFieldEnd();
2602 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 6);
2604 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
2605 std::map
<Text
, Text
> ::const_iterator _iter111
;
2606 for (_iter111
= this->attributes
.begin(); _iter111
!= this->attributes
.end(); ++_iter111
)
2608 xfer
+= oprot
->writeBinary(_iter111
->first
);
2609 xfer
+= oprot
->writeBinary(_iter111
->second
);
2611 xfer
+= oprot
->writeMapEnd();
2613 xfer
+= oprot
->writeFieldEnd();
2615 xfer
+= oprot
->writeFieldStop();
2616 xfer
+= oprot
->writeStructEnd();
2620 uint32_t Hbase_getVerTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2622 xfer
+= oprot
->writeStructBegin("Hbase_getVerTs_pargs");
2624 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
2625 xfer
+= oprot
->writeBinary((*(this->tableName
)));
2626 xfer
+= oprot
->writeFieldEnd();
2628 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
2629 xfer
+= oprot
->writeBinary((*(this->row
)));
2630 xfer
+= oprot
->writeFieldEnd();
2632 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
2633 xfer
+= oprot
->writeBinary((*(this->column
)));
2634 xfer
+= oprot
->writeFieldEnd();
2636 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
2637 xfer
+= oprot
->writeI64((*(this->timestamp
)));
2638 xfer
+= oprot
->writeFieldEnd();
2640 xfer
+= oprot
->writeFieldBegin("numVersions", ::apache::thrift::protocol::T_I32
, 5);
2641 xfer
+= oprot
->writeI32((*(this->numVersions
)));
2642 xfer
+= oprot
->writeFieldEnd();
2644 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 6);
2646 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
2647 std::map
<Text
, Text
> ::const_iterator _iter112
;
2648 for (_iter112
= (*(this->attributes
)).begin(); _iter112
!= (*(this->attributes
)).end(); ++_iter112
)
2650 xfer
+= oprot
->writeBinary(_iter112
->first
);
2651 xfer
+= oprot
->writeBinary(_iter112
->second
);
2653 xfer
+= oprot
->writeMapEnd();
2655 xfer
+= oprot
->writeFieldEnd();
2657 xfer
+= oprot
->writeFieldStop();
2658 xfer
+= oprot
->writeStructEnd();
2662 uint32_t Hbase_getVerTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2666 ::apache::thrift::protocol::TType ftype
;
2669 xfer
+= iprot
->readStructBegin(fname
);
2671 using ::apache::thrift::protocol::TProtocolException
;
2676 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2677 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2683 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2685 this->success
.clear();
2687 ::apache::thrift::protocol::TType _etype116
;
2688 xfer
+= iprot
->readListBegin(_etype116
, _size113
);
2689 this->success
.resize(_size113
);
2691 for (_i117
= 0; _i117
< _size113
; ++_i117
)
2693 xfer
+= this->success
[_i117
].read(iprot
);
2695 xfer
+= iprot
->readListEnd();
2697 this->__isset
.success
= true;
2699 xfer
+= iprot
->skip(ftype
);
2703 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2704 xfer
+= this->io
.read(iprot
);
2705 this->__isset
.io
= true;
2707 xfer
+= iprot
->skip(ftype
);
2711 xfer
+= iprot
->skip(ftype
);
2714 xfer
+= iprot
->readFieldEnd();
2717 xfer
+= iprot
->readStructEnd();
2722 uint32_t Hbase_getVerTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2726 xfer
+= oprot
->writeStructBegin("Hbase_getVerTs_result");
2728 if (this->__isset
.success
) {
2729 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
2731 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
2732 std::vector
<TCell
> ::const_iterator _iter118
;
2733 for (_iter118
= this->success
.begin(); _iter118
!= this->success
.end(); ++_iter118
)
2735 xfer
+= (*_iter118
).write(oprot
);
2737 xfer
+= oprot
->writeListEnd();
2739 xfer
+= oprot
->writeFieldEnd();
2740 } else if (this->__isset
.io
) {
2741 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
2742 xfer
+= this->io
.write(oprot
);
2743 xfer
+= oprot
->writeFieldEnd();
2745 xfer
+= oprot
->writeFieldStop();
2746 xfer
+= oprot
->writeStructEnd();
2750 uint32_t Hbase_getVerTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2754 ::apache::thrift::protocol::TType ftype
;
2757 xfer
+= iprot
->readStructBegin(fname
);
2759 using ::apache::thrift::protocol::TProtocolException
;
2764 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2765 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2771 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2773 (*(this->success
)).clear();
2775 ::apache::thrift::protocol::TType _etype122
;
2776 xfer
+= iprot
->readListBegin(_etype122
, _size119
);
2777 (*(this->success
)).resize(_size119
);
2779 for (_i123
= 0; _i123
< _size119
; ++_i123
)
2781 xfer
+= (*(this->success
))[_i123
].read(iprot
);
2783 xfer
+= iprot
->readListEnd();
2785 this->__isset
.success
= true;
2787 xfer
+= iprot
->skip(ftype
);
2791 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2792 xfer
+= this->io
.read(iprot
);
2793 this->__isset
.io
= true;
2795 xfer
+= iprot
->skip(ftype
);
2799 xfer
+= iprot
->skip(ftype
);
2802 xfer
+= iprot
->readFieldEnd();
2805 xfer
+= iprot
->readStructEnd();
2810 uint32_t Hbase_getRow_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2814 ::apache::thrift::protocol::TType ftype
;
2817 xfer
+= iprot
->readStructBegin(fname
);
2819 using ::apache::thrift::protocol::TProtocolException
;
2824 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2825 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2831 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2832 xfer
+= iprot
->readBinary(this->tableName
);
2833 this->__isset
.tableName
= true;
2835 xfer
+= iprot
->skip(ftype
);
2839 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
2840 xfer
+= iprot
->readBinary(this->row
);
2841 this->__isset
.row
= true;
2843 xfer
+= iprot
->skip(ftype
);
2847 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
2849 this->attributes
.clear();
2851 ::apache::thrift::protocol::TType _ktype125
;
2852 ::apache::thrift::protocol::TType _vtype126
;
2853 xfer
+= iprot
->readMapBegin(_ktype125
, _vtype126
, _size124
);
2855 for (_i128
= 0; _i128
< _size124
; ++_i128
)
2858 xfer
+= iprot
->readBinary(_key129
);
2859 Text
& _val130
= this->attributes
[_key129
];
2860 xfer
+= iprot
->readBinary(_val130
);
2862 xfer
+= iprot
->readMapEnd();
2864 this->__isset
.attributes
= true;
2866 xfer
+= iprot
->skip(ftype
);
2870 xfer
+= iprot
->skip(ftype
);
2873 xfer
+= iprot
->readFieldEnd();
2876 xfer
+= iprot
->readStructEnd();
2881 uint32_t Hbase_getRow_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2883 xfer
+= oprot
->writeStructBegin("Hbase_getRow_args");
2885 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
2886 xfer
+= oprot
->writeBinary(this->tableName
);
2887 xfer
+= oprot
->writeFieldEnd();
2889 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
2890 xfer
+= oprot
->writeBinary(this->row
);
2891 xfer
+= oprot
->writeFieldEnd();
2893 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
2895 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
2896 std::map
<Text
, Text
> ::const_iterator _iter131
;
2897 for (_iter131
= this->attributes
.begin(); _iter131
!= this->attributes
.end(); ++_iter131
)
2899 xfer
+= oprot
->writeBinary(_iter131
->first
);
2900 xfer
+= oprot
->writeBinary(_iter131
->second
);
2902 xfer
+= oprot
->writeMapEnd();
2904 xfer
+= oprot
->writeFieldEnd();
2906 xfer
+= oprot
->writeFieldStop();
2907 xfer
+= oprot
->writeStructEnd();
2911 uint32_t Hbase_getRow_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
2913 xfer
+= oprot
->writeStructBegin("Hbase_getRow_pargs");
2915 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
2916 xfer
+= oprot
->writeBinary((*(this->tableName
)));
2917 xfer
+= oprot
->writeFieldEnd();
2919 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
2920 xfer
+= oprot
->writeBinary((*(this->row
)));
2921 xfer
+= oprot
->writeFieldEnd();
2923 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
2925 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
2926 std::map
<Text
, Text
> ::const_iterator _iter132
;
2927 for (_iter132
= (*(this->attributes
)).begin(); _iter132
!= (*(this->attributes
)).end(); ++_iter132
)
2929 xfer
+= oprot
->writeBinary(_iter132
->first
);
2930 xfer
+= oprot
->writeBinary(_iter132
->second
);
2932 xfer
+= oprot
->writeMapEnd();
2934 xfer
+= oprot
->writeFieldEnd();
2936 xfer
+= oprot
->writeFieldStop();
2937 xfer
+= oprot
->writeStructEnd();
2941 uint32_t Hbase_getRow_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
2945 ::apache::thrift::protocol::TType ftype
;
2948 xfer
+= iprot
->readStructBegin(fname
);
2950 using ::apache::thrift::protocol::TProtocolException
;
2955 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
2956 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
2962 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
2964 this->success
.clear();
2966 ::apache::thrift::protocol::TType _etype136
;
2967 xfer
+= iprot
->readListBegin(_etype136
, _size133
);
2968 this->success
.resize(_size133
);
2970 for (_i137
= 0; _i137
< _size133
; ++_i137
)
2972 xfer
+= this->success
[_i137
].read(iprot
);
2974 xfer
+= iprot
->readListEnd();
2976 this->__isset
.success
= true;
2978 xfer
+= iprot
->skip(ftype
);
2982 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
2983 xfer
+= this->io
.read(iprot
);
2984 this->__isset
.io
= true;
2986 xfer
+= iprot
->skip(ftype
);
2990 xfer
+= iprot
->skip(ftype
);
2993 xfer
+= iprot
->readFieldEnd();
2996 xfer
+= iprot
->readStructEnd();
3001 uint32_t Hbase_getRow_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3005 xfer
+= oprot
->writeStructBegin("Hbase_getRow_result");
3007 if (this->__isset
.success
) {
3008 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
3010 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
3011 std::vector
<TRowResult
> ::const_iterator _iter138
;
3012 for (_iter138
= this->success
.begin(); _iter138
!= this->success
.end(); ++_iter138
)
3014 xfer
+= (*_iter138
).write(oprot
);
3016 xfer
+= oprot
->writeListEnd();
3018 xfer
+= oprot
->writeFieldEnd();
3019 } else if (this->__isset
.io
) {
3020 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
3021 xfer
+= this->io
.write(oprot
);
3022 xfer
+= oprot
->writeFieldEnd();
3024 xfer
+= oprot
->writeFieldStop();
3025 xfer
+= oprot
->writeStructEnd();
3029 uint32_t Hbase_getRow_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3033 ::apache::thrift::protocol::TType ftype
;
3036 xfer
+= iprot
->readStructBegin(fname
);
3038 using ::apache::thrift::protocol::TProtocolException
;
3043 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3044 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3050 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3052 (*(this->success
)).clear();
3054 ::apache::thrift::protocol::TType _etype142
;
3055 xfer
+= iprot
->readListBegin(_etype142
, _size139
);
3056 (*(this->success
)).resize(_size139
);
3058 for (_i143
= 0; _i143
< _size139
; ++_i143
)
3060 xfer
+= (*(this->success
))[_i143
].read(iprot
);
3062 xfer
+= iprot
->readListEnd();
3064 this->__isset
.success
= true;
3066 xfer
+= iprot
->skip(ftype
);
3070 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
3071 xfer
+= this->io
.read(iprot
);
3072 this->__isset
.io
= true;
3074 xfer
+= iprot
->skip(ftype
);
3078 xfer
+= iprot
->skip(ftype
);
3081 xfer
+= iprot
->readFieldEnd();
3084 xfer
+= iprot
->readStructEnd();
3089 uint32_t Hbase_getRowWithColumns_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3093 ::apache::thrift::protocol::TType ftype
;
3096 xfer
+= iprot
->readStructBegin(fname
);
3098 using ::apache::thrift::protocol::TProtocolException
;
3103 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3104 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3110 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
3111 xfer
+= iprot
->readBinary(this->tableName
);
3112 this->__isset
.tableName
= true;
3114 xfer
+= iprot
->skip(ftype
);
3118 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
3119 xfer
+= iprot
->readBinary(this->row
);
3120 this->__isset
.row
= true;
3122 xfer
+= iprot
->skip(ftype
);
3126 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3128 this->columns
.clear();
3130 ::apache::thrift::protocol::TType _etype147
;
3131 xfer
+= iprot
->readListBegin(_etype147
, _size144
);
3132 this->columns
.resize(_size144
);
3134 for (_i148
= 0; _i148
< _size144
; ++_i148
)
3136 xfer
+= iprot
->readBinary(this->columns
[_i148
]);
3138 xfer
+= iprot
->readListEnd();
3140 this->__isset
.columns
= true;
3142 xfer
+= iprot
->skip(ftype
);
3146 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
3148 this->attributes
.clear();
3150 ::apache::thrift::protocol::TType _ktype150
;
3151 ::apache::thrift::protocol::TType _vtype151
;
3152 xfer
+= iprot
->readMapBegin(_ktype150
, _vtype151
, _size149
);
3154 for (_i153
= 0; _i153
< _size149
; ++_i153
)
3157 xfer
+= iprot
->readBinary(_key154
);
3158 Text
& _val155
= this->attributes
[_key154
];
3159 xfer
+= iprot
->readBinary(_val155
);
3161 xfer
+= iprot
->readMapEnd();
3163 this->__isset
.attributes
= true;
3165 xfer
+= iprot
->skip(ftype
);
3169 xfer
+= iprot
->skip(ftype
);
3172 xfer
+= iprot
->readFieldEnd();
3175 xfer
+= iprot
->readStructEnd();
3180 uint32_t Hbase_getRowWithColumns_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3182 xfer
+= oprot
->writeStructBegin("Hbase_getRowWithColumns_args");
3184 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
3185 xfer
+= oprot
->writeBinary(this->tableName
);
3186 xfer
+= oprot
->writeFieldEnd();
3188 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
3189 xfer
+= oprot
->writeBinary(this->row
);
3190 xfer
+= oprot
->writeFieldEnd();
3192 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
3194 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
3195 std::vector
<Text
> ::const_iterator _iter156
;
3196 for (_iter156
= this->columns
.begin(); _iter156
!= this->columns
.end(); ++_iter156
)
3198 xfer
+= oprot
->writeBinary((*_iter156
));
3200 xfer
+= oprot
->writeListEnd();
3202 xfer
+= oprot
->writeFieldEnd();
3204 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
3206 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
3207 std::map
<Text
, Text
> ::const_iterator _iter157
;
3208 for (_iter157
= this->attributes
.begin(); _iter157
!= this->attributes
.end(); ++_iter157
)
3210 xfer
+= oprot
->writeBinary(_iter157
->first
);
3211 xfer
+= oprot
->writeBinary(_iter157
->second
);
3213 xfer
+= oprot
->writeMapEnd();
3215 xfer
+= oprot
->writeFieldEnd();
3217 xfer
+= oprot
->writeFieldStop();
3218 xfer
+= oprot
->writeStructEnd();
3222 uint32_t Hbase_getRowWithColumns_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3224 xfer
+= oprot
->writeStructBegin("Hbase_getRowWithColumns_pargs");
3226 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
3227 xfer
+= oprot
->writeBinary((*(this->tableName
)));
3228 xfer
+= oprot
->writeFieldEnd();
3230 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
3231 xfer
+= oprot
->writeBinary((*(this->row
)));
3232 xfer
+= oprot
->writeFieldEnd();
3234 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
3236 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
3237 std::vector
<Text
> ::const_iterator _iter158
;
3238 for (_iter158
= (*(this->columns
)).begin(); _iter158
!= (*(this->columns
)).end(); ++_iter158
)
3240 xfer
+= oprot
->writeBinary((*_iter158
));
3242 xfer
+= oprot
->writeListEnd();
3244 xfer
+= oprot
->writeFieldEnd();
3246 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
3248 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
3249 std::map
<Text
, Text
> ::const_iterator _iter159
;
3250 for (_iter159
= (*(this->attributes
)).begin(); _iter159
!= (*(this->attributes
)).end(); ++_iter159
)
3252 xfer
+= oprot
->writeBinary(_iter159
->first
);
3253 xfer
+= oprot
->writeBinary(_iter159
->second
);
3255 xfer
+= oprot
->writeMapEnd();
3257 xfer
+= oprot
->writeFieldEnd();
3259 xfer
+= oprot
->writeFieldStop();
3260 xfer
+= oprot
->writeStructEnd();
3264 uint32_t Hbase_getRowWithColumns_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3268 ::apache::thrift::protocol::TType ftype
;
3271 xfer
+= iprot
->readStructBegin(fname
);
3273 using ::apache::thrift::protocol::TProtocolException
;
3278 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3279 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3285 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3287 this->success
.clear();
3289 ::apache::thrift::protocol::TType _etype163
;
3290 xfer
+= iprot
->readListBegin(_etype163
, _size160
);
3291 this->success
.resize(_size160
);
3293 for (_i164
= 0; _i164
< _size160
; ++_i164
)
3295 xfer
+= this->success
[_i164
].read(iprot
);
3297 xfer
+= iprot
->readListEnd();
3299 this->__isset
.success
= true;
3301 xfer
+= iprot
->skip(ftype
);
3305 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
3306 xfer
+= this->io
.read(iprot
);
3307 this->__isset
.io
= true;
3309 xfer
+= iprot
->skip(ftype
);
3313 xfer
+= iprot
->skip(ftype
);
3316 xfer
+= iprot
->readFieldEnd();
3319 xfer
+= iprot
->readStructEnd();
3324 uint32_t Hbase_getRowWithColumns_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3328 xfer
+= oprot
->writeStructBegin("Hbase_getRowWithColumns_result");
3330 if (this->__isset
.success
) {
3331 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
3333 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
3334 std::vector
<TRowResult
> ::const_iterator _iter165
;
3335 for (_iter165
= this->success
.begin(); _iter165
!= this->success
.end(); ++_iter165
)
3337 xfer
+= (*_iter165
).write(oprot
);
3339 xfer
+= oprot
->writeListEnd();
3341 xfer
+= oprot
->writeFieldEnd();
3342 } else if (this->__isset
.io
) {
3343 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
3344 xfer
+= this->io
.write(oprot
);
3345 xfer
+= oprot
->writeFieldEnd();
3347 xfer
+= oprot
->writeFieldStop();
3348 xfer
+= oprot
->writeStructEnd();
3352 uint32_t Hbase_getRowWithColumns_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3356 ::apache::thrift::protocol::TType ftype
;
3359 xfer
+= iprot
->readStructBegin(fname
);
3361 using ::apache::thrift::protocol::TProtocolException
;
3366 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3367 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3373 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3375 (*(this->success
)).clear();
3377 ::apache::thrift::protocol::TType _etype169
;
3378 xfer
+= iprot
->readListBegin(_etype169
, _size166
);
3379 (*(this->success
)).resize(_size166
);
3381 for (_i170
= 0; _i170
< _size166
; ++_i170
)
3383 xfer
+= (*(this->success
))[_i170
].read(iprot
);
3385 xfer
+= iprot
->readListEnd();
3387 this->__isset
.success
= true;
3389 xfer
+= iprot
->skip(ftype
);
3393 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
3394 xfer
+= this->io
.read(iprot
);
3395 this->__isset
.io
= true;
3397 xfer
+= iprot
->skip(ftype
);
3401 xfer
+= iprot
->skip(ftype
);
3404 xfer
+= iprot
->readFieldEnd();
3407 xfer
+= iprot
->readStructEnd();
3412 uint32_t Hbase_getRowTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3416 ::apache::thrift::protocol::TType ftype
;
3419 xfer
+= iprot
->readStructBegin(fname
);
3421 using ::apache::thrift::protocol::TProtocolException
;
3426 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3427 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3433 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
3434 xfer
+= iprot
->readBinary(this->tableName
);
3435 this->__isset
.tableName
= true;
3437 xfer
+= iprot
->skip(ftype
);
3441 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
3442 xfer
+= iprot
->readBinary(this->row
);
3443 this->__isset
.row
= true;
3445 xfer
+= iprot
->skip(ftype
);
3449 if (ftype
== ::apache::thrift::protocol::T_I64
) {
3450 xfer
+= iprot
->readI64(this->timestamp
);
3451 this->__isset
.timestamp
= true;
3453 xfer
+= iprot
->skip(ftype
);
3457 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
3459 this->attributes
.clear();
3461 ::apache::thrift::protocol::TType _ktype172
;
3462 ::apache::thrift::protocol::TType _vtype173
;
3463 xfer
+= iprot
->readMapBegin(_ktype172
, _vtype173
, _size171
);
3465 for (_i175
= 0; _i175
< _size171
; ++_i175
)
3468 xfer
+= iprot
->readBinary(_key176
);
3469 Text
& _val177
= this->attributes
[_key176
];
3470 xfer
+= iprot
->readBinary(_val177
);
3472 xfer
+= iprot
->readMapEnd();
3474 this->__isset
.attributes
= true;
3476 xfer
+= iprot
->skip(ftype
);
3480 xfer
+= iprot
->skip(ftype
);
3483 xfer
+= iprot
->readFieldEnd();
3486 xfer
+= iprot
->readStructEnd();
3491 uint32_t Hbase_getRowTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3493 xfer
+= oprot
->writeStructBegin("Hbase_getRowTs_args");
3495 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
3496 xfer
+= oprot
->writeBinary(this->tableName
);
3497 xfer
+= oprot
->writeFieldEnd();
3499 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
3500 xfer
+= oprot
->writeBinary(this->row
);
3501 xfer
+= oprot
->writeFieldEnd();
3503 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
3504 xfer
+= oprot
->writeI64(this->timestamp
);
3505 xfer
+= oprot
->writeFieldEnd();
3507 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
3509 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
3510 std::map
<Text
, Text
> ::const_iterator _iter178
;
3511 for (_iter178
= this->attributes
.begin(); _iter178
!= this->attributes
.end(); ++_iter178
)
3513 xfer
+= oprot
->writeBinary(_iter178
->first
);
3514 xfer
+= oprot
->writeBinary(_iter178
->second
);
3516 xfer
+= oprot
->writeMapEnd();
3518 xfer
+= oprot
->writeFieldEnd();
3520 xfer
+= oprot
->writeFieldStop();
3521 xfer
+= oprot
->writeStructEnd();
3525 uint32_t Hbase_getRowTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3527 xfer
+= oprot
->writeStructBegin("Hbase_getRowTs_pargs");
3529 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
3530 xfer
+= oprot
->writeBinary((*(this->tableName
)));
3531 xfer
+= oprot
->writeFieldEnd();
3533 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
3534 xfer
+= oprot
->writeBinary((*(this->row
)));
3535 xfer
+= oprot
->writeFieldEnd();
3537 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
3538 xfer
+= oprot
->writeI64((*(this->timestamp
)));
3539 xfer
+= oprot
->writeFieldEnd();
3541 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
3543 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
3544 std::map
<Text
, Text
> ::const_iterator _iter179
;
3545 for (_iter179
= (*(this->attributes
)).begin(); _iter179
!= (*(this->attributes
)).end(); ++_iter179
)
3547 xfer
+= oprot
->writeBinary(_iter179
->first
);
3548 xfer
+= oprot
->writeBinary(_iter179
->second
);
3550 xfer
+= oprot
->writeMapEnd();
3552 xfer
+= oprot
->writeFieldEnd();
3554 xfer
+= oprot
->writeFieldStop();
3555 xfer
+= oprot
->writeStructEnd();
3559 uint32_t Hbase_getRowTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3563 ::apache::thrift::protocol::TType ftype
;
3566 xfer
+= iprot
->readStructBegin(fname
);
3568 using ::apache::thrift::protocol::TProtocolException
;
3573 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3574 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3580 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3582 this->success
.clear();
3584 ::apache::thrift::protocol::TType _etype183
;
3585 xfer
+= iprot
->readListBegin(_etype183
, _size180
);
3586 this->success
.resize(_size180
);
3588 for (_i184
= 0; _i184
< _size180
; ++_i184
)
3590 xfer
+= this->success
[_i184
].read(iprot
);
3592 xfer
+= iprot
->readListEnd();
3594 this->__isset
.success
= true;
3596 xfer
+= iprot
->skip(ftype
);
3600 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
3601 xfer
+= this->io
.read(iprot
);
3602 this->__isset
.io
= true;
3604 xfer
+= iprot
->skip(ftype
);
3608 xfer
+= iprot
->skip(ftype
);
3611 xfer
+= iprot
->readFieldEnd();
3614 xfer
+= iprot
->readStructEnd();
3619 uint32_t Hbase_getRowTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3623 xfer
+= oprot
->writeStructBegin("Hbase_getRowTs_result");
3625 if (this->__isset
.success
) {
3626 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
3628 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
3629 std::vector
<TRowResult
> ::const_iterator _iter185
;
3630 for (_iter185
= this->success
.begin(); _iter185
!= this->success
.end(); ++_iter185
)
3632 xfer
+= (*_iter185
).write(oprot
);
3634 xfer
+= oprot
->writeListEnd();
3636 xfer
+= oprot
->writeFieldEnd();
3637 } else if (this->__isset
.io
) {
3638 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
3639 xfer
+= this->io
.write(oprot
);
3640 xfer
+= oprot
->writeFieldEnd();
3642 xfer
+= oprot
->writeFieldStop();
3643 xfer
+= oprot
->writeStructEnd();
3647 uint32_t Hbase_getRowTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3651 ::apache::thrift::protocol::TType ftype
;
3654 xfer
+= iprot
->readStructBegin(fname
);
3656 using ::apache::thrift::protocol::TProtocolException
;
3661 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3662 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3668 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3670 (*(this->success
)).clear();
3672 ::apache::thrift::protocol::TType _etype189
;
3673 xfer
+= iprot
->readListBegin(_etype189
, _size186
);
3674 (*(this->success
)).resize(_size186
);
3676 for (_i190
= 0; _i190
< _size186
; ++_i190
)
3678 xfer
+= (*(this->success
))[_i190
].read(iprot
);
3680 xfer
+= iprot
->readListEnd();
3682 this->__isset
.success
= true;
3684 xfer
+= iprot
->skip(ftype
);
3688 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
3689 xfer
+= this->io
.read(iprot
);
3690 this->__isset
.io
= true;
3692 xfer
+= iprot
->skip(ftype
);
3696 xfer
+= iprot
->skip(ftype
);
3699 xfer
+= iprot
->readFieldEnd();
3702 xfer
+= iprot
->readStructEnd();
3707 uint32_t Hbase_getRowWithColumnsTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3711 ::apache::thrift::protocol::TType ftype
;
3714 xfer
+= iprot
->readStructBegin(fname
);
3716 using ::apache::thrift::protocol::TProtocolException
;
3721 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3722 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3728 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
3729 xfer
+= iprot
->readBinary(this->tableName
);
3730 this->__isset
.tableName
= true;
3732 xfer
+= iprot
->skip(ftype
);
3736 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
3737 xfer
+= iprot
->readBinary(this->row
);
3738 this->__isset
.row
= true;
3740 xfer
+= iprot
->skip(ftype
);
3744 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3746 this->columns
.clear();
3748 ::apache::thrift::protocol::TType _etype194
;
3749 xfer
+= iprot
->readListBegin(_etype194
, _size191
);
3750 this->columns
.resize(_size191
);
3752 for (_i195
= 0; _i195
< _size191
; ++_i195
)
3754 xfer
+= iprot
->readBinary(this->columns
[_i195
]);
3756 xfer
+= iprot
->readListEnd();
3758 this->__isset
.columns
= true;
3760 xfer
+= iprot
->skip(ftype
);
3764 if (ftype
== ::apache::thrift::protocol::T_I64
) {
3765 xfer
+= iprot
->readI64(this->timestamp
);
3766 this->__isset
.timestamp
= true;
3768 xfer
+= iprot
->skip(ftype
);
3772 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
3774 this->attributes
.clear();
3776 ::apache::thrift::protocol::TType _ktype197
;
3777 ::apache::thrift::protocol::TType _vtype198
;
3778 xfer
+= iprot
->readMapBegin(_ktype197
, _vtype198
, _size196
);
3780 for (_i200
= 0; _i200
< _size196
; ++_i200
)
3783 xfer
+= iprot
->readBinary(_key201
);
3784 Text
& _val202
= this->attributes
[_key201
];
3785 xfer
+= iprot
->readBinary(_val202
);
3787 xfer
+= iprot
->readMapEnd();
3789 this->__isset
.attributes
= true;
3791 xfer
+= iprot
->skip(ftype
);
3795 xfer
+= iprot
->skip(ftype
);
3798 xfer
+= iprot
->readFieldEnd();
3801 xfer
+= iprot
->readStructEnd();
3806 uint32_t Hbase_getRowWithColumnsTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3808 xfer
+= oprot
->writeStructBegin("Hbase_getRowWithColumnsTs_args");
3810 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
3811 xfer
+= oprot
->writeBinary(this->tableName
);
3812 xfer
+= oprot
->writeFieldEnd();
3814 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
3815 xfer
+= oprot
->writeBinary(this->row
);
3816 xfer
+= oprot
->writeFieldEnd();
3818 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
3820 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
3821 std::vector
<Text
> ::const_iterator _iter203
;
3822 for (_iter203
= this->columns
.begin(); _iter203
!= this->columns
.end(); ++_iter203
)
3824 xfer
+= oprot
->writeBinary((*_iter203
));
3826 xfer
+= oprot
->writeListEnd();
3828 xfer
+= oprot
->writeFieldEnd();
3830 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
3831 xfer
+= oprot
->writeI64(this->timestamp
);
3832 xfer
+= oprot
->writeFieldEnd();
3834 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
3836 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
3837 std::map
<Text
, Text
> ::const_iterator _iter204
;
3838 for (_iter204
= this->attributes
.begin(); _iter204
!= this->attributes
.end(); ++_iter204
)
3840 xfer
+= oprot
->writeBinary(_iter204
->first
);
3841 xfer
+= oprot
->writeBinary(_iter204
->second
);
3843 xfer
+= oprot
->writeMapEnd();
3845 xfer
+= oprot
->writeFieldEnd();
3847 xfer
+= oprot
->writeFieldStop();
3848 xfer
+= oprot
->writeStructEnd();
3852 uint32_t Hbase_getRowWithColumnsTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3854 xfer
+= oprot
->writeStructBegin("Hbase_getRowWithColumnsTs_pargs");
3856 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
3857 xfer
+= oprot
->writeBinary((*(this->tableName
)));
3858 xfer
+= oprot
->writeFieldEnd();
3860 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
3861 xfer
+= oprot
->writeBinary((*(this->row
)));
3862 xfer
+= oprot
->writeFieldEnd();
3864 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
3866 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
3867 std::vector
<Text
> ::const_iterator _iter205
;
3868 for (_iter205
= (*(this->columns
)).begin(); _iter205
!= (*(this->columns
)).end(); ++_iter205
)
3870 xfer
+= oprot
->writeBinary((*_iter205
));
3872 xfer
+= oprot
->writeListEnd();
3874 xfer
+= oprot
->writeFieldEnd();
3876 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
3877 xfer
+= oprot
->writeI64((*(this->timestamp
)));
3878 xfer
+= oprot
->writeFieldEnd();
3880 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
3882 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
3883 std::map
<Text
, Text
> ::const_iterator _iter206
;
3884 for (_iter206
= (*(this->attributes
)).begin(); _iter206
!= (*(this->attributes
)).end(); ++_iter206
)
3886 xfer
+= oprot
->writeBinary(_iter206
->first
);
3887 xfer
+= oprot
->writeBinary(_iter206
->second
);
3889 xfer
+= oprot
->writeMapEnd();
3891 xfer
+= oprot
->writeFieldEnd();
3893 xfer
+= oprot
->writeFieldStop();
3894 xfer
+= oprot
->writeStructEnd();
3898 uint32_t Hbase_getRowWithColumnsTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3902 ::apache::thrift::protocol::TType ftype
;
3905 xfer
+= iprot
->readStructBegin(fname
);
3907 using ::apache::thrift::protocol::TProtocolException
;
3912 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
3913 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
3919 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
3921 this->success
.clear();
3923 ::apache::thrift::protocol::TType _etype210
;
3924 xfer
+= iprot
->readListBegin(_etype210
, _size207
);
3925 this->success
.resize(_size207
);
3927 for (_i211
= 0; _i211
< _size207
; ++_i211
)
3929 xfer
+= this->success
[_i211
].read(iprot
);
3931 xfer
+= iprot
->readListEnd();
3933 this->__isset
.success
= true;
3935 xfer
+= iprot
->skip(ftype
);
3939 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
3940 xfer
+= this->io
.read(iprot
);
3941 this->__isset
.io
= true;
3943 xfer
+= iprot
->skip(ftype
);
3947 xfer
+= iprot
->skip(ftype
);
3950 xfer
+= iprot
->readFieldEnd();
3953 xfer
+= iprot
->readStructEnd();
3958 uint32_t Hbase_getRowWithColumnsTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
3962 xfer
+= oprot
->writeStructBegin("Hbase_getRowWithColumnsTs_result");
3964 if (this->__isset
.success
) {
3965 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
3967 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
3968 std::vector
<TRowResult
> ::const_iterator _iter212
;
3969 for (_iter212
= this->success
.begin(); _iter212
!= this->success
.end(); ++_iter212
)
3971 xfer
+= (*_iter212
).write(oprot
);
3973 xfer
+= oprot
->writeListEnd();
3975 xfer
+= oprot
->writeFieldEnd();
3976 } else if (this->__isset
.io
) {
3977 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
3978 xfer
+= this->io
.write(oprot
);
3979 xfer
+= oprot
->writeFieldEnd();
3981 xfer
+= oprot
->writeFieldStop();
3982 xfer
+= oprot
->writeStructEnd();
3986 uint32_t Hbase_getRowWithColumnsTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
3990 ::apache::thrift::protocol::TType ftype
;
3993 xfer
+= iprot
->readStructBegin(fname
);
3995 using ::apache::thrift::protocol::TProtocolException
;
4000 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4001 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4007 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4009 (*(this->success
)).clear();
4011 ::apache::thrift::protocol::TType _etype216
;
4012 xfer
+= iprot
->readListBegin(_etype216
, _size213
);
4013 (*(this->success
)).resize(_size213
);
4015 for (_i217
= 0; _i217
< _size213
; ++_i217
)
4017 xfer
+= (*(this->success
))[_i217
].read(iprot
);
4019 xfer
+= iprot
->readListEnd();
4021 this->__isset
.success
= true;
4023 xfer
+= iprot
->skip(ftype
);
4027 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
4028 xfer
+= this->io
.read(iprot
);
4029 this->__isset
.io
= true;
4031 xfer
+= iprot
->skip(ftype
);
4035 xfer
+= iprot
->skip(ftype
);
4038 xfer
+= iprot
->readFieldEnd();
4041 xfer
+= iprot
->readStructEnd();
4046 uint32_t Hbase_getRows_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4050 ::apache::thrift::protocol::TType ftype
;
4053 xfer
+= iprot
->readStructBegin(fname
);
4055 using ::apache::thrift::protocol::TProtocolException
;
4060 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4061 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4067 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
4068 xfer
+= iprot
->readBinary(this->tableName
);
4069 this->__isset
.tableName
= true;
4071 xfer
+= iprot
->skip(ftype
);
4075 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4079 ::apache::thrift::protocol::TType _etype221
;
4080 xfer
+= iprot
->readListBegin(_etype221
, _size218
);
4081 this->rows
.resize(_size218
);
4083 for (_i222
= 0; _i222
< _size218
; ++_i222
)
4085 xfer
+= iprot
->readBinary(this->rows
[_i222
]);
4087 xfer
+= iprot
->readListEnd();
4089 this->__isset
.rows
= true;
4091 xfer
+= iprot
->skip(ftype
);
4095 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
4097 this->attributes
.clear();
4099 ::apache::thrift::protocol::TType _ktype224
;
4100 ::apache::thrift::protocol::TType _vtype225
;
4101 xfer
+= iprot
->readMapBegin(_ktype224
, _vtype225
, _size223
);
4103 for (_i227
= 0; _i227
< _size223
; ++_i227
)
4106 xfer
+= iprot
->readBinary(_key228
);
4107 Text
& _val229
= this->attributes
[_key228
];
4108 xfer
+= iprot
->readBinary(_val229
);
4110 xfer
+= iprot
->readMapEnd();
4112 this->__isset
.attributes
= true;
4114 xfer
+= iprot
->skip(ftype
);
4118 xfer
+= iprot
->skip(ftype
);
4121 xfer
+= iprot
->readFieldEnd();
4124 xfer
+= iprot
->readStructEnd();
4129 uint32_t Hbase_getRows_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4131 xfer
+= oprot
->writeStructBegin("Hbase_getRows_args");
4133 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
4134 xfer
+= oprot
->writeBinary(this->tableName
);
4135 xfer
+= oprot
->writeFieldEnd();
4137 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
4139 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->rows
.size()));
4140 std::vector
<Text
> ::const_iterator _iter230
;
4141 for (_iter230
= this->rows
.begin(); _iter230
!= this->rows
.end(); ++_iter230
)
4143 xfer
+= oprot
->writeBinary((*_iter230
));
4145 xfer
+= oprot
->writeListEnd();
4147 xfer
+= oprot
->writeFieldEnd();
4149 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
4151 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
4152 std::map
<Text
, Text
> ::const_iterator _iter231
;
4153 for (_iter231
= this->attributes
.begin(); _iter231
!= this->attributes
.end(); ++_iter231
)
4155 xfer
+= oprot
->writeBinary(_iter231
->first
);
4156 xfer
+= oprot
->writeBinary(_iter231
->second
);
4158 xfer
+= oprot
->writeMapEnd();
4160 xfer
+= oprot
->writeFieldEnd();
4162 xfer
+= oprot
->writeFieldStop();
4163 xfer
+= oprot
->writeStructEnd();
4167 uint32_t Hbase_getRows_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4169 xfer
+= oprot
->writeStructBegin("Hbase_getRows_pargs");
4171 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
4172 xfer
+= oprot
->writeBinary((*(this->tableName
)));
4173 xfer
+= oprot
->writeFieldEnd();
4175 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
4177 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->rows
)).size()));
4178 std::vector
<Text
> ::const_iterator _iter232
;
4179 for (_iter232
= (*(this->rows
)).begin(); _iter232
!= (*(this->rows
)).end(); ++_iter232
)
4181 xfer
+= oprot
->writeBinary((*_iter232
));
4183 xfer
+= oprot
->writeListEnd();
4185 xfer
+= oprot
->writeFieldEnd();
4187 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
4189 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
4190 std::map
<Text
, Text
> ::const_iterator _iter233
;
4191 for (_iter233
= (*(this->attributes
)).begin(); _iter233
!= (*(this->attributes
)).end(); ++_iter233
)
4193 xfer
+= oprot
->writeBinary(_iter233
->first
);
4194 xfer
+= oprot
->writeBinary(_iter233
->second
);
4196 xfer
+= oprot
->writeMapEnd();
4198 xfer
+= oprot
->writeFieldEnd();
4200 xfer
+= oprot
->writeFieldStop();
4201 xfer
+= oprot
->writeStructEnd();
4205 uint32_t Hbase_getRows_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4209 ::apache::thrift::protocol::TType ftype
;
4212 xfer
+= iprot
->readStructBegin(fname
);
4214 using ::apache::thrift::protocol::TProtocolException
;
4219 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4220 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4226 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4228 this->success
.clear();
4230 ::apache::thrift::protocol::TType _etype237
;
4231 xfer
+= iprot
->readListBegin(_etype237
, _size234
);
4232 this->success
.resize(_size234
);
4234 for (_i238
= 0; _i238
< _size234
; ++_i238
)
4236 xfer
+= this->success
[_i238
].read(iprot
);
4238 xfer
+= iprot
->readListEnd();
4240 this->__isset
.success
= true;
4242 xfer
+= iprot
->skip(ftype
);
4246 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
4247 xfer
+= this->io
.read(iprot
);
4248 this->__isset
.io
= true;
4250 xfer
+= iprot
->skip(ftype
);
4254 xfer
+= iprot
->skip(ftype
);
4257 xfer
+= iprot
->readFieldEnd();
4260 xfer
+= iprot
->readStructEnd();
4265 uint32_t Hbase_getRows_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4269 xfer
+= oprot
->writeStructBegin("Hbase_getRows_result");
4271 if (this->__isset
.success
) {
4272 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
4274 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
4275 std::vector
<TRowResult
> ::const_iterator _iter239
;
4276 for (_iter239
= this->success
.begin(); _iter239
!= this->success
.end(); ++_iter239
)
4278 xfer
+= (*_iter239
).write(oprot
);
4280 xfer
+= oprot
->writeListEnd();
4282 xfer
+= oprot
->writeFieldEnd();
4283 } else if (this->__isset
.io
) {
4284 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
4285 xfer
+= this->io
.write(oprot
);
4286 xfer
+= oprot
->writeFieldEnd();
4288 xfer
+= oprot
->writeFieldStop();
4289 xfer
+= oprot
->writeStructEnd();
4293 uint32_t Hbase_getRows_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4297 ::apache::thrift::protocol::TType ftype
;
4300 xfer
+= iprot
->readStructBegin(fname
);
4302 using ::apache::thrift::protocol::TProtocolException
;
4307 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4308 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4314 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4316 (*(this->success
)).clear();
4318 ::apache::thrift::protocol::TType _etype243
;
4319 xfer
+= iprot
->readListBegin(_etype243
, _size240
);
4320 (*(this->success
)).resize(_size240
);
4322 for (_i244
= 0; _i244
< _size240
; ++_i244
)
4324 xfer
+= (*(this->success
))[_i244
].read(iprot
);
4326 xfer
+= iprot
->readListEnd();
4328 this->__isset
.success
= true;
4330 xfer
+= iprot
->skip(ftype
);
4334 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
4335 xfer
+= this->io
.read(iprot
);
4336 this->__isset
.io
= true;
4338 xfer
+= iprot
->skip(ftype
);
4342 xfer
+= iprot
->skip(ftype
);
4345 xfer
+= iprot
->readFieldEnd();
4348 xfer
+= iprot
->readStructEnd();
4353 uint32_t Hbase_getRowsWithColumns_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4357 ::apache::thrift::protocol::TType ftype
;
4360 xfer
+= iprot
->readStructBegin(fname
);
4362 using ::apache::thrift::protocol::TProtocolException
;
4367 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4368 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4374 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
4375 xfer
+= iprot
->readBinary(this->tableName
);
4376 this->__isset
.tableName
= true;
4378 xfer
+= iprot
->skip(ftype
);
4382 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4386 ::apache::thrift::protocol::TType _etype248
;
4387 xfer
+= iprot
->readListBegin(_etype248
, _size245
);
4388 this->rows
.resize(_size245
);
4390 for (_i249
= 0; _i249
< _size245
; ++_i249
)
4392 xfer
+= iprot
->readBinary(this->rows
[_i249
]);
4394 xfer
+= iprot
->readListEnd();
4396 this->__isset
.rows
= true;
4398 xfer
+= iprot
->skip(ftype
);
4402 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4404 this->columns
.clear();
4406 ::apache::thrift::protocol::TType _etype253
;
4407 xfer
+= iprot
->readListBegin(_etype253
, _size250
);
4408 this->columns
.resize(_size250
);
4410 for (_i254
= 0; _i254
< _size250
; ++_i254
)
4412 xfer
+= iprot
->readBinary(this->columns
[_i254
]);
4414 xfer
+= iprot
->readListEnd();
4416 this->__isset
.columns
= true;
4418 xfer
+= iprot
->skip(ftype
);
4422 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
4424 this->attributes
.clear();
4426 ::apache::thrift::protocol::TType _ktype256
;
4427 ::apache::thrift::protocol::TType _vtype257
;
4428 xfer
+= iprot
->readMapBegin(_ktype256
, _vtype257
, _size255
);
4430 for (_i259
= 0; _i259
< _size255
; ++_i259
)
4433 xfer
+= iprot
->readBinary(_key260
);
4434 Text
& _val261
= this->attributes
[_key260
];
4435 xfer
+= iprot
->readBinary(_val261
);
4437 xfer
+= iprot
->readMapEnd();
4439 this->__isset
.attributes
= true;
4441 xfer
+= iprot
->skip(ftype
);
4445 xfer
+= iprot
->skip(ftype
);
4448 xfer
+= iprot
->readFieldEnd();
4451 xfer
+= iprot
->readStructEnd();
4456 uint32_t Hbase_getRowsWithColumns_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4458 xfer
+= oprot
->writeStructBegin("Hbase_getRowsWithColumns_args");
4460 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
4461 xfer
+= oprot
->writeBinary(this->tableName
);
4462 xfer
+= oprot
->writeFieldEnd();
4464 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
4466 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->rows
.size()));
4467 std::vector
<Text
> ::const_iterator _iter262
;
4468 for (_iter262
= this->rows
.begin(); _iter262
!= this->rows
.end(); ++_iter262
)
4470 xfer
+= oprot
->writeBinary((*_iter262
));
4472 xfer
+= oprot
->writeListEnd();
4474 xfer
+= oprot
->writeFieldEnd();
4476 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
4478 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
4479 std::vector
<Text
> ::const_iterator _iter263
;
4480 for (_iter263
= this->columns
.begin(); _iter263
!= this->columns
.end(); ++_iter263
)
4482 xfer
+= oprot
->writeBinary((*_iter263
));
4484 xfer
+= oprot
->writeListEnd();
4486 xfer
+= oprot
->writeFieldEnd();
4488 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
4490 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
4491 std::map
<Text
, Text
> ::const_iterator _iter264
;
4492 for (_iter264
= this->attributes
.begin(); _iter264
!= this->attributes
.end(); ++_iter264
)
4494 xfer
+= oprot
->writeBinary(_iter264
->first
);
4495 xfer
+= oprot
->writeBinary(_iter264
->second
);
4497 xfer
+= oprot
->writeMapEnd();
4499 xfer
+= oprot
->writeFieldEnd();
4501 xfer
+= oprot
->writeFieldStop();
4502 xfer
+= oprot
->writeStructEnd();
4506 uint32_t Hbase_getRowsWithColumns_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4508 xfer
+= oprot
->writeStructBegin("Hbase_getRowsWithColumns_pargs");
4510 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
4511 xfer
+= oprot
->writeBinary((*(this->tableName
)));
4512 xfer
+= oprot
->writeFieldEnd();
4514 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
4516 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->rows
)).size()));
4517 std::vector
<Text
> ::const_iterator _iter265
;
4518 for (_iter265
= (*(this->rows
)).begin(); _iter265
!= (*(this->rows
)).end(); ++_iter265
)
4520 xfer
+= oprot
->writeBinary((*_iter265
));
4522 xfer
+= oprot
->writeListEnd();
4524 xfer
+= oprot
->writeFieldEnd();
4526 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
4528 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
4529 std::vector
<Text
> ::const_iterator _iter266
;
4530 for (_iter266
= (*(this->columns
)).begin(); _iter266
!= (*(this->columns
)).end(); ++_iter266
)
4532 xfer
+= oprot
->writeBinary((*_iter266
));
4534 xfer
+= oprot
->writeListEnd();
4536 xfer
+= oprot
->writeFieldEnd();
4538 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
4540 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
4541 std::map
<Text
, Text
> ::const_iterator _iter267
;
4542 for (_iter267
= (*(this->attributes
)).begin(); _iter267
!= (*(this->attributes
)).end(); ++_iter267
)
4544 xfer
+= oprot
->writeBinary(_iter267
->first
);
4545 xfer
+= oprot
->writeBinary(_iter267
->second
);
4547 xfer
+= oprot
->writeMapEnd();
4549 xfer
+= oprot
->writeFieldEnd();
4551 xfer
+= oprot
->writeFieldStop();
4552 xfer
+= oprot
->writeStructEnd();
4556 uint32_t Hbase_getRowsWithColumns_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4560 ::apache::thrift::protocol::TType ftype
;
4563 xfer
+= iprot
->readStructBegin(fname
);
4565 using ::apache::thrift::protocol::TProtocolException
;
4570 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4571 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4577 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4579 this->success
.clear();
4581 ::apache::thrift::protocol::TType _etype271
;
4582 xfer
+= iprot
->readListBegin(_etype271
, _size268
);
4583 this->success
.resize(_size268
);
4585 for (_i272
= 0; _i272
< _size268
; ++_i272
)
4587 xfer
+= this->success
[_i272
].read(iprot
);
4589 xfer
+= iprot
->readListEnd();
4591 this->__isset
.success
= true;
4593 xfer
+= iprot
->skip(ftype
);
4597 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
4598 xfer
+= this->io
.read(iprot
);
4599 this->__isset
.io
= true;
4601 xfer
+= iprot
->skip(ftype
);
4605 xfer
+= iprot
->skip(ftype
);
4608 xfer
+= iprot
->readFieldEnd();
4611 xfer
+= iprot
->readStructEnd();
4616 uint32_t Hbase_getRowsWithColumns_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4620 xfer
+= oprot
->writeStructBegin("Hbase_getRowsWithColumns_result");
4622 if (this->__isset
.success
) {
4623 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
4625 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
4626 std::vector
<TRowResult
> ::const_iterator _iter273
;
4627 for (_iter273
= this->success
.begin(); _iter273
!= this->success
.end(); ++_iter273
)
4629 xfer
+= (*_iter273
).write(oprot
);
4631 xfer
+= oprot
->writeListEnd();
4633 xfer
+= oprot
->writeFieldEnd();
4634 } else if (this->__isset
.io
) {
4635 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
4636 xfer
+= this->io
.write(oprot
);
4637 xfer
+= oprot
->writeFieldEnd();
4639 xfer
+= oprot
->writeFieldStop();
4640 xfer
+= oprot
->writeStructEnd();
4644 uint32_t Hbase_getRowsWithColumns_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4648 ::apache::thrift::protocol::TType ftype
;
4651 xfer
+= iprot
->readStructBegin(fname
);
4653 using ::apache::thrift::protocol::TProtocolException
;
4658 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4659 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4665 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4667 (*(this->success
)).clear();
4669 ::apache::thrift::protocol::TType _etype277
;
4670 xfer
+= iprot
->readListBegin(_etype277
, _size274
);
4671 (*(this->success
)).resize(_size274
);
4673 for (_i278
= 0; _i278
< _size274
; ++_i278
)
4675 xfer
+= (*(this->success
))[_i278
].read(iprot
);
4677 xfer
+= iprot
->readListEnd();
4679 this->__isset
.success
= true;
4681 xfer
+= iprot
->skip(ftype
);
4685 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
4686 xfer
+= this->io
.read(iprot
);
4687 this->__isset
.io
= true;
4689 xfer
+= iprot
->skip(ftype
);
4693 xfer
+= iprot
->skip(ftype
);
4696 xfer
+= iprot
->readFieldEnd();
4699 xfer
+= iprot
->readStructEnd();
4704 uint32_t Hbase_getRowsTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4708 ::apache::thrift::protocol::TType ftype
;
4711 xfer
+= iprot
->readStructBegin(fname
);
4713 using ::apache::thrift::protocol::TProtocolException
;
4718 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4719 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4725 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
4726 xfer
+= iprot
->readBinary(this->tableName
);
4727 this->__isset
.tableName
= true;
4729 xfer
+= iprot
->skip(ftype
);
4733 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4737 ::apache::thrift::protocol::TType _etype282
;
4738 xfer
+= iprot
->readListBegin(_etype282
, _size279
);
4739 this->rows
.resize(_size279
);
4741 for (_i283
= 0; _i283
< _size279
; ++_i283
)
4743 xfer
+= iprot
->readBinary(this->rows
[_i283
]);
4745 xfer
+= iprot
->readListEnd();
4747 this->__isset
.rows
= true;
4749 xfer
+= iprot
->skip(ftype
);
4753 if (ftype
== ::apache::thrift::protocol::T_I64
) {
4754 xfer
+= iprot
->readI64(this->timestamp
);
4755 this->__isset
.timestamp
= true;
4757 xfer
+= iprot
->skip(ftype
);
4761 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
4763 this->attributes
.clear();
4765 ::apache::thrift::protocol::TType _ktype285
;
4766 ::apache::thrift::protocol::TType _vtype286
;
4767 xfer
+= iprot
->readMapBegin(_ktype285
, _vtype286
, _size284
);
4769 for (_i288
= 0; _i288
< _size284
; ++_i288
)
4772 xfer
+= iprot
->readBinary(_key289
);
4773 Text
& _val290
= this->attributes
[_key289
];
4774 xfer
+= iprot
->readBinary(_val290
);
4776 xfer
+= iprot
->readMapEnd();
4778 this->__isset
.attributes
= true;
4780 xfer
+= iprot
->skip(ftype
);
4784 xfer
+= iprot
->skip(ftype
);
4787 xfer
+= iprot
->readFieldEnd();
4790 xfer
+= iprot
->readStructEnd();
4795 uint32_t Hbase_getRowsTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4797 xfer
+= oprot
->writeStructBegin("Hbase_getRowsTs_args");
4799 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
4800 xfer
+= oprot
->writeBinary(this->tableName
);
4801 xfer
+= oprot
->writeFieldEnd();
4803 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
4805 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->rows
.size()));
4806 std::vector
<Text
> ::const_iterator _iter291
;
4807 for (_iter291
= this->rows
.begin(); _iter291
!= this->rows
.end(); ++_iter291
)
4809 xfer
+= oprot
->writeBinary((*_iter291
));
4811 xfer
+= oprot
->writeListEnd();
4813 xfer
+= oprot
->writeFieldEnd();
4815 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
4816 xfer
+= oprot
->writeI64(this->timestamp
);
4817 xfer
+= oprot
->writeFieldEnd();
4819 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
4821 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
4822 std::map
<Text
, Text
> ::const_iterator _iter292
;
4823 for (_iter292
= this->attributes
.begin(); _iter292
!= this->attributes
.end(); ++_iter292
)
4825 xfer
+= oprot
->writeBinary(_iter292
->first
);
4826 xfer
+= oprot
->writeBinary(_iter292
->second
);
4828 xfer
+= oprot
->writeMapEnd();
4830 xfer
+= oprot
->writeFieldEnd();
4832 xfer
+= oprot
->writeFieldStop();
4833 xfer
+= oprot
->writeStructEnd();
4837 uint32_t Hbase_getRowsTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4839 xfer
+= oprot
->writeStructBegin("Hbase_getRowsTs_pargs");
4841 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
4842 xfer
+= oprot
->writeBinary((*(this->tableName
)));
4843 xfer
+= oprot
->writeFieldEnd();
4845 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
4847 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->rows
)).size()));
4848 std::vector
<Text
> ::const_iterator _iter293
;
4849 for (_iter293
= (*(this->rows
)).begin(); _iter293
!= (*(this->rows
)).end(); ++_iter293
)
4851 xfer
+= oprot
->writeBinary((*_iter293
));
4853 xfer
+= oprot
->writeListEnd();
4855 xfer
+= oprot
->writeFieldEnd();
4857 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
4858 xfer
+= oprot
->writeI64((*(this->timestamp
)));
4859 xfer
+= oprot
->writeFieldEnd();
4861 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
4863 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
4864 std::map
<Text
, Text
> ::const_iterator _iter294
;
4865 for (_iter294
= (*(this->attributes
)).begin(); _iter294
!= (*(this->attributes
)).end(); ++_iter294
)
4867 xfer
+= oprot
->writeBinary(_iter294
->first
);
4868 xfer
+= oprot
->writeBinary(_iter294
->second
);
4870 xfer
+= oprot
->writeMapEnd();
4872 xfer
+= oprot
->writeFieldEnd();
4874 xfer
+= oprot
->writeFieldStop();
4875 xfer
+= oprot
->writeStructEnd();
4879 uint32_t Hbase_getRowsTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4883 ::apache::thrift::protocol::TType ftype
;
4886 xfer
+= iprot
->readStructBegin(fname
);
4888 using ::apache::thrift::protocol::TProtocolException
;
4893 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4894 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4900 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4902 this->success
.clear();
4904 ::apache::thrift::protocol::TType _etype298
;
4905 xfer
+= iprot
->readListBegin(_etype298
, _size295
);
4906 this->success
.resize(_size295
);
4908 for (_i299
= 0; _i299
< _size295
; ++_i299
)
4910 xfer
+= this->success
[_i299
].read(iprot
);
4912 xfer
+= iprot
->readListEnd();
4914 this->__isset
.success
= true;
4916 xfer
+= iprot
->skip(ftype
);
4920 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
4921 xfer
+= this->io
.read(iprot
);
4922 this->__isset
.io
= true;
4924 xfer
+= iprot
->skip(ftype
);
4928 xfer
+= iprot
->skip(ftype
);
4931 xfer
+= iprot
->readFieldEnd();
4934 xfer
+= iprot
->readStructEnd();
4939 uint32_t Hbase_getRowsTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
4943 xfer
+= oprot
->writeStructBegin("Hbase_getRowsTs_result");
4945 if (this->__isset
.success
) {
4946 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
4948 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
4949 std::vector
<TRowResult
> ::const_iterator _iter300
;
4950 for (_iter300
= this->success
.begin(); _iter300
!= this->success
.end(); ++_iter300
)
4952 xfer
+= (*_iter300
).write(oprot
);
4954 xfer
+= oprot
->writeListEnd();
4956 xfer
+= oprot
->writeFieldEnd();
4957 } else if (this->__isset
.io
) {
4958 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
4959 xfer
+= this->io
.write(oprot
);
4960 xfer
+= oprot
->writeFieldEnd();
4962 xfer
+= oprot
->writeFieldStop();
4963 xfer
+= oprot
->writeStructEnd();
4967 uint32_t Hbase_getRowsTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
4971 ::apache::thrift::protocol::TType ftype
;
4974 xfer
+= iprot
->readStructBegin(fname
);
4976 using ::apache::thrift::protocol::TProtocolException
;
4981 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
4982 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
4988 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
4990 (*(this->success
)).clear();
4992 ::apache::thrift::protocol::TType _etype304
;
4993 xfer
+= iprot
->readListBegin(_etype304
, _size301
);
4994 (*(this->success
)).resize(_size301
);
4996 for (_i305
= 0; _i305
< _size301
; ++_i305
)
4998 xfer
+= (*(this->success
))[_i305
].read(iprot
);
5000 xfer
+= iprot
->readListEnd();
5002 this->__isset
.success
= true;
5004 xfer
+= iprot
->skip(ftype
);
5008 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5009 xfer
+= this->io
.read(iprot
);
5010 this->__isset
.io
= true;
5012 xfer
+= iprot
->skip(ftype
);
5016 xfer
+= iprot
->skip(ftype
);
5019 xfer
+= iprot
->readFieldEnd();
5022 xfer
+= iprot
->readStructEnd();
5027 uint32_t Hbase_getRowsWithColumnsTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5031 ::apache::thrift::protocol::TType ftype
;
5034 xfer
+= iprot
->readStructBegin(fname
);
5036 using ::apache::thrift::protocol::TProtocolException
;
5041 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5042 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5048 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
5049 xfer
+= iprot
->readBinary(this->tableName
);
5050 this->__isset
.tableName
= true;
5052 xfer
+= iprot
->skip(ftype
);
5056 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
5060 ::apache::thrift::protocol::TType _etype309
;
5061 xfer
+= iprot
->readListBegin(_etype309
, _size306
);
5062 this->rows
.resize(_size306
);
5064 for (_i310
= 0; _i310
< _size306
; ++_i310
)
5066 xfer
+= iprot
->readBinary(this->rows
[_i310
]);
5068 xfer
+= iprot
->readListEnd();
5070 this->__isset
.rows
= true;
5072 xfer
+= iprot
->skip(ftype
);
5076 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
5078 this->columns
.clear();
5080 ::apache::thrift::protocol::TType _etype314
;
5081 xfer
+= iprot
->readListBegin(_etype314
, _size311
);
5082 this->columns
.resize(_size311
);
5084 for (_i315
= 0; _i315
< _size311
; ++_i315
)
5086 xfer
+= iprot
->readBinary(this->columns
[_i315
]);
5088 xfer
+= iprot
->readListEnd();
5090 this->__isset
.columns
= true;
5092 xfer
+= iprot
->skip(ftype
);
5096 if (ftype
== ::apache::thrift::protocol::T_I64
) {
5097 xfer
+= iprot
->readI64(this->timestamp
);
5098 this->__isset
.timestamp
= true;
5100 xfer
+= iprot
->skip(ftype
);
5104 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
5106 this->attributes
.clear();
5108 ::apache::thrift::protocol::TType _ktype317
;
5109 ::apache::thrift::protocol::TType _vtype318
;
5110 xfer
+= iprot
->readMapBegin(_ktype317
, _vtype318
, _size316
);
5112 for (_i320
= 0; _i320
< _size316
; ++_i320
)
5115 xfer
+= iprot
->readBinary(_key321
);
5116 Text
& _val322
= this->attributes
[_key321
];
5117 xfer
+= iprot
->readBinary(_val322
);
5119 xfer
+= iprot
->readMapEnd();
5121 this->__isset
.attributes
= true;
5123 xfer
+= iprot
->skip(ftype
);
5127 xfer
+= iprot
->skip(ftype
);
5130 xfer
+= iprot
->readFieldEnd();
5133 xfer
+= iprot
->readStructEnd();
5138 uint32_t Hbase_getRowsWithColumnsTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5140 xfer
+= oprot
->writeStructBegin("Hbase_getRowsWithColumnsTs_args");
5142 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
5143 xfer
+= oprot
->writeBinary(this->tableName
);
5144 xfer
+= oprot
->writeFieldEnd();
5146 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
5148 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->rows
.size()));
5149 std::vector
<Text
> ::const_iterator _iter323
;
5150 for (_iter323
= this->rows
.begin(); _iter323
!= this->rows
.end(); ++_iter323
)
5152 xfer
+= oprot
->writeBinary((*_iter323
));
5154 xfer
+= oprot
->writeListEnd();
5156 xfer
+= oprot
->writeFieldEnd();
5158 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
5160 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
5161 std::vector
<Text
> ::const_iterator _iter324
;
5162 for (_iter324
= this->columns
.begin(); _iter324
!= this->columns
.end(); ++_iter324
)
5164 xfer
+= oprot
->writeBinary((*_iter324
));
5166 xfer
+= oprot
->writeListEnd();
5168 xfer
+= oprot
->writeFieldEnd();
5170 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
5171 xfer
+= oprot
->writeI64(this->timestamp
);
5172 xfer
+= oprot
->writeFieldEnd();
5174 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
5176 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
5177 std::map
<Text
, Text
> ::const_iterator _iter325
;
5178 for (_iter325
= this->attributes
.begin(); _iter325
!= this->attributes
.end(); ++_iter325
)
5180 xfer
+= oprot
->writeBinary(_iter325
->first
);
5181 xfer
+= oprot
->writeBinary(_iter325
->second
);
5183 xfer
+= oprot
->writeMapEnd();
5185 xfer
+= oprot
->writeFieldEnd();
5187 xfer
+= oprot
->writeFieldStop();
5188 xfer
+= oprot
->writeStructEnd();
5192 uint32_t Hbase_getRowsWithColumnsTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5194 xfer
+= oprot
->writeStructBegin("Hbase_getRowsWithColumnsTs_pargs");
5196 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
5197 xfer
+= oprot
->writeBinary((*(this->tableName
)));
5198 xfer
+= oprot
->writeFieldEnd();
5200 xfer
+= oprot
->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST
, 2);
5202 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->rows
)).size()));
5203 std::vector
<Text
> ::const_iterator _iter326
;
5204 for (_iter326
= (*(this->rows
)).begin(); _iter326
!= (*(this->rows
)).end(); ++_iter326
)
5206 xfer
+= oprot
->writeBinary((*_iter326
));
5208 xfer
+= oprot
->writeListEnd();
5210 xfer
+= oprot
->writeFieldEnd();
5212 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
5214 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
5215 std::vector
<Text
> ::const_iterator _iter327
;
5216 for (_iter327
= (*(this->columns
)).begin(); _iter327
!= (*(this->columns
)).end(); ++_iter327
)
5218 xfer
+= oprot
->writeBinary((*_iter327
));
5220 xfer
+= oprot
->writeListEnd();
5222 xfer
+= oprot
->writeFieldEnd();
5224 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
5225 xfer
+= oprot
->writeI64((*(this->timestamp
)));
5226 xfer
+= oprot
->writeFieldEnd();
5228 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
5230 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
5231 std::map
<Text
, Text
> ::const_iterator _iter328
;
5232 for (_iter328
= (*(this->attributes
)).begin(); _iter328
!= (*(this->attributes
)).end(); ++_iter328
)
5234 xfer
+= oprot
->writeBinary(_iter328
->first
);
5235 xfer
+= oprot
->writeBinary(_iter328
->second
);
5237 xfer
+= oprot
->writeMapEnd();
5239 xfer
+= oprot
->writeFieldEnd();
5241 xfer
+= oprot
->writeFieldStop();
5242 xfer
+= oprot
->writeStructEnd();
5246 uint32_t Hbase_getRowsWithColumnsTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5250 ::apache::thrift::protocol::TType ftype
;
5253 xfer
+= iprot
->readStructBegin(fname
);
5255 using ::apache::thrift::protocol::TProtocolException
;
5260 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5261 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5267 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
5269 this->success
.clear();
5271 ::apache::thrift::protocol::TType _etype332
;
5272 xfer
+= iprot
->readListBegin(_etype332
, _size329
);
5273 this->success
.resize(_size329
);
5275 for (_i333
= 0; _i333
< _size329
; ++_i333
)
5277 xfer
+= this->success
[_i333
].read(iprot
);
5279 xfer
+= iprot
->readListEnd();
5281 this->__isset
.success
= true;
5283 xfer
+= iprot
->skip(ftype
);
5287 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5288 xfer
+= this->io
.read(iprot
);
5289 this->__isset
.io
= true;
5291 xfer
+= iprot
->skip(ftype
);
5295 xfer
+= iprot
->skip(ftype
);
5298 xfer
+= iprot
->readFieldEnd();
5301 xfer
+= iprot
->readStructEnd();
5306 uint32_t Hbase_getRowsWithColumnsTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5310 xfer
+= oprot
->writeStructBegin("Hbase_getRowsWithColumnsTs_result");
5312 if (this->__isset
.success
) {
5313 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
5315 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
5316 std::vector
<TRowResult
> ::const_iterator _iter334
;
5317 for (_iter334
= this->success
.begin(); _iter334
!= this->success
.end(); ++_iter334
)
5319 xfer
+= (*_iter334
).write(oprot
);
5321 xfer
+= oprot
->writeListEnd();
5323 xfer
+= oprot
->writeFieldEnd();
5324 } else if (this->__isset
.io
) {
5325 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
5326 xfer
+= this->io
.write(oprot
);
5327 xfer
+= oprot
->writeFieldEnd();
5329 xfer
+= oprot
->writeFieldStop();
5330 xfer
+= oprot
->writeStructEnd();
5334 uint32_t Hbase_getRowsWithColumnsTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5338 ::apache::thrift::protocol::TType ftype
;
5341 xfer
+= iprot
->readStructBegin(fname
);
5343 using ::apache::thrift::protocol::TProtocolException
;
5348 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5349 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5355 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
5357 (*(this->success
)).clear();
5359 ::apache::thrift::protocol::TType _etype338
;
5360 xfer
+= iprot
->readListBegin(_etype338
, _size335
);
5361 (*(this->success
)).resize(_size335
);
5363 for (_i339
= 0; _i339
< _size335
; ++_i339
)
5365 xfer
+= (*(this->success
))[_i339
].read(iprot
);
5367 xfer
+= iprot
->readListEnd();
5369 this->__isset
.success
= true;
5371 xfer
+= iprot
->skip(ftype
);
5375 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5376 xfer
+= this->io
.read(iprot
);
5377 this->__isset
.io
= true;
5379 xfer
+= iprot
->skip(ftype
);
5383 xfer
+= iprot
->skip(ftype
);
5386 xfer
+= iprot
->readFieldEnd();
5389 xfer
+= iprot
->readStructEnd();
5394 uint32_t Hbase_mutateRow_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5398 ::apache::thrift::protocol::TType ftype
;
5401 xfer
+= iprot
->readStructBegin(fname
);
5403 using ::apache::thrift::protocol::TProtocolException
;
5408 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5409 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5415 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
5416 xfer
+= iprot
->readBinary(this->tableName
);
5417 this->__isset
.tableName
= true;
5419 xfer
+= iprot
->skip(ftype
);
5423 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
5424 xfer
+= iprot
->readBinary(this->row
);
5425 this->__isset
.row
= true;
5427 xfer
+= iprot
->skip(ftype
);
5431 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
5433 this->mutations
.clear();
5435 ::apache::thrift::protocol::TType _etype343
;
5436 xfer
+= iprot
->readListBegin(_etype343
, _size340
);
5437 this->mutations
.resize(_size340
);
5439 for (_i344
= 0; _i344
< _size340
; ++_i344
)
5441 xfer
+= this->mutations
[_i344
].read(iprot
);
5443 xfer
+= iprot
->readListEnd();
5445 this->__isset
.mutations
= true;
5447 xfer
+= iprot
->skip(ftype
);
5451 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
5453 this->attributes
.clear();
5455 ::apache::thrift::protocol::TType _ktype346
;
5456 ::apache::thrift::protocol::TType _vtype347
;
5457 xfer
+= iprot
->readMapBegin(_ktype346
, _vtype347
, _size345
);
5459 for (_i349
= 0; _i349
< _size345
; ++_i349
)
5462 xfer
+= iprot
->readBinary(_key350
);
5463 Text
& _val351
= this->attributes
[_key350
];
5464 xfer
+= iprot
->readBinary(_val351
);
5466 xfer
+= iprot
->readMapEnd();
5468 this->__isset
.attributes
= true;
5470 xfer
+= iprot
->skip(ftype
);
5474 xfer
+= iprot
->skip(ftype
);
5477 xfer
+= iprot
->readFieldEnd();
5480 xfer
+= iprot
->readStructEnd();
5485 uint32_t Hbase_mutateRow_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5487 xfer
+= oprot
->writeStructBegin("Hbase_mutateRow_args");
5489 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
5490 xfer
+= oprot
->writeBinary(this->tableName
);
5491 xfer
+= oprot
->writeFieldEnd();
5493 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
5494 xfer
+= oprot
->writeBinary(this->row
);
5495 xfer
+= oprot
->writeFieldEnd();
5497 xfer
+= oprot
->writeFieldBegin("mutations", ::apache::thrift::protocol::T_LIST
, 3);
5499 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->mutations
.size()));
5500 std::vector
<Mutation
> ::const_iterator _iter352
;
5501 for (_iter352
= this->mutations
.begin(); _iter352
!= this->mutations
.end(); ++_iter352
)
5503 xfer
+= (*_iter352
).write(oprot
);
5505 xfer
+= oprot
->writeListEnd();
5507 xfer
+= oprot
->writeFieldEnd();
5509 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
5511 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
5512 std::map
<Text
, Text
> ::const_iterator _iter353
;
5513 for (_iter353
= this->attributes
.begin(); _iter353
!= this->attributes
.end(); ++_iter353
)
5515 xfer
+= oprot
->writeBinary(_iter353
->first
);
5516 xfer
+= oprot
->writeBinary(_iter353
->second
);
5518 xfer
+= oprot
->writeMapEnd();
5520 xfer
+= oprot
->writeFieldEnd();
5522 xfer
+= oprot
->writeFieldStop();
5523 xfer
+= oprot
->writeStructEnd();
5527 uint32_t Hbase_mutateRow_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5529 xfer
+= oprot
->writeStructBegin("Hbase_mutateRow_pargs");
5531 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
5532 xfer
+= oprot
->writeBinary((*(this->tableName
)));
5533 xfer
+= oprot
->writeFieldEnd();
5535 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
5536 xfer
+= oprot
->writeBinary((*(this->row
)));
5537 xfer
+= oprot
->writeFieldEnd();
5539 xfer
+= oprot
->writeFieldBegin("mutations", ::apache::thrift::protocol::T_LIST
, 3);
5541 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>((*(this->mutations
)).size()));
5542 std::vector
<Mutation
> ::const_iterator _iter354
;
5543 for (_iter354
= (*(this->mutations
)).begin(); _iter354
!= (*(this->mutations
)).end(); ++_iter354
)
5545 xfer
+= (*_iter354
).write(oprot
);
5547 xfer
+= oprot
->writeListEnd();
5549 xfer
+= oprot
->writeFieldEnd();
5551 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
5553 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
5554 std::map
<Text
, Text
> ::const_iterator _iter355
;
5555 for (_iter355
= (*(this->attributes
)).begin(); _iter355
!= (*(this->attributes
)).end(); ++_iter355
)
5557 xfer
+= oprot
->writeBinary(_iter355
->first
);
5558 xfer
+= oprot
->writeBinary(_iter355
->second
);
5560 xfer
+= oprot
->writeMapEnd();
5562 xfer
+= oprot
->writeFieldEnd();
5564 xfer
+= oprot
->writeFieldStop();
5565 xfer
+= oprot
->writeStructEnd();
5569 uint32_t Hbase_mutateRow_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5573 ::apache::thrift::protocol::TType ftype
;
5576 xfer
+= iprot
->readStructBegin(fname
);
5578 using ::apache::thrift::protocol::TProtocolException
;
5583 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5584 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5590 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5591 xfer
+= this->io
.read(iprot
);
5592 this->__isset
.io
= true;
5594 xfer
+= iprot
->skip(ftype
);
5598 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5599 xfer
+= this->ia
.read(iprot
);
5600 this->__isset
.ia
= true;
5602 xfer
+= iprot
->skip(ftype
);
5606 xfer
+= iprot
->skip(ftype
);
5609 xfer
+= iprot
->readFieldEnd();
5612 xfer
+= iprot
->readStructEnd();
5617 uint32_t Hbase_mutateRow_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5621 xfer
+= oprot
->writeStructBegin("Hbase_mutateRow_result");
5623 if (this->__isset
.io
) {
5624 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
5625 xfer
+= this->io
.write(oprot
);
5626 xfer
+= oprot
->writeFieldEnd();
5627 } else if (this->__isset
.ia
) {
5628 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
5629 xfer
+= this->ia
.write(oprot
);
5630 xfer
+= oprot
->writeFieldEnd();
5632 xfer
+= oprot
->writeFieldStop();
5633 xfer
+= oprot
->writeStructEnd();
5637 uint32_t Hbase_mutateRow_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5641 ::apache::thrift::protocol::TType ftype
;
5644 xfer
+= iprot
->readStructBegin(fname
);
5646 using ::apache::thrift::protocol::TProtocolException
;
5651 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5652 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5658 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5659 xfer
+= this->io
.read(iprot
);
5660 this->__isset
.io
= true;
5662 xfer
+= iprot
->skip(ftype
);
5666 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5667 xfer
+= this->ia
.read(iprot
);
5668 this->__isset
.ia
= true;
5670 xfer
+= iprot
->skip(ftype
);
5674 xfer
+= iprot
->skip(ftype
);
5677 xfer
+= iprot
->readFieldEnd();
5680 xfer
+= iprot
->readStructEnd();
5685 uint32_t Hbase_mutateRowTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5689 ::apache::thrift::protocol::TType ftype
;
5692 xfer
+= iprot
->readStructBegin(fname
);
5694 using ::apache::thrift::protocol::TProtocolException
;
5699 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5700 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5706 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
5707 xfer
+= iprot
->readBinary(this->tableName
);
5708 this->__isset
.tableName
= true;
5710 xfer
+= iprot
->skip(ftype
);
5714 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
5715 xfer
+= iprot
->readBinary(this->row
);
5716 this->__isset
.row
= true;
5718 xfer
+= iprot
->skip(ftype
);
5722 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
5724 this->mutations
.clear();
5726 ::apache::thrift::protocol::TType _etype359
;
5727 xfer
+= iprot
->readListBegin(_etype359
, _size356
);
5728 this->mutations
.resize(_size356
);
5730 for (_i360
= 0; _i360
< _size356
; ++_i360
)
5732 xfer
+= this->mutations
[_i360
].read(iprot
);
5734 xfer
+= iprot
->readListEnd();
5736 this->__isset
.mutations
= true;
5738 xfer
+= iprot
->skip(ftype
);
5742 if (ftype
== ::apache::thrift::protocol::T_I64
) {
5743 xfer
+= iprot
->readI64(this->timestamp
);
5744 this->__isset
.timestamp
= true;
5746 xfer
+= iprot
->skip(ftype
);
5750 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
5752 this->attributes
.clear();
5754 ::apache::thrift::protocol::TType _ktype362
;
5755 ::apache::thrift::protocol::TType _vtype363
;
5756 xfer
+= iprot
->readMapBegin(_ktype362
, _vtype363
, _size361
);
5758 for (_i365
= 0; _i365
< _size361
; ++_i365
)
5761 xfer
+= iprot
->readBinary(_key366
);
5762 Text
& _val367
= this->attributes
[_key366
];
5763 xfer
+= iprot
->readBinary(_val367
);
5765 xfer
+= iprot
->readMapEnd();
5767 this->__isset
.attributes
= true;
5769 xfer
+= iprot
->skip(ftype
);
5773 xfer
+= iprot
->skip(ftype
);
5776 xfer
+= iprot
->readFieldEnd();
5779 xfer
+= iprot
->readStructEnd();
5784 uint32_t Hbase_mutateRowTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5786 xfer
+= oprot
->writeStructBegin("Hbase_mutateRowTs_args");
5788 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
5789 xfer
+= oprot
->writeBinary(this->tableName
);
5790 xfer
+= oprot
->writeFieldEnd();
5792 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
5793 xfer
+= oprot
->writeBinary(this->row
);
5794 xfer
+= oprot
->writeFieldEnd();
5796 xfer
+= oprot
->writeFieldBegin("mutations", ::apache::thrift::protocol::T_LIST
, 3);
5798 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->mutations
.size()));
5799 std::vector
<Mutation
> ::const_iterator _iter368
;
5800 for (_iter368
= this->mutations
.begin(); _iter368
!= this->mutations
.end(); ++_iter368
)
5802 xfer
+= (*_iter368
).write(oprot
);
5804 xfer
+= oprot
->writeListEnd();
5806 xfer
+= oprot
->writeFieldEnd();
5808 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
5809 xfer
+= oprot
->writeI64(this->timestamp
);
5810 xfer
+= oprot
->writeFieldEnd();
5812 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
5814 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
5815 std::map
<Text
, Text
> ::const_iterator _iter369
;
5816 for (_iter369
= this->attributes
.begin(); _iter369
!= this->attributes
.end(); ++_iter369
)
5818 xfer
+= oprot
->writeBinary(_iter369
->first
);
5819 xfer
+= oprot
->writeBinary(_iter369
->second
);
5821 xfer
+= oprot
->writeMapEnd();
5823 xfer
+= oprot
->writeFieldEnd();
5825 xfer
+= oprot
->writeFieldStop();
5826 xfer
+= oprot
->writeStructEnd();
5830 uint32_t Hbase_mutateRowTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5832 xfer
+= oprot
->writeStructBegin("Hbase_mutateRowTs_pargs");
5834 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
5835 xfer
+= oprot
->writeBinary((*(this->tableName
)));
5836 xfer
+= oprot
->writeFieldEnd();
5838 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
5839 xfer
+= oprot
->writeBinary((*(this->row
)));
5840 xfer
+= oprot
->writeFieldEnd();
5842 xfer
+= oprot
->writeFieldBegin("mutations", ::apache::thrift::protocol::T_LIST
, 3);
5844 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>((*(this->mutations
)).size()));
5845 std::vector
<Mutation
> ::const_iterator _iter370
;
5846 for (_iter370
= (*(this->mutations
)).begin(); _iter370
!= (*(this->mutations
)).end(); ++_iter370
)
5848 xfer
+= (*_iter370
).write(oprot
);
5850 xfer
+= oprot
->writeListEnd();
5852 xfer
+= oprot
->writeFieldEnd();
5854 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
5855 xfer
+= oprot
->writeI64((*(this->timestamp
)));
5856 xfer
+= oprot
->writeFieldEnd();
5858 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
5860 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
5861 std::map
<Text
, Text
> ::const_iterator _iter371
;
5862 for (_iter371
= (*(this->attributes
)).begin(); _iter371
!= (*(this->attributes
)).end(); ++_iter371
)
5864 xfer
+= oprot
->writeBinary(_iter371
->first
);
5865 xfer
+= oprot
->writeBinary(_iter371
->second
);
5867 xfer
+= oprot
->writeMapEnd();
5869 xfer
+= oprot
->writeFieldEnd();
5871 xfer
+= oprot
->writeFieldStop();
5872 xfer
+= oprot
->writeStructEnd();
5876 uint32_t Hbase_mutateRowTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5880 ::apache::thrift::protocol::TType ftype
;
5883 xfer
+= iprot
->readStructBegin(fname
);
5885 using ::apache::thrift::protocol::TProtocolException
;
5890 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5891 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5897 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5898 xfer
+= this->io
.read(iprot
);
5899 this->__isset
.io
= true;
5901 xfer
+= iprot
->skip(ftype
);
5905 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5906 xfer
+= this->ia
.read(iprot
);
5907 this->__isset
.ia
= true;
5909 xfer
+= iprot
->skip(ftype
);
5913 xfer
+= iprot
->skip(ftype
);
5916 xfer
+= iprot
->readFieldEnd();
5919 xfer
+= iprot
->readStructEnd();
5924 uint32_t Hbase_mutateRowTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
5928 xfer
+= oprot
->writeStructBegin("Hbase_mutateRowTs_result");
5930 if (this->__isset
.io
) {
5931 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
5932 xfer
+= this->io
.write(oprot
);
5933 xfer
+= oprot
->writeFieldEnd();
5934 } else if (this->__isset
.ia
) {
5935 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
5936 xfer
+= this->ia
.write(oprot
);
5937 xfer
+= oprot
->writeFieldEnd();
5939 xfer
+= oprot
->writeFieldStop();
5940 xfer
+= oprot
->writeStructEnd();
5944 uint32_t Hbase_mutateRowTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5948 ::apache::thrift::protocol::TType ftype
;
5951 xfer
+= iprot
->readStructBegin(fname
);
5953 using ::apache::thrift::protocol::TProtocolException
;
5958 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
5959 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
5965 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5966 xfer
+= this->io
.read(iprot
);
5967 this->__isset
.io
= true;
5969 xfer
+= iprot
->skip(ftype
);
5973 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
5974 xfer
+= this->ia
.read(iprot
);
5975 this->__isset
.ia
= true;
5977 xfer
+= iprot
->skip(ftype
);
5981 xfer
+= iprot
->skip(ftype
);
5984 xfer
+= iprot
->readFieldEnd();
5987 xfer
+= iprot
->readStructEnd();
5992 uint32_t Hbase_mutateRows_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
5996 ::apache::thrift::protocol::TType ftype
;
5999 xfer
+= iprot
->readStructBegin(fname
);
6001 using ::apache::thrift::protocol::TProtocolException
;
6006 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6007 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6013 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6014 xfer
+= iprot
->readBinary(this->tableName
);
6015 this->__isset
.tableName
= true;
6017 xfer
+= iprot
->skip(ftype
);
6021 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
6023 this->rowBatches
.clear();
6025 ::apache::thrift::protocol::TType _etype375
;
6026 xfer
+= iprot
->readListBegin(_etype375
, _size372
);
6027 this->rowBatches
.resize(_size372
);
6029 for (_i376
= 0; _i376
< _size372
; ++_i376
)
6031 xfer
+= this->rowBatches
[_i376
].read(iprot
);
6033 xfer
+= iprot
->readListEnd();
6035 this->__isset
.rowBatches
= true;
6037 xfer
+= iprot
->skip(ftype
);
6041 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
6043 this->attributes
.clear();
6045 ::apache::thrift::protocol::TType _ktype378
;
6046 ::apache::thrift::protocol::TType _vtype379
;
6047 xfer
+= iprot
->readMapBegin(_ktype378
, _vtype379
, _size377
);
6049 for (_i381
= 0; _i381
< _size377
; ++_i381
)
6052 xfer
+= iprot
->readBinary(_key382
);
6053 Text
& _val383
= this->attributes
[_key382
];
6054 xfer
+= iprot
->readBinary(_val383
);
6056 xfer
+= iprot
->readMapEnd();
6058 this->__isset
.attributes
= true;
6060 xfer
+= iprot
->skip(ftype
);
6064 xfer
+= iprot
->skip(ftype
);
6067 xfer
+= iprot
->readFieldEnd();
6070 xfer
+= iprot
->readStructEnd();
6075 uint32_t Hbase_mutateRows_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6077 xfer
+= oprot
->writeStructBegin("Hbase_mutateRows_args");
6079 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6080 xfer
+= oprot
->writeBinary(this->tableName
);
6081 xfer
+= oprot
->writeFieldEnd();
6083 xfer
+= oprot
->writeFieldBegin("rowBatches", ::apache::thrift::protocol::T_LIST
, 2);
6085 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->rowBatches
.size()));
6086 std::vector
<BatchMutation
> ::const_iterator _iter384
;
6087 for (_iter384
= this->rowBatches
.begin(); _iter384
!= this->rowBatches
.end(); ++_iter384
)
6089 xfer
+= (*_iter384
).write(oprot
);
6091 xfer
+= oprot
->writeListEnd();
6093 xfer
+= oprot
->writeFieldEnd();
6095 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
6097 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
6098 std::map
<Text
, Text
> ::const_iterator _iter385
;
6099 for (_iter385
= this->attributes
.begin(); _iter385
!= this->attributes
.end(); ++_iter385
)
6101 xfer
+= oprot
->writeBinary(_iter385
->first
);
6102 xfer
+= oprot
->writeBinary(_iter385
->second
);
6104 xfer
+= oprot
->writeMapEnd();
6106 xfer
+= oprot
->writeFieldEnd();
6108 xfer
+= oprot
->writeFieldStop();
6109 xfer
+= oprot
->writeStructEnd();
6113 uint32_t Hbase_mutateRows_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6115 xfer
+= oprot
->writeStructBegin("Hbase_mutateRows_pargs");
6117 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6118 xfer
+= oprot
->writeBinary((*(this->tableName
)));
6119 xfer
+= oprot
->writeFieldEnd();
6121 xfer
+= oprot
->writeFieldBegin("rowBatches", ::apache::thrift::protocol::T_LIST
, 2);
6123 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>((*(this->rowBatches
)).size()));
6124 std::vector
<BatchMutation
> ::const_iterator _iter386
;
6125 for (_iter386
= (*(this->rowBatches
)).begin(); _iter386
!= (*(this->rowBatches
)).end(); ++_iter386
)
6127 xfer
+= (*_iter386
).write(oprot
);
6129 xfer
+= oprot
->writeListEnd();
6131 xfer
+= oprot
->writeFieldEnd();
6133 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
6135 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
6136 std::map
<Text
, Text
> ::const_iterator _iter387
;
6137 for (_iter387
= (*(this->attributes
)).begin(); _iter387
!= (*(this->attributes
)).end(); ++_iter387
)
6139 xfer
+= oprot
->writeBinary(_iter387
->first
);
6140 xfer
+= oprot
->writeBinary(_iter387
->second
);
6142 xfer
+= oprot
->writeMapEnd();
6144 xfer
+= oprot
->writeFieldEnd();
6146 xfer
+= oprot
->writeFieldStop();
6147 xfer
+= oprot
->writeStructEnd();
6151 uint32_t Hbase_mutateRows_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6155 ::apache::thrift::protocol::TType ftype
;
6158 xfer
+= iprot
->readStructBegin(fname
);
6160 using ::apache::thrift::protocol::TProtocolException
;
6165 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6166 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6172 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6173 xfer
+= this->io
.read(iprot
);
6174 this->__isset
.io
= true;
6176 xfer
+= iprot
->skip(ftype
);
6180 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6181 xfer
+= this->ia
.read(iprot
);
6182 this->__isset
.ia
= true;
6184 xfer
+= iprot
->skip(ftype
);
6188 xfer
+= iprot
->skip(ftype
);
6191 xfer
+= iprot
->readFieldEnd();
6194 xfer
+= iprot
->readStructEnd();
6199 uint32_t Hbase_mutateRows_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6203 xfer
+= oprot
->writeStructBegin("Hbase_mutateRows_result");
6205 if (this->__isset
.io
) {
6206 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
6207 xfer
+= this->io
.write(oprot
);
6208 xfer
+= oprot
->writeFieldEnd();
6209 } else if (this->__isset
.ia
) {
6210 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
6211 xfer
+= this->ia
.write(oprot
);
6212 xfer
+= oprot
->writeFieldEnd();
6214 xfer
+= oprot
->writeFieldStop();
6215 xfer
+= oprot
->writeStructEnd();
6219 uint32_t Hbase_mutateRows_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6223 ::apache::thrift::protocol::TType ftype
;
6226 xfer
+= iprot
->readStructBegin(fname
);
6228 using ::apache::thrift::protocol::TProtocolException
;
6233 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6234 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6240 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6241 xfer
+= this->io
.read(iprot
);
6242 this->__isset
.io
= true;
6244 xfer
+= iprot
->skip(ftype
);
6248 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6249 xfer
+= this->ia
.read(iprot
);
6250 this->__isset
.ia
= true;
6252 xfer
+= iprot
->skip(ftype
);
6256 xfer
+= iprot
->skip(ftype
);
6259 xfer
+= iprot
->readFieldEnd();
6262 xfer
+= iprot
->readStructEnd();
6267 uint32_t Hbase_mutateRowsTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6271 ::apache::thrift::protocol::TType ftype
;
6274 xfer
+= iprot
->readStructBegin(fname
);
6276 using ::apache::thrift::protocol::TProtocolException
;
6281 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6282 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6288 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6289 xfer
+= iprot
->readBinary(this->tableName
);
6290 this->__isset
.tableName
= true;
6292 xfer
+= iprot
->skip(ftype
);
6296 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
6298 this->rowBatches
.clear();
6300 ::apache::thrift::protocol::TType _etype391
;
6301 xfer
+= iprot
->readListBegin(_etype391
, _size388
);
6302 this->rowBatches
.resize(_size388
);
6304 for (_i392
= 0; _i392
< _size388
; ++_i392
)
6306 xfer
+= this->rowBatches
[_i392
].read(iprot
);
6308 xfer
+= iprot
->readListEnd();
6310 this->__isset
.rowBatches
= true;
6312 xfer
+= iprot
->skip(ftype
);
6316 if (ftype
== ::apache::thrift::protocol::T_I64
) {
6317 xfer
+= iprot
->readI64(this->timestamp
);
6318 this->__isset
.timestamp
= true;
6320 xfer
+= iprot
->skip(ftype
);
6324 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
6326 this->attributes
.clear();
6328 ::apache::thrift::protocol::TType _ktype394
;
6329 ::apache::thrift::protocol::TType _vtype395
;
6330 xfer
+= iprot
->readMapBegin(_ktype394
, _vtype395
, _size393
);
6332 for (_i397
= 0; _i397
< _size393
; ++_i397
)
6335 xfer
+= iprot
->readBinary(_key398
);
6336 Text
& _val399
= this->attributes
[_key398
];
6337 xfer
+= iprot
->readBinary(_val399
);
6339 xfer
+= iprot
->readMapEnd();
6341 this->__isset
.attributes
= true;
6343 xfer
+= iprot
->skip(ftype
);
6347 xfer
+= iprot
->skip(ftype
);
6350 xfer
+= iprot
->readFieldEnd();
6353 xfer
+= iprot
->readStructEnd();
6358 uint32_t Hbase_mutateRowsTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6360 xfer
+= oprot
->writeStructBegin("Hbase_mutateRowsTs_args");
6362 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6363 xfer
+= oprot
->writeBinary(this->tableName
);
6364 xfer
+= oprot
->writeFieldEnd();
6366 xfer
+= oprot
->writeFieldBegin("rowBatches", ::apache::thrift::protocol::T_LIST
, 2);
6368 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->rowBatches
.size()));
6369 std::vector
<BatchMutation
> ::const_iterator _iter400
;
6370 for (_iter400
= this->rowBatches
.begin(); _iter400
!= this->rowBatches
.end(); ++_iter400
)
6372 xfer
+= (*_iter400
).write(oprot
);
6374 xfer
+= oprot
->writeListEnd();
6376 xfer
+= oprot
->writeFieldEnd();
6378 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
6379 xfer
+= oprot
->writeI64(this->timestamp
);
6380 xfer
+= oprot
->writeFieldEnd();
6382 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
6384 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
6385 std::map
<Text
, Text
> ::const_iterator _iter401
;
6386 for (_iter401
= this->attributes
.begin(); _iter401
!= this->attributes
.end(); ++_iter401
)
6388 xfer
+= oprot
->writeBinary(_iter401
->first
);
6389 xfer
+= oprot
->writeBinary(_iter401
->second
);
6391 xfer
+= oprot
->writeMapEnd();
6393 xfer
+= oprot
->writeFieldEnd();
6395 xfer
+= oprot
->writeFieldStop();
6396 xfer
+= oprot
->writeStructEnd();
6400 uint32_t Hbase_mutateRowsTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6402 xfer
+= oprot
->writeStructBegin("Hbase_mutateRowsTs_pargs");
6404 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6405 xfer
+= oprot
->writeBinary((*(this->tableName
)));
6406 xfer
+= oprot
->writeFieldEnd();
6408 xfer
+= oprot
->writeFieldBegin("rowBatches", ::apache::thrift::protocol::T_LIST
, 2);
6410 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>((*(this->rowBatches
)).size()));
6411 std::vector
<BatchMutation
> ::const_iterator _iter402
;
6412 for (_iter402
= (*(this->rowBatches
)).begin(); _iter402
!= (*(this->rowBatches
)).end(); ++_iter402
)
6414 xfer
+= (*_iter402
).write(oprot
);
6416 xfer
+= oprot
->writeListEnd();
6418 xfer
+= oprot
->writeFieldEnd();
6420 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
6421 xfer
+= oprot
->writeI64((*(this->timestamp
)));
6422 xfer
+= oprot
->writeFieldEnd();
6424 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
6426 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
6427 std::map
<Text
, Text
> ::const_iterator _iter403
;
6428 for (_iter403
= (*(this->attributes
)).begin(); _iter403
!= (*(this->attributes
)).end(); ++_iter403
)
6430 xfer
+= oprot
->writeBinary(_iter403
->first
);
6431 xfer
+= oprot
->writeBinary(_iter403
->second
);
6433 xfer
+= oprot
->writeMapEnd();
6435 xfer
+= oprot
->writeFieldEnd();
6437 xfer
+= oprot
->writeFieldStop();
6438 xfer
+= oprot
->writeStructEnd();
6442 uint32_t Hbase_mutateRowsTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6446 ::apache::thrift::protocol::TType ftype
;
6449 xfer
+= iprot
->readStructBegin(fname
);
6451 using ::apache::thrift::protocol::TProtocolException
;
6456 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6457 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6463 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6464 xfer
+= this->io
.read(iprot
);
6465 this->__isset
.io
= true;
6467 xfer
+= iprot
->skip(ftype
);
6471 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6472 xfer
+= this->ia
.read(iprot
);
6473 this->__isset
.ia
= true;
6475 xfer
+= iprot
->skip(ftype
);
6479 xfer
+= iprot
->skip(ftype
);
6482 xfer
+= iprot
->readFieldEnd();
6485 xfer
+= iprot
->readStructEnd();
6490 uint32_t Hbase_mutateRowsTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6494 xfer
+= oprot
->writeStructBegin("Hbase_mutateRowsTs_result");
6496 if (this->__isset
.io
) {
6497 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
6498 xfer
+= this->io
.write(oprot
);
6499 xfer
+= oprot
->writeFieldEnd();
6500 } else if (this->__isset
.ia
) {
6501 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
6502 xfer
+= this->ia
.write(oprot
);
6503 xfer
+= oprot
->writeFieldEnd();
6505 xfer
+= oprot
->writeFieldStop();
6506 xfer
+= oprot
->writeStructEnd();
6510 uint32_t Hbase_mutateRowsTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6514 ::apache::thrift::protocol::TType ftype
;
6517 xfer
+= iprot
->readStructBegin(fname
);
6519 using ::apache::thrift::protocol::TProtocolException
;
6524 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6525 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6531 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6532 xfer
+= this->io
.read(iprot
);
6533 this->__isset
.io
= true;
6535 xfer
+= iprot
->skip(ftype
);
6539 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6540 xfer
+= this->ia
.read(iprot
);
6541 this->__isset
.ia
= true;
6543 xfer
+= iprot
->skip(ftype
);
6547 xfer
+= iprot
->skip(ftype
);
6550 xfer
+= iprot
->readFieldEnd();
6553 xfer
+= iprot
->readStructEnd();
6558 uint32_t Hbase_atomicIncrement_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6562 ::apache::thrift::protocol::TType ftype
;
6565 xfer
+= iprot
->readStructBegin(fname
);
6567 using ::apache::thrift::protocol::TProtocolException
;
6572 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6573 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6579 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6580 xfer
+= iprot
->readBinary(this->tableName
);
6581 this->__isset
.tableName
= true;
6583 xfer
+= iprot
->skip(ftype
);
6587 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6588 xfer
+= iprot
->readBinary(this->row
);
6589 this->__isset
.row
= true;
6591 xfer
+= iprot
->skip(ftype
);
6595 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6596 xfer
+= iprot
->readBinary(this->column
);
6597 this->__isset
.column
= true;
6599 xfer
+= iprot
->skip(ftype
);
6603 if (ftype
== ::apache::thrift::protocol::T_I64
) {
6604 xfer
+= iprot
->readI64(this->value
);
6605 this->__isset
.value
= true;
6607 xfer
+= iprot
->skip(ftype
);
6611 xfer
+= iprot
->skip(ftype
);
6614 xfer
+= iprot
->readFieldEnd();
6617 xfer
+= iprot
->readStructEnd();
6622 uint32_t Hbase_atomicIncrement_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6624 xfer
+= oprot
->writeStructBegin("Hbase_atomicIncrement_args");
6626 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6627 xfer
+= oprot
->writeBinary(this->tableName
);
6628 xfer
+= oprot
->writeFieldEnd();
6630 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
6631 xfer
+= oprot
->writeBinary(this->row
);
6632 xfer
+= oprot
->writeFieldEnd();
6634 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
6635 xfer
+= oprot
->writeBinary(this->column
);
6636 xfer
+= oprot
->writeFieldEnd();
6638 xfer
+= oprot
->writeFieldBegin("value", ::apache::thrift::protocol::T_I64
, 4);
6639 xfer
+= oprot
->writeI64(this->value
);
6640 xfer
+= oprot
->writeFieldEnd();
6642 xfer
+= oprot
->writeFieldStop();
6643 xfer
+= oprot
->writeStructEnd();
6647 uint32_t Hbase_atomicIncrement_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6649 xfer
+= oprot
->writeStructBegin("Hbase_atomicIncrement_pargs");
6651 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6652 xfer
+= oprot
->writeBinary((*(this->tableName
)));
6653 xfer
+= oprot
->writeFieldEnd();
6655 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
6656 xfer
+= oprot
->writeBinary((*(this->row
)));
6657 xfer
+= oprot
->writeFieldEnd();
6659 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
6660 xfer
+= oprot
->writeBinary((*(this->column
)));
6661 xfer
+= oprot
->writeFieldEnd();
6663 xfer
+= oprot
->writeFieldBegin("value", ::apache::thrift::protocol::T_I64
, 4);
6664 xfer
+= oprot
->writeI64((*(this->value
)));
6665 xfer
+= oprot
->writeFieldEnd();
6667 xfer
+= oprot
->writeFieldStop();
6668 xfer
+= oprot
->writeStructEnd();
6672 uint32_t Hbase_atomicIncrement_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6676 ::apache::thrift::protocol::TType ftype
;
6679 xfer
+= iprot
->readStructBegin(fname
);
6681 using ::apache::thrift::protocol::TProtocolException
;
6686 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6687 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6693 if (ftype
== ::apache::thrift::protocol::T_I64
) {
6694 xfer
+= iprot
->readI64(this->success
);
6695 this->__isset
.success
= true;
6697 xfer
+= iprot
->skip(ftype
);
6701 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6702 xfer
+= this->io
.read(iprot
);
6703 this->__isset
.io
= true;
6705 xfer
+= iprot
->skip(ftype
);
6709 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6710 xfer
+= this->ia
.read(iprot
);
6711 this->__isset
.ia
= true;
6713 xfer
+= iprot
->skip(ftype
);
6717 xfer
+= iprot
->skip(ftype
);
6720 xfer
+= iprot
->readFieldEnd();
6723 xfer
+= iprot
->readStructEnd();
6728 uint32_t Hbase_atomicIncrement_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6732 xfer
+= oprot
->writeStructBegin("Hbase_atomicIncrement_result");
6734 if (this->__isset
.success
) {
6735 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I64
, 0);
6736 xfer
+= oprot
->writeI64(this->success
);
6737 xfer
+= oprot
->writeFieldEnd();
6738 } else if (this->__isset
.io
) {
6739 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
6740 xfer
+= this->io
.write(oprot
);
6741 xfer
+= oprot
->writeFieldEnd();
6742 } else if (this->__isset
.ia
) {
6743 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
6744 xfer
+= this->ia
.write(oprot
);
6745 xfer
+= oprot
->writeFieldEnd();
6747 xfer
+= oprot
->writeFieldStop();
6748 xfer
+= oprot
->writeStructEnd();
6752 uint32_t Hbase_atomicIncrement_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6756 ::apache::thrift::protocol::TType ftype
;
6759 xfer
+= iprot
->readStructBegin(fname
);
6761 using ::apache::thrift::protocol::TProtocolException
;
6766 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6767 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6773 if (ftype
== ::apache::thrift::protocol::T_I64
) {
6774 xfer
+= iprot
->readI64((*(this->success
)));
6775 this->__isset
.success
= true;
6777 xfer
+= iprot
->skip(ftype
);
6781 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6782 xfer
+= this->io
.read(iprot
);
6783 this->__isset
.io
= true;
6785 xfer
+= iprot
->skip(ftype
);
6789 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6790 xfer
+= this->ia
.read(iprot
);
6791 this->__isset
.ia
= true;
6793 xfer
+= iprot
->skip(ftype
);
6797 xfer
+= iprot
->skip(ftype
);
6800 xfer
+= iprot
->readFieldEnd();
6803 xfer
+= iprot
->readStructEnd();
6808 uint32_t Hbase_deleteAll_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6812 ::apache::thrift::protocol::TType ftype
;
6815 xfer
+= iprot
->readStructBegin(fname
);
6817 using ::apache::thrift::protocol::TProtocolException
;
6822 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6823 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6829 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6830 xfer
+= iprot
->readBinary(this->tableName
);
6831 this->__isset
.tableName
= true;
6833 xfer
+= iprot
->skip(ftype
);
6837 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6838 xfer
+= iprot
->readBinary(this->row
);
6839 this->__isset
.row
= true;
6841 xfer
+= iprot
->skip(ftype
);
6845 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
6846 xfer
+= iprot
->readBinary(this->column
);
6847 this->__isset
.column
= true;
6849 xfer
+= iprot
->skip(ftype
);
6853 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
6855 this->attributes
.clear();
6857 ::apache::thrift::protocol::TType _ktype405
;
6858 ::apache::thrift::protocol::TType _vtype406
;
6859 xfer
+= iprot
->readMapBegin(_ktype405
, _vtype406
, _size404
);
6861 for (_i408
= 0; _i408
< _size404
; ++_i408
)
6864 xfer
+= iprot
->readBinary(_key409
);
6865 Text
& _val410
= this->attributes
[_key409
];
6866 xfer
+= iprot
->readBinary(_val410
);
6868 xfer
+= iprot
->readMapEnd();
6870 this->__isset
.attributes
= true;
6872 xfer
+= iprot
->skip(ftype
);
6876 xfer
+= iprot
->skip(ftype
);
6879 xfer
+= iprot
->readFieldEnd();
6882 xfer
+= iprot
->readStructEnd();
6887 uint32_t Hbase_deleteAll_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6889 xfer
+= oprot
->writeStructBegin("Hbase_deleteAll_args");
6891 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6892 xfer
+= oprot
->writeBinary(this->tableName
);
6893 xfer
+= oprot
->writeFieldEnd();
6895 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
6896 xfer
+= oprot
->writeBinary(this->row
);
6897 xfer
+= oprot
->writeFieldEnd();
6899 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
6900 xfer
+= oprot
->writeBinary(this->column
);
6901 xfer
+= oprot
->writeFieldEnd();
6903 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
6905 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
6906 std::map
<Text
, Text
> ::const_iterator _iter411
;
6907 for (_iter411
= this->attributes
.begin(); _iter411
!= this->attributes
.end(); ++_iter411
)
6909 xfer
+= oprot
->writeBinary(_iter411
->first
);
6910 xfer
+= oprot
->writeBinary(_iter411
->second
);
6912 xfer
+= oprot
->writeMapEnd();
6914 xfer
+= oprot
->writeFieldEnd();
6916 xfer
+= oprot
->writeFieldStop();
6917 xfer
+= oprot
->writeStructEnd();
6921 uint32_t Hbase_deleteAll_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6923 xfer
+= oprot
->writeStructBegin("Hbase_deleteAll_pargs");
6925 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
6926 xfer
+= oprot
->writeBinary((*(this->tableName
)));
6927 xfer
+= oprot
->writeFieldEnd();
6929 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
6930 xfer
+= oprot
->writeBinary((*(this->row
)));
6931 xfer
+= oprot
->writeFieldEnd();
6933 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
6934 xfer
+= oprot
->writeBinary((*(this->column
)));
6935 xfer
+= oprot
->writeFieldEnd();
6937 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
6939 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
6940 std::map
<Text
, Text
> ::const_iterator _iter412
;
6941 for (_iter412
= (*(this->attributes
)).begin(); _iter412
!= (*(this->attributes
)).end(); ++_iter412
)
6943 xfer
+= oprot
->writeBinary(_iter412
->first
);
6944 xfer
+= oprot
->writeBinary(_iter412
->second
);
6946 xfer
+= oprot
->writeMapEnd();
6948 xfer
+= oprot
->writeFieldEnd();
6950 xfer
+= oprot
->writeFieldStop();
6951 xfer
+= oprot
->writeStructEnd();
6955 uint32_t Hbase_deleteAll_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
6959 ::apache::thrift::protocol::TType ftype
;
6962 xfer
+= iprot
->readStructBegin(fname
);
6964 using ::apache::thrift::protocol::TProtocolException
;
6969 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
6970 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
6976 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
6977 xfer
+= this->io
.read(iprot
);
6978 this->__isset
.io
= true;
6980 xfer
+= iprot
->skip(ftype
);
6984 xfer
+= iprot
->skip(ftype
);
6987 xfer
+= iprot
->readFieldEnd();
6990 xfer
+= iprot
->readStructEnd();
6995 uint32_t Hbase_deleteAll_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
6999 xfer
+= oprot
->writeStructBegin("Hbase_deleteAll_result");
7001 if (this->__isset
.io
) {
7002 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
7003 xfer
+= this->io
.write(oprot
);
7004 xfer
+= oprot
->writeFieldEnd();
7006 xfer
+= oprot
->writeFieldStop();
7007 xfer
+= oprot
->writeStructEnd();
7011 uint32_t Hbase_deleteAll_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7015 ::apache::thrift::protocol::TType ftype
;
7018 xfer
+= iprot
->readStructBegin(fname
);
7020 using ::apache::thrift::protocol::TProtocolException
;
7025 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7026 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7032 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7033 xfer
+= this->io
.read(iprot
);
7034 this->__isset
.io
= true;
7036 xfer
+= iprot
->skip(ftype
);
7040 xfer
+= iprot
->skip(ftype
);
7043 xfer
+= iprot
->readFieldEnd();
7046 xfer
+= iprot
->readStructEnd();
7051 uint32_t Hbase_deleteAllTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7055 ::apache::thrift::protocol::TType ftype
;
7058 xfer
+= iprot
->readStructBegin(fname
);
7060 using ::apache::thrift::protocol::TProtocolException
;
7065 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7066 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7072 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7073 xfer
+= iprot
->readBinary(this->tableName
);
7074 this->__isset
.tableName
= true;
7076 xfer
+= iprot
->skip(ftype
);
7080 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7081 xfer
+= iprot
->readBinary(this->row
);
7082 this->__isset
.row
= true;
7084 xfer
+= iprot
->skip(ftype
);
7088 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7089 xfer
+= iprot
->readBinary(this->column
);
7090 this->__isset
.column
= true;
7092 xfer
+= iprot
->skip(ftype
);
7096 if (ftype
== ::apache::thrift::protocol::T_I64
) {
7097 xfer
+= iprot
->readI64(this->timestamp
);
7098 this->__isset
.timestamp
= true;
7100 xfer
+= iprot
->skip(ftype
);
7104 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
7106 this->attributes
.clear();
7108 ::apache::thrift::protocol::TType _ktype414
;
7109 ::apache::thrift::protocol::TType _vtype415
;
7110 xfer
+= iprot
->readMapBegin(_ktype414
, _vtype415
, _size413
);
7112 for (_i417
= 0; _i417
< _size413
; ++_i417
)
7115 xfer
+= iprot
->readBinary(_key418
);
7116 Text
& _val419
= this->attributes
[_key418
];
7117 xfer
+= iprot
->readBinary(_val419
);
7119 xfer
+= iprot
->readMapEnd();
7121 this->__isset
.attributes
= true;
7123 xfer
+= iprot
->skip(ftype
);
7127 xfer
+= iprot
->skip(ftype
);
7130 xfer
+= iprot
->readFieldEnd();
7133 xfer
+= iprot
->readStructEnd();
7138 uint32_t Hbase_deleteAllTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7140 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllTs_args");
7142 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
7143 xfer
+= oprot
->writeBinary(this->tableName
);
7144 xfer
+= oprot
->writeFieldEnd();
7146 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
7147 xfer
+= oprot
->writeBinary(this->row
);
7148 xfer
+= oprot
->writeFieldEnd();
7150 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
7151 xfer
+= oprot
->writeBinary(this->column
);
7152 xfer
+= oprot
->writeFieldEnd();
7154 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
7155 xfer
+= oprot
->writeI64(this->timestamp
);
7156 xfer
+= oprot
->writeFieldEnd();
7158 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
7160 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
7161 std::map
<Text
, Text
> ::const_iterator _iter420
;
7162 for (_iter420
= this->attributes
.begin(); _iter420
!= this->attributes
.end(); ++_iter420
)
7164 xfer
+= oprot
->writeBinary(_iter420
->first
);
7165 xfer
+= oprot
->writeBinary(_iter420
->second
);
7167 xfer
+= oprot
->writeMapEnd();
7169 xfer
+= oprot
->writeFieldEnd();
7171 xfer
+= oprot
->writeFieldStop();
7172 xfer
+= oprot
->writeStructEnd();
7176 uint32_t Hbase_deleteAllTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7178 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllTs_pargs");
7180 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
7181 xfer
+= oprot
->writeBinary((*(this->tableName
)));
7182 xfer
+= oprot
->writeFieldEnd();
7184 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
7185 xfer
+= oprot
->writeBinary((*(this->row
)));
7186 xfer
+= oprot
->writeFieldEnd();
7188 xfer
+= oprot
->writeFieldBegin("column", ::apache::thrift::protocol::T_STRING
, 3);
7189 xfer
+= oprot
->writeBinary((*(this->column
)));
7190 xfer
+= oprot
->writeFieldEnd();
7192 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
7193 xfer
+= oprot
->writeI64((*(this->timestamp
)));
7194 xfer
+= oprot
->writeFieldEnd();
7196 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
7198 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
7199 std::map
<Text
, Text
> ::const_iterator _iter421
;
7200 for (_iter421
= (*(this->attributes
)).begin(); _iter421
!= (*(this->attributes
)).end(); ++_iter421
)
7202 xfer
+= oprot
->writeBinary(_iter421
->first
);
7203 xfer
+= oprot
->writeBinary(_iter421
->second
);
7205 xfer
+= oprot
->writeMapEnd();
7207 xfer
+= oprot
->writeFieldEnd();
7209 xfer
+= oprot
->writeFieldStop();
7210 xfer
+= oprot
->writeStructEnd();
7214 uint32_t Hbase_deleteAllTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7218 ::apache::thrift::protocol::TType ftype
;
7221 xfer
+= iprot
->readStructBegin(fname
);
7223 using ::apache::thrift::protocol::TProtocolException
;
7228 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7229 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7235 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7236 xfer
+= this->io
.read(iprot
);
7237 this->__isset
.io
= true;
7239 xfer
+= iprot
->skip(ftype
);
7243 xfer
+= iprot
->skip(ftype
);
7246 xfer
+= iprot
->readFieldEnd();
7249 xfer
+= iprot
->readStructEnd();
7254 uint32_t Hbase_deleteAllTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7258 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllTs_result");
7260 if (this->__isset
.io
) {
7261 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
7262 xfer
+= this->io
.write(oprot
);
7263 xfer
+= oprot
->writeFieldEnd();
7265 xfer
+= oprot
->writeFieldStop();
7266 xfer
+= oprot
->writeStructEnd();
7270 uint32_t Hbase_deleteAllTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7274 ::apache::thrift::protocol::TType ftype
;
7277 xfer
+= iprot
->readStructBegin(fname
);
7279 using ::apache::thrift::protocol::TProtocolException
;
7284 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7285 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7291 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7292 xfer
+= this->io
.read(iprot
);
7293 this->__isset
.io
= true;
7295 xfer
+= iprot
->skip(ftype
);
7299 xfer
+= iprot
->skip(ftype
);
7302 xfer
+= iprot
->readFieldEnd();
7305 xfer
+= iprot
->readStructEnd();
7310 uint32_t Hbase_deleteAllRow_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7314 ::apache::thrift::protocol::TType ftype
;
7317 xfer
+= iprot
->readStructBegin(fname
);
7319 using ::apache::thrift::protocol::TProtocolException
;
7324 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7325 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7331 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7332 xfer
+= iprot
->readBinary(this->tableName
);
7333 this->__isset
.tableName
= true;
7335 xfer
+= iprot
->skip(ftype
);
7339 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7340 xfer
+= iprot
->readBinary(this->row
);
7341 this->__isset
.row
= true;
7343 xfer
+= iprot
->skip(ftype
);
7347 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
7349 this->attributes
.clear();
7351 ::apache::thrift::protocol::TType _ktype423
;
7352 ::apache::thrift::protocol::TType _vtype424
;
7353 xfer
+= iprot
->readMapBegin(_ktype423
, _vtype424
, _size422
);
7355 for (_i426
= 0; _i426
< _size422
; ++_i426
)
7358 xfer
+= iprot
->readBinary(_key427
);
7359 Text
& _val428
= this->attributes
[_key427
];
7360 xfer
+= iprot
->readBinary(_val428
);
7362 xfer
+= iprot
->readMapEnd();
7364 this->__isset
.attributes
= true;
7366 xfer
+= iprot
->skip(ftype
);
7370 xfer
+= iprot
->skip(ftype
);
7373 xfer
+= iprot
->readFieldEnd();
7376 xfer
+= iprot
->readStructEnd();
7381 uint32_t Hbase_deleteAllRow_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7383 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllRow_args");
7385 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
7386 xfer
+= oprot
->writeBinary(this->tableName
);
7387 xfer
+= oprot
->writeFieldEnd();
7389 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
7390 xfer
+= oprot
->writeBinary(this->row
);
7391 xfer
+= oprot
->writeFieldEnd();
7393 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
7395 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
7396 std::map
<Text
, Text
> ::const_iterator _iter429
;
7397 for (_iter429
= this->attributes
.begin(); _iter429
!= this->attributes
.end(); ++_iter429
)
7399 xfer
+= oprot
->writeBinary(_iter429
->first
);
7400 xfer
+= oprot
->writeBinary(_iter429
->second
);
7402 xfer
+= oprot
->writeMapEnd();
7404 xfer
+= oprot
->writeFieldEnd();
7406 xfer
+= oprot
->writeFieldStop();
7407 xfer
+= oprot
->writeStructEnd();
7411 uint32_t Hbase_deleteAllRow_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7413 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllRow_pargs");
7415 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
7416 xfer
+= oprot
->writeBinary((*(this->tableName
)));
7417 xfer
+= oprot
->writeFieldEnd();
7419 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
7420 xfer
+= oprot
->writeBinary((*(this->row
)));
7421 xfer
+= oprot
->writeFieldEnd();
7423 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
7425 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
7426 std::map
<Text
, Text
> ::const_iterator _iter430
;
7427 for (_iter430
= (*(this->attributes
)).begin(); _iter430
!= (*(this->attributes
)).end(); ++_iter430
)
7429 xfer
+= oprot
->writeBinary(_iter430
->first
);
7430 xfer
+= oprot
->writeBinary(_iter430
->second
);
7432 xfer
+= oprot
->writeMapEnd();
7434 xfer
+= oprot
->writeFieldEnd();
7436 xfer
+= oprot
->writeFieldStop();
7437 xfer
+= oprot
->writeStructEnd();
7441 uint32_t Hbase_deleteAllRow_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7445 ::apache::thrift::protocol::TType ftype
;
7448 xfer
+= iprot
->readStructBegin(fname
);
7450 using ::apache::thrift::protocol::TProtocolException
;
7455 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7456 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7462 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7463 xfer
+= this->io
.read(iprot
);
7464 this->__isset
.io
= true;
7466 xfer
+= iprot
->skip(ftype
);
7470 xfer
+= iprot
->skip(ftype
);
7473 xfer
+= iprot
->readFieldEnd();
7476 xfer
+= iprot
->readStructEnd();
7481 uint32_t Hbase_deleteAllRow_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7485 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllRow_result");
7487 if (this->__isset
.io
) {
7488 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
7489 xfer
+= this->io
.write(oprot
);
7490 xfer
+= oprot
->writeFieldEnd();
7492 xfer
+= oprot
->writeFieldStop();
7493 xfer
+= oprot
->writeStructEnd();
7497 uint32_t Hbase_deleteAllRow_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7501 ::apache::thrift::protocol::TType ftype
;
7504 xfer
+= iprot
->readStructBegin(fname
);
7506 using ::apache::thrift::protocol::TProtocolException
;
7511 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7512 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7518 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7519 xfer
+= this->io
.read(iprot
);
7520 this->__isset
.io
= true;
7522 xfer
+= iprot
->skip(ftype
);
7526 xfer
+= iprot
->skip(ftype
);
7529 xfer
+= iprot
->readFieldEnd();
7532 xfer
+= iprot
->readStructEnd();
7537 uint32_t Hbase_increment_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7541 ::apache::thrift::protocol::TType ftype
;
7544 xfer
+= iprot
->readStructBegin(fname
);
7546 using ::apache::thrift::protocol::TProtocolException
;
7551 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7552 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7558 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7559 xfer
+= this->increment
.read(iprot
);
7560 this->__isset
.increment
= true;
7562 xfer
+= iprot
->skip(ftype
);
7566 xfer
+= iprot
->skip(ftype
);
7569 xfer
+= iprot
->readFieldEnd();
7572 xfer
+= iprot
->readStructEnd();
7577 uint32_t Hbase_increment_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7579 xfer
+= oprot
->writeStructBegin("Hbase_increment_args");
7581 xfer
+= oprot
->writeFieldBegin("increment", ::apache::thrift::protocol::T_STRUCT
, 1);
7582 xfer
+= this->increment
.write(oprot
);
7583 xfer
+= oprot
->writeFieldEnd();
7585 xfer
+= oprot
->writeFieldStop();
7586 xfer
+= oprot
->writeStructEnd();
7590 uint32_t Hbase_increment_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7592 xfer
+= oprot
->writeStructBegin("Hbase_increment_pargs");
7594 xfer
+= oprot
->writeFieldBegin("increment", ::apache::thrift::protocol::T_STRUCT
, 1);
7595 xfer
+= (*(this->increment
)).write(oprot
);
7596 xfer
+= oprot
->writeFieldEnd();
7598 xfer
+= oprot
->writeFieldStop();
7599 xfer
+= oprot
->writeStructEnd();
7603 uint32_t Hbase_increment_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7607 ::apache::thrift::protocol::TType ftype
;
7610 xfer
+= iprot
->readStructBegin(fname
);
7612 using ::apache::thrift::protocol::TProtocolException
;
7617 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7618 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7624 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7625 xfer
+= this->io
.read(iprot
);
7626 this->__isset
.io
= true;
7628 xfer
+= iprot
->skip(ftype
);
7632 xfer
+= iprot
->skip(ftype
);
7635 xfer
+= iprot
->readFieldEnd();
7638 xfer
+= iprot
->readStructEnd();
7643 uint32_t Hbase_increment_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7647 xfer
+= oprot
->writeStructBegin("Hbase_increment_result");
7649 if (this->__isset
.io
) {
7650 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
7651 xfer
+= this->io
.write(oprot
);
7652 xfer
+= oprot
->writeFieldEnd();
7654 xfer
+= oprot
->writeFieldStop();
7655 xfer
+= oprot
->writeStructEnd();
7659 uint32_t Hbase_increment_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7663 ::apache::thrift::protocol::TType ftype
;
7666 xfer
+= iprot
->readStructBegin(fname
);
7668 using ::apache::thrift::protocol::TProtocolException
;
7673 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7674 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7680 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7681 xfer
+= this->io
.read(iprot
);
7682 this->__isset
.io
= true;
7684 xfer
+= iprot
->skip(ftype
);
7688 xfer
+= iprot
->skip(ftype
);
7691 xfer
+= iprot
->readFieldEnd();
7694 xfer
+= iprot
->readStructEnd();
7699 uint32_t Hbase_incrementRows_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7703 ::apache::thrift::protocol::TType ftype
;
7706 xfer
+= iprot
->readStructBegin(fname
);
7708 using ::apache::thrift::protocol::TProtocolException
;
7713 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7714 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7720 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
7722 this->increments
.clear();
7724 ::apache::thrift::protocol::TType _etype434
;
7725 xfer
+= iprot
->readListBegin(_etype434
, _size431
);
7726 this->increments
.resize(_size431
);
7728 for (_i435
= 0; _i435
< _size431
; ++_i435
)
7730 xfer
+= this->increments
[_i435
].read(iprot
);
7732 xfer
+= iprot
->readListEnd();
7734 this->__isset
.increments
= true;
7736 xfer
+= iprot
->skip(ftype
);
7740 xfer
+= iprot
->skip(ftype
);
7743 xfer
+= iprot
->readFieldEnd();
7746 xfer
+= iprot
->readStructEnd();
7751 uint32_t Hbase_incrementRows_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7753 xfer
+= oprot
->writeStructBegin("Hbase_incrementRows_args");
7755 xfer
+= oprot
->writeFieldBegin("increments", ::apache::thrift::protocol::T_LIST
, 1);
7757 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->increments
.size()));
7758 std::vector
<TIncrement
> ::const_iterator _iter436
;
7759 for (_iter436
= this->increments
.begin(); _iter436
!= this->increments
.end(); ++_iter436
)
7761 xfer
+= (*_iter436
).write(oprot
);
7763 xfer
+= oprot
->writeListEnd();
7765 xfer
+= oprot
->writeFieldEnd();
7767 xfer
+= oprot
->writeFieldStop();
7768 xfer
+= oprot
->writeStructEnd();
7772 uint32_t Hbase_incrementRows_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7774 xfer
+= oprot
->writeStructBegin("Hbase_incrementRows_pargs");
7776 xfer
+= oprot
->writeFieldBegin("increments", ::apache::thrift::protocol::T_LIST
, 1);
7778 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>((*(this->increments
)).size()));
7779 std::vector
<TIncrement
> ::const_iterator _iter437
;
7780 for (_iter437
= (*(this->increments
)).begin(); _iter437
!= (*(this->increments
)).end(); ++_iter437
)
7782 xfer
+= (*_iter437
).write(oprot
);
7784 xfer
+= oprot
->writeListEnd();
7786 xfer
+= oprot
->writeFieldEnd();
7788 xfer
+= oprot
->writeFieldStop();
7789 xfer
+= oprot
->writeStructEnd();
7793 uint32_t Hbase_incrementRows_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7797 ::apache::thrift::protocol::TType ftype
;
7800 xfer
+= iprot
->readStructBegin(fname
);
7802 using ::apache::thrift::protocol::TProtocolException
;
7807 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7808 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7814 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7815 xfer
+= this->io
.read(iprot
);
7816 this->__isset
.io
= true;
7818 xfer
+= iprot
->skip(ftype
);
7822 xfer
+= iprot
->skip(ftype
);
7825 xfer
+= iprot
->readFieldEnd();
7828 xfer
+= iprot
->readStructEnd();
7833 uint32_t Hbase_incrementRows_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7837 xfer
+= oprot
->writeStructBegin("Hbase_incrementRows_result");
7839 if (this->__isset
.io
) {
7840 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
7841 xfer
+= this->io
.write(oprot
);
7842 xfer
+= oprot
->writeFieldEnd();
7844 xfer
+= oprot
->writeFieldStop();
7845 xfer
+= oprot
->writeStructEnd();
7849 uint32_t Hbase_incrementRows_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7853 ::apache::thrift::protocol::TType ftype
;
7856 xfer
+= iprot
->readStructBegin(fname
);
7858 using ::apache::thrift::protocol::TProtocolException
;
7863 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7864 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7870 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
7871 xfer
+= this->io
.read(iprot
);
7872 this->__isset
.io
= true;
7874 xfer
+= iprot
->skip(ftype
);
7878 xfer
+= iprot
->skip(ftype
);
7881 xfer
+= iprot
->readFieldEnd();
7884 xfer
+= iprot
->readStructEnd();
7889 uint32_t Hbase_deleteAllRowTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
7893 ::apache::thrift::protocol::TType ftype
;
7896 xfer
+= iprot
->readStructBegin(fname
);
7898 using ::apache::thrift::protocol::TProtocolException
;
7903 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
7904 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
7910 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7911 xfer
+= iprot
->readBinary(this->tableName
);
7912 this->__isset
.tableName
= true;
7914 xfer
+= iprot
->skip(ftype
);
7918 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
7919 xfer
+= iprot
->readBinary(this->row
);
7920 this->__isset
.row
= true;
7922 xfer
+= iprot
->skip(ftype
);
7926 if (ftype
== ::apache::thrift::protocol::T_I64
) {
7927 xfer
+= iprot
->readI64(this->timestamp
);
7928 this->__isset
.timestamp
= true;
7930 xfer
+= iprot
->skip(ftype
);
7934 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
7936 this->attributes
.clear();
7938 ::apache::thrift::protocol::TType _ktype439
;
7939 ::apache::thrift::protocol::TType _vtype440
;
7940 xfer
+= iprot
->readMapBegin(_ktype439
, _vtype440
, _size438
);
7942 for (_i442
= 0; _i442
< _size438
; ++_i442
)
7945 xfer
+= iprot
->readBinary(_key443
);
7946 Text
& _val444
= this->attributes
[_key443
];
7947 xfer
+= iprot
->readBinary(_val444
);
7949 xfer
+= iprot
->readMapEnd();
7951 this->__isset
.attributes
= true;
7953 xfer
+= iprot
->skip(ftype
);
7957 xfer
+= iprot
->skip(ftype
);
7960 xfer
+= iprot
->readFieldEnd();
7963 xfer
+= iprot
->readStructEnd();
7968 uint32_t Hbase_deleteAllRowTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
7970 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllRowTs_args");
7972 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
7973 xfer
+= oprot
->writeBinary(this->tableName
);
7974 xfer
+= oprot
->writeFieldEnd();
7976 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
7977 xfer
+= oprot
->writeBinary(this->row
);
7978 xfer
+= oprot
->writeFieldEnd();
7980 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
7981 xfer
+= oprot
->writeI64(this->timestamp
);
7982 xfer
+= oprot
->writeFieldEnd();
7984 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
7986 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
7987 std::map
<Text
, Text
> ::const_iterator _iter445
;
7988 for (_iter445
= this->attributes
.begin(); _iter445
!= this->attributes
.end(); ++_iter445
)
7990 xfer
+= oprot
->writeBinary(_iter445
->first
);
7991 xfer
+= oprot
->writeBinary(_iter445
->second
);
7993 xfer
+= oprot
->writeMapEnd();
7995 xfer
+= oprot
->writeFieldEnd();
7997 xfer
+= oprot
->writeFieldStop();
7998 xfer
+= oprot
->writeStructEnd();
8002 uint32_t Hbase_deleteAllRowTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8004 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllRowTs_pargs");
8006 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8007 xfer
+= oprot
->writeBinary((*(this->tableName
)));
8008 xfer
+= oprot
->writeFieldEnd();
8010 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
8011 xfer
+= oprot
->writeBinary((*(this->row
)));
8012 xfer
+= oprot
->writeFieldEnd();
8014 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 3);
8015 xfer
+= oprot
->writeI64((*(this->timestamp
)));
8016 xfer
+= oprot
->writeFieldEnd();
8018 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
8020 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
8021 std::map
<Text
, Text
> ::const_iterator _iter446
;
8022 for (_iter446
= (*(this->attributes
)).begin(); _iter446
!= (*(this->attributes
)).end(); ++_iter446
)
8024 xfer
+= oprot
->writeBinary(_iter446
->first
);
8025 xfer
+= oprot
->writeBinary(_iter446
->second
);
8027 xfer
+= oprot
->writeMapEnd();
8029 xfer
+= oprot
->writeFieldEnd();
8031 xfer
+= oprot
->writeFieldStop();
8032 xfer
+= oprot
->writeStructEnd();
8036 uint32_t Hbase_deleteAllRowTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8040 ::apache::thrift::protocol::TType ftype
;
8043 xfer
+= iprot
->readStructBegin(fname
);
8045 using ::apache::thrift::protocol::TProtocolException
;
8050 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8051 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8057 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8058 xfer
+= this->io
.read(iprot
);
8059 this->__isset
.io
= true;
8061 xfer
+= iprot
->skip(ftype
);
8065 xfer
+= iprot
->skip(ftype
);
8068 xfer
+= iprot
->readFieldEnd();
8071 xfer
+= iprot
->readStructEnd();
8076 uint32_t Hbase_deleteAllRowTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8080 xfer
+= oprot
->writeStructBegin("Hbase_deleteAllRowTs_result");
8082 if (this->__isset
.io
) {
8083 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
8084 xfer
+= this->io
.write(oprot
);
8085 xfer
+= oprot
->writeFieldEnd();
8087 xfer
+= oprot
->writeFieldStop();
8088 xfer
+= oprot
->writeStructEnd();
8092 uint32_t Hbase_deleteAllRowTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8096 ::apache::thrift::protocol::TType ftype
;
8099 xfer
+= iprot
->readStructBegin(fname
);
8101 using ::apache::thrift::protocol::TProtocolException
;
8106 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8107 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8113 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8114 xfer
+= this->io
.read(iprot
);
8115 this->__isset
.io
= true;
8117 xfer
+= iprot
->skip(ftype
);
8121 xfer
+= iprot
->skip(ftype
);
8124 xfer
+= iprot
->readFieldEnd();
8127 xfer
+= iprot
->readStructEnd();
8132 uint32_t Hbase_scannerOpenWithScan_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8136 ::apache::thrift::protocol::TType ftype
;
8139 xfer
+= iprot
->readStructBegin(fname
);
8141 using ::apache::thrift::protocol::TProtocolException
;
8146 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8147 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8153 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8154 xfer
+= iprot
->readBinary(this->tableName
);
8155 this->__isset
.tableName
= true;
8157 xfer
+= iprot
->skip(ftype
);
8161 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8162 xfer
+= this->scan
.read(iprot
);
8163 this->__isset
.scan
= true;
8165 xfer
+= iprot
->skip(ftype
);
8169 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
8171 this->attributes
.clear();
8173 ::apache::thrift::protocol::TType _ktype448
;
8174 ::apache::thrift::protocol::TType _vtype449
;
8175 xfer
+= iprot
->readMapBegin(_ktype448
, _vtype449
, _size447
);
8177 for (_i451
= 0; _i451
< _size447
; ++_i451
)
8180 xfer
+= iprot
->readBinary(_key452
);
8181 Text
& _val453
= this->attributes
[_key452
];
8182 xfer
+= iprot
->readBinary(_val453
);
8184 xfer
+= iprot
->readMapEnd();
8186 this->__isset
.attributes
= true;
8188 xfer
+= iprot
->skip(ftype
);
8192 xfer
+= iprot
->skip(ftype
);
8195 xfer
+= iprot
->readFieldEnd();
8198 xfer
+= iprot
->readStructEnd();
8203 uint32_t Hbase_scannerOpenWithScan_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8205 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithScan_args");
8207 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8208 xfer
+= oprot
->writeBinary(this->tableName
);
8209 xfer
+= oprot
->writeFieldEnd();
8211 xfer
+= oprot
->writeFieldBegin("scan", ::apache::thrift::protocol::T_STRUCT
, 2);
8212 xfer
+= this->scan
.write(oprot
);
8213 xfer
+= oprot
->writeFieldEnd();
8215 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
8217 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
8218 std::map
<Text
, Text
> ::const_iterator _iter454
;
8219 for (_iter454
= this->attributes
.begin(); _iter454
!= this->attributes
.end(); ++_iter454
)
8221 xfer
+= oprot
->writeBinary(_iter454
->first
);
8222 xfer
+= oprot
->writeBinary(_iter454
->second
);
8224 xfer
+= oprot
->writeMapEnd();
8226 xfer
+= oprot
->writeFieldEnd();
8228 xfer
+= oprot
->writeFieldStop();
8229 xfer
+= oprot
->writeStructEnd();
8233 uint32_t Hbase_scannerOpenWithScan_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8235 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithScan_pargs");
8237 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8238 xfer
+= oprot
->writeBinary((*(this->tableName
)));
8239 xfer
+= oprot
->writeFieldEnd();
8241 xfer
+= oprot
->writeFieldBegin("scan", ::apache::thrift::protocol::T_STRUCT
, 2);
8242 xfer
+= (*(this->scan
)).write(oprot
);
8243 xfer
+= oprot
->writeFieldEnd();
8245 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 3);
8247 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
8248 std::map
<Text
, Text
> ::const_iterator _iter455
;
8249 for (_iter455
= (*(this->attributes
)).begin(); _iter455
!= (*(this->attributes
)).end(); ++_iter455
)
8251 xfer
+= oprot
->writeBinary(_iter455
->first
);
8252 xfer
+= oprot
->writeBinary(_iter455
->second
);
8254 xfer
+= oprot
->writeMapEnd();
8256 xfer
+= oprot
->writeFieldEnd();
8258 xfer
+= oprot
->writeFieldStop();
8259 xfer
+= oprot
->writeStructEnd();
8263 uint32_t Hbase_scannerOpenWithScan_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8267 ::apache::thrift::protocol::TType ftype
;
8270 xfer
+= iprot
->readStructBegin(fname
);
8272 using ::apache::thrift::protocol::TProtocolException
;
8277 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8278 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8284 if (ftype
== ::apache::thrift::protocol::T_I32
) {
8285 xfer
+= iprot
->readI32(this->success
);
8286 this->__isset
.success
= true;
8288 xfer
+= iprot
->skip(ftype
);
8292 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8293 xfer
+= this->io
.read(iprot
);
8294 this->__isset
.io
= true;
8296 xfer
+= iprot
->skip(ftype
);
8300 xfer
+= iprot
->skip(ftype
);
8303 xfer
+= iprot
->readFieldEnd();
8306 xfer
+= iprot
->readStructEnd();
8311 uint32_t Hbase_scannerOpenWithScan_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8315 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithScan_result");
8317 if (this->__isset
.success
) {
8318 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I32
, 0);
8319 xfer
+= oprot
->writeI32(this->success
);
8320 xfer
+= oprot
->writeFieldEnd();
8321 } else if (this->__isset
.io
) {
8322 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
8323 xfer
+= this->io
.write(oprot
);
8324 xfer
+= oprot
->writeFieldEnd();
8326 xfer
+= oprot
->writeFieldStop();
8327 xfer
+= oprot
->writeStructEnd();
8331 uint32_t Hbase_scannerOpenWithScan_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8335 ::apache::thrift::protocol::TType ftype
;
8338 xfer
+= iprot
->readStructBegin(fname
);
8340 using ::apache::thrift::protocol::TProtocolException
;
8345 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8346 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8352 if (ftype
== ::apache::thrift::protocol::T_I32
) {
8353 xfer
+= iprot
->readI32((*(this->success
)));
8354 this->__isset
.success
= true;
8356 xfer
+= iprot
->skip(ftype
);
8360 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8361 xfer
+= this->io
.read(iprot
);
8362 this->__isset
.io
= true;
8364 xfer
+= iprot
->skip(ftype
);
8368 xfer
+= iprot
->skip(ftype
);
8371 xfer
+= iprot
->readFieldEnd();
8374 xfer
+= iprot
->readStructEnd();
8379 uint32_t Hbase_scannerOpen_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8383 ::apache::thrift::protocol::TType ftype
;
8386 xfer
+= iprot
->readStructBegin(fname
);
8388 using ::apache::thrift::protocol::TProtocolException
;
8393 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8394 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8400 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8401 xfer
+= iprot
->readBinary(this->tableName
);
8402 this->__isset
.tableName
= true;
8404 xfer
+= iprot
->skip(ftype
);
8408 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8409 xfer
+= iprot
->readBinary(this->startRow
);
8410 this->__isset
.startRow
= true;
8412 xfer
+= iprot
->skip(ftype
);
8416 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
8418 this->columns
.clear();
8420 ::apache::thrift::protocol::TType _etype459
;
8421 xfer
+= iprot
->readListBegin(_etype459
, _size456
);
8422 this->columns
.resize(_size456
);
8424 for (_i460
= 0; _i460
< _size456
; ++_i460
)
8426 xfer
+= iprot
->readBinary(this->columns
[_i460
]);
8428 xfer
+= iprot
->readListEnd();
8430 this->__isset
.columns
= true;
8432 xfer
+= iprot
->skip(ftype
);
8436 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
8438 this->attributes
.clear();
8440 ::apache::thrift::protocol::TType _ktype462
;
8441 ::apache::thrift::protocol::TType _vtype463
;
8442 xfer
+= iprot
->readMapBegin(_ktype462
, _vtype463
, _size461
);
8444 for (_i465
= 0; _i465
< _size461
; ++_i465
)
8447 xfer
+= iprot
->readBinary(_key466
);
8448 Text
& _val467
= this->attributes
[_key466
];
8449 xfer
+= iprot
->readBinary(_val467
);
8451 xfer
+= iprot
->readMapEnd();
8453 this->__isset
.attributes
= true;
8455 xfer
+= iprot
->skip(ftype
);
8459 xfer
+= iprot
->skip(ftype
);
8462 xfer
+= iprot
->readFieldEnd();
8465 xfer
+= iprot
->readStructEnd();
8470 uint32_t Hbase_scannerOpen_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8472 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpen_args");
8474 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8475 xfer
+= oprot
->writeBinary(this->tableName
);
8476 xfer
+= oprot
->writeFieldEnd();
8478 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
8479 xfer
+= oprot
->writeBinary(this->startRow
);
8480 xfer
+= oprot
->writeFieldEnd();
8482 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
8484 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
8485 std::vector
<Text
> ::const_iterator _iter468
;
8486 for (_iter468
= this->columns
.begin(); _iter468
!= this->columns
.end(); ++_iter468
)
8488 xfer
+= oprot
->writeBinary((*_iter468
));
8490 xfer
+= oprot
->writeListEnd();
8492 xfer
+= oprot
->writeFieldEnd();
8494 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
8496 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
8497 std::map
<Text
, Text
> ::const_iterator _iter469
;
8498 for (_iter469
= this->attributes
.begin(); _iter469
!= this->attributes
.end(); ++_iter469
)
8500 xfer
+= oprot
->writeBinary(_iter469
->first
);
8501 xfer
+= oprot
->writeBinary(_iter469
->second
);
8503 xfer
+= oprot
->writeMapEnd();
8505 xfer
+= oprot
->writeFieldEnd();
8507 xfer
+= oprot
->writeFieldStop();
8508 xfer
+= oprot
->writeStructEnd();
8512 uint32_t Hbase_scannerOpen_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8514 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpen_pargs");
8516 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8517 xfer
+= oprot
->writeBinary((*(this->tableName
)));
8518 xfer
+= oprot
->writeFieldEnd();
8520 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
8521 xfer
+= oprot
->writeBinary((*(this->startRow
)));
8522 xfer
+= oprot
->writeFieldEnd();
8524 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
8526 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
8527 std::vector
<Text
> ::const_iterator _iter470
;
8528 for (_iter470
= (*(this->columns
)).begin(); _iter470
!= (*(this->columns
)).end(); ++_iter470
)
8530 xfer
+= oprot
->writeBinary((*_iter470
));
8532 xfer
+= oprot
->writeListEnd();
8534 xfer
+= oprot
->writeFieldEnd();
8536 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
8538 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
8539 std::map
<Text
, Text
> ::const_iterator _iter471
;
8540 for (_iter471
= (*(this->attributes
)).begin(); _iter471
!= (*(this->attributes
)).end(); ++_iter471
)
8542 xfer
+= oprot
->writeBinary(_iter471
->first
);
8543 xfer
+= oprot
->writeBinary(_iter471
->second
);
8545 xfer
+= oprot
->writeMapEnd();
8547 xfer
+= oprot
->writeFieldEnd();
8549 xfer
+= oprot
->writeFieldStop();
8550 xfer
+= oprot
->writeStructEnd();
8554 uint32_t Hbase_scannerOpen_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8558 ::apache::thrift::protocol::TType ftype
;
8561 xfer
+= iprot
->readStructBegin(fname
);
8563 using ::apache::thrift::protocol::TProtocolException
;
8568 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8569 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8575 if (ftype
== ::apache::thrift::protocol::T_I32
) {
8576 xfer
+= iprot
->readI32(this->success
);
8577 this->__isset
.success
= true;
8579 xfer
+= iprot
->skip(ftype
);
8583 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8584 xfer
+= this->io
.read(iprot
);
8585 this->__isset
.io
= true;
8587 xfer
+= iprot
->skip(ftype
);
8591 xfer
+= iprot
->skip(ftype
);
8594 xfer
+= iprot
->readFieldEnd();
8597 xfer
+= iprot
->readStructEnd();
8602 uint32_t Hbase_scannerOpen_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8606 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpen_result");
8608 if (this->__isset
.success
) {
8609 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I32
, 0);
8610 xfer
+= oprot
->writeI32(this->success
);
8611 xfer
+= oprot
->writeFieldEnd();
8612 } else if (this->__isset
.io
) {
8613 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
8614 xfer
+= this->io
.write(oprot
);
8615 xfer
+= oprot
->writeFieldEnd();
8617 xfer
+= oprot
->writeFieldStop();
8618 xfer
+= oprot
->writeStructEnd();
8622 uint32_t Hbase_scannerOpen_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8626 ::apache::thrift::protocol::TType ftype
;
8629 xfer
+= iprot
->readStructBegin(fname
);
8631 using ::apache::thrift::protocol::TProtocolException
;
8636 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8637 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8643 if (ftype
== ::apache::thrift::protocol::T_I32
) {
8644 xfer
+= iprot
->readI32((*(this->success
)));
8645 this->__isset
.success
= true;
8647 xfer
+= iprot
->skip(ftype
);
8651 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8652 xfer
+= this->io
.read(iprot
);
8653 this->__isset
.io
= true;
8655 xfer
+= iprot
->skip(ftype
);
8659 xfer
+= iprot
->skip(ftype
);
8662 xfer
+= iprot
->readFieldEnd();
8665 xfer
+= iprot
->readStructEnd();
8670 uint32_t Hbase_scannerOpenWithStop_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8674 ::apache::thrift::protocol::TType ftype
;
8677 xfer
+= iprot
->readStructBegin(fname
);
8679 using ::apache::thrift::protocol::TProtocolException
;
8684 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8685 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8691 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8692 xfer
+= iprot
->readBinary(this->tableName
);
8693 this->__isset
.tableName
= true;
8695 xfer
+= iprot
->skip(ftype
);
8699 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8700 xfer
+= iprot
->readBinary(this->startRow
);
8701 this->__isset
.startRow
= true;
8703 xfer
+= iprot
->skip(ftype
);
8707 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8708 xfer
+= iprot
->readBinary(this->stopRow
);
8709 this->__isset
.stopRow
= true;
8711 xfer
+= iprot
->skip(ftype
);
8715 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
8717 this->columns
.clear();
8719 ::apache::thrift::protocol::TType _etype475
;
8720 xfer
+= iprot
->readListBegin(_etype475
, _size472
);
8721 this->columns
.resize(_size472
);
8723 for (_i476
= 0; _i476
< _size472
; ++_i476
)
8725 xfer
+= iprot
->readBinary(this->columns
[_i476
]);
8727 xfer
+= iprot
->readListEnd();
8729 this->__isset
.columns
= true;
8731 xfer
+= iprot
->skip(ftype
);
8735 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
8737 this->attributes
.clear();
8739 ::apache::thrift::protocol::TType _ktype478
;
8740 ::apache::thrift::protocol::TType _vtype479
;
8741 xfer
+= iprot
->readMapBegin(_ktype478
, _vtype479
, _size477
);
8743 for (_i481
= 0; _i481
< _size477
; ++_i481
)
8746 xfer
+= iprot
->readBinary(_key482
);
8747 Text
& _val483
= this->attributes
[_key482
];
8748 xfer
+= iprot
->readBinary(_val483
);
8750 xfer
+= iprot
->readMapEnd();
8752 this->__isset
.attributes
= true;
8754 xfer
+= iprot
->skip(ftype
);
8758 xfer
+= iprot
->skip(ftype
);
8761 xfer
+= iprot
->readFieldEnd();
8764 xfer
+= iprot
->readStructEnd();
8769 uint32_t Hbase_scannerOpenWithStop_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8771 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithStop_args");
8773 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8774 xfer
+= oprot
->writeBinary(this->tableName
);
8775 xfer
+= oprot
->writeFieldEnd();
8777 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
8778 xfer
+= oprot
->writeBinary(this->startRow
);
8779 xfer
+= oprot
->writeFieldEnd();
8781 xfer
+= oprot
->writeFieldBegin("stopRow", ::apache::thrift::protocol::T_STRING
, 3);
8782 xfer
+= oprot
->writeBinary(this->stopRow
);
8783 xfer
+= oprot
->writeFieldEnd();
8785 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 4);
8787 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
8788 std::vector
<Text
> ::const_iterator _iter484
;
8789 for (_iter484
= this->columns
.begin(); _iter484
!= this->columns
.end(); ++_iter484
)
8791 xfer
+= oprot
->writeBinary((*_iter484
));
8793 xfer
+= oprot
->writeListEnd();
8795 xfer
+= oprot
->writeFieldEnd();
8797 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
8799 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
8800 std::map
<Text
, Text
> ::const_iterator _iter485
;
8801 for (_iter485
= this->attributes
.begin(); _iter485
!= this->attributes
.end(); ++_iter485
)
8803 xfer
+= oprot
->writeBinary(_iter485
->first
);
8804 xfer
+= oprot
->writeBinary(_iter485
->second
);
8806 xfer
+= oprot
->writeMapEnd();
8808 xfer
+= oprot
->writeFieldEnd();
8810 xfer
+= oprot
->writeFieldStop();
8811 xfer
+= oprot
->writeStructEnd();
8815 uint32_t Hbase_scannerOpenWithStop_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8817 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithStop_pargs");
8819 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
8820 xfer
+= oprot
->writeBinary((*(this->tableName
)));
8821 xfer
+= oprot
->writeFieldEnd();
8823 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
8824 xfer
+= oprot
->writeBinary((*(this->startRow
)));
8825 xfer
+= oprot
->writeFieldEnd();
8827 xfer
+= oprot
->writeFieldBegin("stopRow", ::apache::thrift::protocol::T_STRING
, 3);
8828 xfer
+= oprot
->writeBinary((*(this->stopRow
)));
8829 xfer
+= oprot
->writeFieldEnd();
8831 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 4);
8833 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
8834 std::vector
<Text
> ::const_iterator _iter486
;
8835 for (_iter486
= (*(this->columns
)).begin(); _iter486
!= (*(this->columns
)).end(); ++_iter486
)
8837 xfer
+= oprot
->writeBinary((*_iter486
));
8839 xfer
+= oprot
->writeListEnd();
8841 xfer
+= oprot
->writeFieldEnd();
8843 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
8845 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
8846 std::map
<Text
, Text
> ::const_iterator _iter487
;
8847 for (_iter487
= (*(this->attributes
)).begin(); _iter487
!= (*(this->attributes
)).end(); ++_iter487
)
8849 xfer
+= oprot
->writeBinary(_iter487
->first
);
8850 xfer
+= oprot
->writeBinary(_iter487
->second
);
8852 xfer
+= oprot
->writeMapEnd();
8854 xfer
+= oprot
->writeFieldEnd();
8856 xfer
+= oprot
->writeFieldStop();
8857 xfer
+= oprot
->writeStructEnd();
8861 uint32_t Hbase_scannerOpenWithStop_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8865 ::apache::thrift::protocol::TType ftype
;
8868 xfer
+= iprot
->readStructBegin(fname
);
8870 using ::apache::thrift::protocol::TProtocolException
;
8875 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8876 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8882 if (ftype
== ::apache::thrift::protocol::T_I32
) {
8883 xfer
+= iprot
->readI32(this->success
);
8884 this->__isset
.success
= true;
8886 xfer
+= iprot
->skip(ftype
);
8890 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8891 xfer
+= this->io
.read(iprot
);
8892 this->__isset
.io
= true;
8894 xfer
+= iprot
->skip(ftype
);
8898 xfer
+= iprot
->skip(ftype
);
8901 xfer
+= iprot
->readFieldEnd();
8904 xfer
+= iprot
->readStructEnd();
8909 uint32_t Hbase_scannerOpenWithStop_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
8913 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithStop_result");
8915 if (this->__isset
.success
) {
8916 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I32
, 0);
8917 xfer
+= oprot
->writeI32(this->success
);
8918 xfer
+= oprot
->writeFieldEnd();
8919 } else if (this->__isset
.io
) {
8920 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
8921 xfer
+= this->io
.write(oprot
);
8922 xfer
+= oprot
->writeFieldEnd();
8924 xfer
+= oprot
->writeFieldStop();
8925 xfer
+= oprot
->writeStructEnd();
8929 uint32_t Hbase_scannerOpenWithStop_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8933 ::apache::thrift::protocol::TType ftype
;
8936 xfer
+= iprot
->readStructBegin(fname
);
8938 using ::apache::thrift::protocol::TProtocolException
;
8943 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8944 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8950 if (ftype
== ::apache::thrift::protocol::T_I32
) {
8951 xfer
+= iprot
->readI32((*(this->success
)));
8952 this->__isset
.success
= true;
8954 xfer
+= iprot
->skip(ftype
);
8958 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
8959 xfer
+= this->io
.read(iprot
);
8960 this->__isset
.io
= true;
8962 xfer
+= iprot
->skip(ftype
);
8966 xfer
+= iprot
->skip(ftype
);
8969 xfer
+= iprot
->readFieldEnd();
8972 xfer
+= iprot
->readStructEnd();
8977 uint32_t Hbase_scannerOpenWithPrefix_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
8981 ::apache::thrift::protocol::TType ftype
;
8984 xfer
+= iprot
->readStructBegin(fname
);
8986 using ::apache::thrift::protocol::TProtocolException
;
8991 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
8992 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
8998 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
8999 xfer
+= iprot
->readBinary(this->tableName
);
9000 this->__isset
.tableName
= true;
9002 xfer
+= iprot
->skip(ftype
);
9006 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
9007 xfer
+= iprot
->readBinary(this->startAndPrefix
);
9008 this->__isset
.startAndPrefix
= true;
9010 xfer
+= iprot
->skip(ftype
);
9014 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
9016 this->columns
.clear();
9018 ::apache::thrift::protocol::TType _etype491
;
9019 xfer
+= iprot
->readListBegin(_etype491
, _size488
);
9020 this->columns
.resize(_size488
);
9022 for (_i492
= 0; _i492
< _size488
; ++_i492
)
9024 xfer
+= iprot
->readBinary(this->columns
[_i492
]);
9026 xfer
+= iprot
->readListEnd();
9028 this->__isset
.columns
= true;
9030 xfer
+= iprot
->skip(ftype
);
9034 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
9036 this->attributes
.clear();
9038 ::apache::thrift::protocol::TType _ktype494
;
9039 ::apache::thrift::protocol::TType _vtype495
;
9040 xfer
+= iprot
->readMapBegin(_ktype494
, _vtype495
, _size493
);
9042 for (_i497
= 0; _i497
< _size493
; ++_i497
)
9045 xfer
+= iprot
->readBinary(_key498
);
9046 Text
& _val499
= this->attributes
[_key498
];
9047 xfer
+= iprot
->readBinary(_val499
);
9049 xfer
+= iprot
->readMapEnd();
9051 this->__isset
.attributes
= true;
9053 xfer
+= iprot
->skip(ftype
);
9057 xfer
+= iprot
->skip(ftype
);
9060 xfer
+= iprot
->readFieldEnd();
9063 xfer
+= iprot
->readStructEnd();
9068 uint32_t Hbase_scannerOpenWithPrefix_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9070 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithPrefix_args");
9072 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
9073 xfer
+= oprot
->writeBinary(this->tableName
);
9074 xfer
+= oprot
->writeFieldEnd();
9076 xfer
+= oprot
->writeFieldBegin("startAndPrefix", ::apache::thrift::protocol::T_STRING
, 2);
9077 xfer
+= oprot
->writeBinary(this->startAndPrefix
);
9078 xfer
+= oprot
->writeFieldEnd();
9080 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
9082 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
9083 std::vector
<Text
> ::const_iterator _iter500
;
9084 for (_iter500
= this->columns
.begin(); _iter500
!= this->columns
.end(); ++_iter500
)
9086 xfer
+= oprot
->writeBinary((*_iter500
));
9088 xfer
+= oprot
->writeListEnd();
9090 xfer
+= oprot
->writeFieldEnd();
9092 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
9094 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
9095 std::map
<Text
, Text
> ::const_iterator _iter501
;
9096 for (_iter501
= this->attributes
.begin(); _iter501
!= this->attributes
.end(); ++_iter501
)
9098 xfer
+= oprot
->writeBinary(_iter501
->first
);
9099 xfer
+= oprot
->writeBinary(_iter501
->second
);
9101 xfer
+= oprot
->writeMapEnd();
9103 xfer
+= oprot
->writeFieldEnd();
9105 xfer
+= oprot
->writeFieldStop();
9106 xfer
+= oprot
->writeStructEnd();
9110 uint32_t Hbase_scannerOpenWithPrefix_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9112 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithPrefix_pargs");
9114 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
9115 xfer
+= oprot
->writeBinary((*(this->tableName
)));
9116 xfer
+= oprot
->writeFieldEnd();
9118 xfer
+= oprot
->writeFieldBegin("startAndPrefix", ::apache::thrift::protocol::T_STRING
, 2);
9119 xfer
+= oprot
->writeBinary((*(this->startAndPrefix
)));
9120 xfer
+= oprot
->writeFieldEnd();
9122 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
9124 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
9125 std::vector
<Text
> ::const_iterator _iter502
;
9126 for (_iter502
= (*(this->columns
)).begin(); _iter502
!= (*(this->columns
)).end(); ++_iter502
)
9128 xfer
+= oprot
->writeBinary((*_iter502
));
9130 xfer
+= oprot
->writeListEnd();
9132 xfer
+= oprot
->writeFieldEnd();
9134 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 4);
9136 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
9137 std::map
<Text
, Text
> ::const_iterator _iter503
;
9138 for (_iter503
= (*(this->attributes
)).begin(); _iter503
!= (*(this->attributes
)).end(); ++_iter503
)
9140 xfer
+= oprot
->writeBinary(_iter503
->first
);
9141 xfer
+= oprot
->writeBinary(_iter503
->second
);
9143 xfer
+= oprot
->writeMapEnd();
9145 xfer
+= oprot
->writeFieldEnd();
9147 xfer
+= oprot
->writeFieldStop();
9148 xfer
+= oprot
->writeStructEnd();
9152 uint32_t Hbase_scannerOpenWithPrefix_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9156 ::apache::thrift::protocol::TType ftype
;
9159 xfer
+= iprot
->readStructBegin(fname
);
9161 using ::apache::thrift::protocol::TProtocolException
;
9166 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9167 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9173 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9174 xfer
+= iprot
->readI32(this->success
);
9175 this->__isset
.success
= true;
9177 xfer
+= iprot
->skip(ftype
);
9181 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
9182 xfer
+= this->io
.read(iprot
);
9183 this->__isset
.io
= true;
9185 xfer
+= iprot
->skip(ftype
);
9189 xfer
+= iprot
->skip(ftype
);
9192 xfer
+= iprot
->readFieldEnd();
9195 xfer
+= iprot
->readStructEnd();
9200 uint32_t Hbase_scannerOpenWithPrefix_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9204 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithPrefix_result");
9206 if (this->__isset
.success
) {
9207 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I32
, 0);
9208 xfer
+= oprot
->writeI32(this->success
);
9209 xfer
+= oprot
->writeFieldEnd();
9210 } else if (this->__isset
.io
) {
9211 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
9212 xfer
+= this->io
.write(oprot
);
9213 xfer
+= oprot
->writeFieldEnd();
9215 xfer
+= oprot
->writeFieldStop();
9216 xfer
+= oprot
->writeStructEnd();
9220 uint32_t Hbase_scannerOpenWithPrefix_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9224 ::apache::thrift::protocol::TType ftype
;
9227 xfer
+= iprot
->readStructBegin(fname
);
9229 using ::apache::thrift::protocol::TProtocolException
;
9234 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9235 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9241 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9242 xfer
+= iprot
->readI32((*(this->success
)));
9243 this->__isset
.success
= true;
9245 xfer
+= iprot
->skip(ftype
);
9249 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
9250 xfer
+= this->io
.read(iprot
);
9251 this->__isset
.io
= true;
9253 xfer
+= iprot
->skip(ftype
);
9257 xfer
+= iprot
->skip(ftype
);
9260 xfer
+= iprot
->readFieldEnd();
9263 xfer
+= iprot
->readStructEnd();
9268 uint32_t Hbase_scannerOpenTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9272 ::apache::thrift::protocol::TType ftype
;
9275 xfer
+= iprot
->readStructBegin(fname
);
9277 using ::apache::thrift::protocol::TProtocolException
;
9282 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9283 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9289 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
9290 xfer
+= iprot
->readBinary(this->tableName
);
9291 this->__isset
.tableName
= true;
9293 xfer
+= iprot
->skip(ftype
);
9297 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
9298 xfer
+= iprot
->readBinary(this->startRow
);
9299 this->__isset
.startRow
= true;
9301 xfer
+= iprot
->skip(ftype
);
9305 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
9307 this->columns
.clear();
9309 ::apache::thrift::protocol::TType _etype507
;
9310 xfer
+= iprot
->readListBegin(_etype507
, _size504
);
9311 this->columns
.resize(_size504
);
9313 for (_i508
= 0; _i508
< _size504
; ++_i508
)
9315 xfer
+= iprot
->readBinary(this->columns
[_i508
]);
9317 xfer
+= iprot
->readListEnd();
9319 this->__isset
.columns
= true;
9321 xfer
+= iprot
->skip(ftype
);
9325 if (ftype
== ::apache::thrift::protocol::T_I64
) {
9326 xfer
+= iprot
->readI64(this->timestamp
);
9327 this->__isset
.timestamp
= true;
9329 xfer
+= iprot
->skip(ftype
);
9333 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
9335 this->attributes
.clear();
9337 ::apache::thrift::protocol::TType _ktype510
;
9338 ::apache::thrift::protocol::TType _vtype511
;
9339 xfer
+= iprot
->readMapBegin(_ktype510
, _vtype511
, _size509
);
9341 for (_i513
= 0; _i513
< _size509
; ++_i513
)
9344 xfer
+= iprot
->readBinary(_key514
);
9345 Text
& _val515
= this->attributes
[_key514
];
9346 xfer
+= iprot
->readBinary(_val515
);
9348 xfer
+= iprot
->readMapEnd();
9350 this->__isset
.attributes
= true;
9352 xfer
+= iprot
->skip(ftype
);
9356 xfer
+= iprot
->skip(ftype
);
9359 xfer
+= iprot
->readFieldEnd();
9362 xfer
+= iprot
->readStructEnd();
9367 uint32_t Hbase_scannerOpenTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9369 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenTs_args");
9371 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
9372 xfer
+= oprot
->writeBinary(this->tableName
);
9373 xfer
+= oprot
->writeFieldEnd();
9375 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
9376 xfer
+= oprot
->writeBinary(this->startRow
);
9377 xfer
+= oprot
->writeFieldEnd();
9379 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
9381 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
9382 std::vector
<Text
> ::const_iterator _iter516
;
9383 for (_iter516
= this->columns
.begin(); _iter516
!= this->columns
.end(); ++_iter516
)
9385 xfer
+= oprot
->writeBinary((*_iter516
));
9387 xfer
+= oprot
->writeListEnd();
9389 xfer
+= oprot
->writeFieldEnd();
9391 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
9392 xfer
+= oprot
->writeI64(this->timestamp
);
9393 xfer
+= oprot
->writeFieldEnd();
9395 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
9397 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
9398 std::map
<Text
, Text
> ::const_iterator _iter517
;
9399 for (_iter517
= this->attributes
.begin(); _iter517
!= this->attributes
.end(); ++_iter517
)
9401 xfer
+= oprot
->writeBinary(_iter517
->first
);
9402 xfer
+= oprot
->writeBinary(_iter517
->second
);
9404 xfer
+= oprot
->writeMapEnd();
9406 xfer
+= oprot
->writeFieldEnd();
9408 xfer
+= oprot
->writeFieldStop();
9409 xfer
+= oprot
->writeStructEnd();
9413 uint32_t Hbase_scannerOpenTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9415 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenTs_pargs");
9417 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
9418 xfer
+= oprot
->writeBinary((*(this->tableName
)));
9419 xfer
+= oprot
->writeFieldEnd();
9421 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
9422 xfer
+= oprot
->writeBinary((*(this->startRow
)));
9423 xfer
+= oprot
->writeFieldEnd();
9425 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 3);
9427 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
9428 std::vector
<Text
> ::const_iterator _iter518
;
9429 for (_iter518
= (*(this->columns
)).begin(); _iter518
!= (*(this->columns
)).end(); ++_iter518
)
9431 xfer
+= oprot
->writeBinary((*_iter518
));
9433 xfer
+= oprot
->writeListEnd();
9435 xfer
+= oprot
->writeFieldEnd();
9437 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 4);
9438 xfer
+= oprot
->writeI64((*(this->timestamp
)));
9439 xfer
+= oprot
->writeFieldEnd();
9441 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 5);
9443 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
9444 std::map
<Text
, Text
> ::const_iterator _iter519
;
9445 for (_iter519
= (*(this->attributes
)).begin(); _iter519
!= (*(this->attributes
)).end(); ++_iter519
)
9447 xfer
+= oprot
->writeBinary(_iter519
->first
);
9448 xfer
+= oprot
->writeBinary(_iter519
->second
);
9450 xfer
+= oprot
->writeMapEnd();
9452 xfer
+= oprot
->writeFieldEnd();
9454 xfer
+= oprot
->writeFieldStop();
9455 xfer
+= oprot
->writeStructEnd();
9459 uint32_t Hbase_scannerOpenTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9463 ::apache::thrift::protocol::TType ftype
;
9466 xfer
+= iprot
->readStructBegin(fname
);
9468 using ::apache::thrift::protocol::TProtocolException
;
9473 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9474 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9480 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9481 xfer
+= iprot
->readI32(this->success
);
9482 this->__isset
.success
= true;
9484 xfer
+= iprot
->skip(ftype
);
9488 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
9489 xfer
+= this->io
.read(iprot
);
9490 this->__isset
.io
= true;
9492 xfer
+= iprot
->skip(ftype
);
9496 xfer
+= iprot
->skip(ftype
);
9499 xfer
+= iprot
->readFieldEnd();
9502 xfer
+= iprot
->readStructEnd();
9507 uint32_t Hbase_scannerOpenTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9511 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenTs_result");
9513 if (this->__isset
.success
) {
9514 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I32
, 0);
9515 xfer
+= oprot
->writeI32(this->success
);
9516 xfer
+= oprot
->writeFieldEnd();
9517 } else if (this->__isset
.io
) {
9518 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
9519 xfer
+= this->io
.write(oprot
);
9520 xfer
+= oprot
->writeFieldEnd();
9522 xfer
+= oprot
->writeFieldStop();
9523 xfer
+= oprot
->writeStructEnd();
9527 uint32_t Hbase_scannerOpenTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9531 ::apache::thrift::protocol::TType ftype
;
9534 xfer
+= iprot
->readStructBegin(fname
);
9536 using ::apache::thrift::protocol::TProtocolException
;
9541 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9542 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9548 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9549 xfer
+= iprot
->readI32((*(this->success
)));
9550 this->__isset
.success
= true;
9552 xfer
+= iprot
->skip(ftype
);
9556 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
9557 xfer
+= this->io
.read(iprot
);
9558 this->__isset
.io
= true;
9560 xfer
+= iprot
->skip(ftype
);
9564 xfer
+= iprot
->skip(ftype
);
9567 xfer
+= iprot
->readFieldEnd();
9570 xfer
+= iprot
->readStructEnd();
9575 uint32_t Hbase_scannerOpenWithStopTs_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9579 ::apache::thrift::protocol::TType ftype
;
9582 xfer
+= iprot
->readStructBegin(fname
);
9584 using ::apache::thrift::protocol::TProtocolException
;
9589 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9590 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9596 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
9597 xfer
+= iprot
->readBinary(this->tableName
);
9598 this->__isset
.tableName
= true;
9600 xfer
+= iprot
->skip(ftype
);
9604 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
9605 xfer
+= iprot
->readBinary(this->startRow
);
9606 this->__isset
.startRow
= true;
9608 xfer
+= iprot
->skip(ftype
);
9612 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
9613 xfer
+= iprot
->readBinary(this->stopRow
);
9614 this->__isset
.stopRow
= true;
9616 xfer
+= iprot
->skip(ftype
);
9620 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
9622 this->columns
.clear();
9624 ::apache::thrift::protocol::TType _etype523
;
9625 xfer
+= iprot
->readListBegin(_etype523
, _size520
);
9626 this->columns
.resize(_size520
);
9628 for (_i524
= 0; _i524
< _size520
; ++_i524
)
9630 xfer
+= iprot
->readBinary(this->columns
[_i524
]);
9632 xfer
+= iprot
->readListEnd();
9634 this->__isset
.columns
= true;
9636 xfer
+= iprot
->skip(ftype
);
9640 if (ftype
== ::apache::thrift::protocol::T_I64
) {
9641 xfer
+= iprot
->readI64(this->timestamp
);
9642 this->__isset
.timestamp
= true;
9644 xfer
+= iprot
->skip(ftype
);
9648 if (ftype
== ::apache::thrift::protocol::T_MAP
) {
9650 this->attributes
.clear();
9652 ::apache::thrift::protocol::TType _ktype526
;
9653 ::apache::thrift::protocol::TType _vtype527
;
9654 xfer
+= iprot
->readMapBegin(_ktype526
, _vtype527
, _size525
);
9656 for (_i529
= 0; _i529
< _size525
; ++_i529
)
9659 xfer
+= iprot
->readBinary(_key530
);
9660 Text
& _val531
= this->attributes
[_key530
];
9661 xfer
+= iprot
->readBinary(_val531
);
9663 xfer
+= iprot
->readMapEnd();
9665 this->__isset
.attributes
= true;
9667 xfer
+= iprot
->skip(ftype
);
9671 xfer
+= iprot
->skip(ftype
);
9674 xfer
+= iprot
->readFieldEnd();
9677 xfer
+= iprot
->readStructEnd();
9682 uint32_t Hbase_scannerOpenWithStopTs_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9684 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithStopTs_args");
9686 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
9687 xfer
+= oprot
->writeBinary(this->tableName
);
9688 xfer
+= oprot
->writeFieldEnd();
9690 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
9691 xfer
+= oprot
->writeBinary(this->startRow
);
9692 xfer
+= oprot
->writeFieldEnd();
9694 xfer
+= oprot
->writeFieldBegin("stopRow", ::apache::thrift::protocol::T_STRING
, 3);
9695 xfer
+= oprot
->writeBinary(this->stopRow
);
9696 xfer
+= oprot
->writeFieldEnd();
9698 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 4);
9700 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->columns
.size()));
9701 std::vector
<Text
> ::const_iterator _iter532
;
9702 for (_iter532
= this->columns
.begin(); _iter532
!= this->columns
.end(); ++_iter532
)
9704 xfer
+= oprot
->writeBinary((*_iter532
));
9706 xfer
+= oprot
->writeListEnd();
9708 xfer
+= oprot
->writeFieldEnd();
9710 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 5);
9711 xfer
+= oprot
->writeI64(this->timestamp
);
9712 xfer
+= oprot
->writeFieldEnd();
9714 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 6);
9716 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>(this->attributes
.size()));
9717 std::map
<Text
, Text
> ::const_iterator _iter533
;
9718 for (_iter533
= this->attributes
.begin(); _iter533
!= this->attributes
.end(); ++_iter533
)
9720 xfer
+= oprot
->writeBinary(_iter533
->first
);
9721 xfer
+= oprot
->writeBinary(_iter533
->second
);
9723 xfer
+= oprot
->writeMapEnd();
9725 xfer
+= oprot
->writeFieldEnd();
9727 xfer
+= oprot
->writeFieldStop();
9728 xfer
+= oprot
->writeStructEnd();
9732 uint32_t Hbase_scannerOpenWithStopTs_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9734 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithStopTs_pargs");
9736 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
9737 xfer
+= oprot
->writeBinary((*(this->tableName
)));
9738 xfer
+= oprot
->writeFieldEnd();
9740 xfer
+= oprot
->writeFieldBegin("startRow", ::apache::thrift::protocol::T_STRING
, 2);
9741 xfer
+= oprot
->writeBinary((*(this->startRow
)));
9742 xfer
+= oprot
->writeFieldEnd();
9744 xfer
+= oprot
->writeFieldBegin("stopRow", ::apache::thrift::protocol::T_STRING
, 3);
9745 xfer
+= oprot
->writeBinary((*(this->stopRow
)));
9746 xfer
+= oprot
->writeFieldEnd();
9748 xfer
+= oprot
->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST
, 4);
9750 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->columns
)).size()));
9751 std::vector
<Text
> ::const_iterator _iter534
;
9752 for (_iter534
= (*(this->columns
)).begin(); _iter534
!= (*(this->columns
)).end(); ++_iter534
)
9754 xfer
+= oprot
->writeBinary((*_iter534
));
9756 xfer
+= oprot
->writeListEnd();
9758 xfer
+= oprot
->writeFieldEnd();
9760 xfer
+= oprot
->writeFieldBegin("timestamp", ::apache::thrift::protocol::T_I64
, 5);
9761 xfer
+= oprot
->writeI64((*(this->timestamp
)));
9762 xfer
+= oprot
->writeFieldEnd();
9764 xfer
+= oprot
->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP
, 6);
9766 xfer
+= oprot
->writeMapBegin(::apache::thrift::protocol::T_STRING
, ::apache::thrift::protocol::T_STRING
, static_cast<uint32_t>((*(this->attributes
)).size()));
9767 std::map
<Text
, Text
> ::const_iterator _iter535
;
9768 for (_iter535
= (*(this->attributes
)).begin(); _iter535
!= (*(this->attributes
)).end(); ++_iter535
)
9770 xfer
+= oprot
->writeBinary(_iter535
->first
);
9771 xfer
+= oprot
->writeBinary(_iter535
->second
);
9773 xfer
+= oprot
->writeMapEnd();
9775 xfer
+= oprot
->writeFieldEnd();
9777 xfer
+= oprot
->writeFieldStop();
9778 xfer
+= oprot
->writeStructEnd();
9782 uint32_t Hbase_scannerOpenWithStopTs_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9786 ::apache::thrift::protocol::TType ftype
;
9789 xfer
+= iprot
->readStructBegin(fname
);
9791 using ::apache::thrift::protocol::TProtocolException
;
9796 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9797 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9803 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9804 xfer
+= iprot
->readI32(this->success
);
9805 this->__isset
.success
= true;
9807 xfer
+= iprot
->skip(ftype
);
9811 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
9812 xfer
+= this->io
.read(iprot
);
9813 this->__isset
.io
= true;
9815 xfer
+= iprot
->skip(ftype
);
9819 xfer
+= iprot
->skip(ftype
);
9822 xfer
+= iprot
->readFieldEnd();
9825 xfer
+= iprot
->readStructEnd();
9830 uint32_t Hbase_scannerOpenWithStopTs_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9834 xfer
+= oprot
->writeStructBegin("Hbase_scannerOpenWithStopTs_result");
9836 if (this->__isset
.success
) {
9837 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_I32
, 0);
9838 xfer
+= oprot
->writeI32(this->success
);
9839 xfer
+= oprot
->writeFieldEnd();
9840 } else if (this->__isset
.io
) {
9841 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
9842 xfer
+= this->io
.write(oprot
);
9843 xfer
+= oprot
->writeFieldEnd();
9845 xfer
+= oprot
->writeFieldStop();
9846 xfer
+= oprot
->writeStructEnd();
9850 uint32_t Hbase_scannerOpenWithStopTs_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9854 ::apache::thrift::protocol::TType ftype
;
9857 xfer
+= iprot
->readStructBegin(fname
);
9859 using ::apache::thrift::protocol::TProtocolException
;
9864 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9865 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9871 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9872 xfer
+= iprot
->readI32((*(this->success
)));
9873 this->__isset
.success
= true;
9875 xfer
+= iprot
->skip(ftype
);
9879 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
9880 xfer
+= this->io
.read(iprot
);
9881 this->__isset
.io
= true;
9883 xfer
+= iprot
->skip(ftype
);
9887 xfer
+= iprot
->skip(ftype
);
9890 xfer
+= iprot
->readFieldEnd();
9893 xfer
+= iprot
->readStructEnd();
9898 uint32_t Hbase_scannerGet_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9902 ::apache::thrift::protocol::TType ftype
;
9905 xfer
+= iprot
->readStructBegin(fname
);
9907 using ::apache::thrift::protocol::TProtocolException
;
9912 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9913 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9919 if (ftype
== ::apache::thrift::protocol::T_I32
) {
9920 xfer
+= iprot
->readI32(this->id
);
9921 this->__isset
.id
= true;
9923 xfer
+= iprot
->skip(ftype
);
9927 xfer
+= iprot
->skip(ftype
);
9930 xfer
+= iprot
->readFieldEnd();
9933 xfer
+= iprot
->readStructEnd();
9938 uint32_t Hbase_scannerGet_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9940 xfer
+= oprot
->writeStructBegin("Hbase_scannerGet_args");
9942 xfer
+= oprot
->writeFieldBegin("id", ::apache::thrift::protocol::T_I32
, 1);
9943 xfer
+= oprot
->writeI32(this->id
);
9944 xfer
+= oprot
->writeFieldEnd();
9946 xfer
+= oprot
->writeFieldStop();
9947 xfer
+= oprot
->writeStructEnd();
9951 uint32_t Hbase_scannerGet_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
9953 xfer
+= oprot
->writeStructBegin("Hbase_scannerGet_pargs");
9955 xfer
+= oprot
->writeFieldBegin("id", ::apache::thrift::protocol::T_I32
, 1);
9956 xfer
+= oprot
->writeI32((*(this->id
)));
9957 xfer
+= oprot
->writeFieldEnd();
9959 xfer
+= oprot
->writeFieldStop();
9960 xfer
+= oprot
->writeStructEnd();
9964 uint32_t Hbase_scannerGet_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
9968 ::apache::thrift::protocol::TType ftype
;
9971 xfer
+= iprot
->readStructBegin(fname
);
9973 using ::apache::thrift::protocol::TProtocolException
;
9978 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
9979 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
9985 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
9987 this->success
.clear();
9989 ::apache::thrift::protocol::TType _etype539
;
9990 xfer
+= iprot
->readListBegin(_etype539
, _size536
);
9991 this->success
.resize(_size536
);
9993 for (_i540
= 0; _i540
< _size536
; ++_i540
)
9995 xfer
+= this->success
[_i540
].read(iprot
);
9997 xfer
+= iprot
->readListEnd();
9999 this->__isset
.success
= true;
10001 xfer
+= iprot
->skip(ftype
);
10005 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10006 xfer
+= this->io
.read(iprot
);
10007 this->__isset
.io
= true;
10009 xfer
+= iprot
->skip(ftype
);
10013 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10014 xfer
+= this->ia
.read(iprot
);
10015 this->__isset
.ia
= true;
10017 xfer
+= iprot
->skip(ftype
);
10021 xfer
+= iprot
->skip(ftype
);
10024 xfer
+= iprot
->readFieldEnd();
10027 xfer
+= iprot
->readStructEnd();
10032 uint32_t Hbase_scannerGet_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10036 xfer
+= oprot
->writeStructBegin("Hbase_scannerGet_result");
10038 if (this->__isset
.success
) {
10039 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
10041 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
10042 std::vector
<TRowResult
> ::const_iterator _iter541
;
10043 for (_iter541
= this->success
.begin(); _iter541
!= this->success
.end(); ++_iter541
)
10045 xfer
+= (*_iter541
).write(oprot
);
10047 xfer
+= oprot
->writeListEnd();
10049 xfer
+= oprot
->writeFieldEnd();
10050 } else if (this->__isset
.io
) {
10051 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
10052 xfer
+= this->io
.write(oprot
);
10053 xfer
+= oprot
->writeFieldEnd();
10054 } else if (this->__isset
.ia
) {
10055 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
10056 xfer
+= this->ia
.write(oprot
);
10057 xfer
+= oprot
->writeFieldEnd();
10059 xfer
+= oprot
->writeFieldStop();
10060 xfer
+= oprot
->writeStructEnd();
10064 uint32_t Hbase_scannerGet_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10068 ::apache::thrift::protocol::TType ftype
;
10071 xfer
+= iprot
->readStructBegin(fname
);
10073 using ::apache::thrift::protocol::TProtocolException
;
10078 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10079 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10085 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
10087 (*(this->success
)).clear();
10089 ::apache::thrift::protocol::TType _etype545
;
10090 xfer
+= iprot
->readListBegin(_etype545
, _size542
);
10091 (*(this->success
)).resize(_size542
);
10093 for (_i546
= 0; _i546
< _size542
; ++_i546
)
10095 xfer
+= (*(this->success
))[_i546
].read(iprot
);
10097 xfer
+= iprot
->readListEnd();
10099 this->__isset
.success
= true;
10101 xfer
+= iprot
->skip(ftype
);
10105 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10106 xfer
+= this->io
.read(iprot
);
10107 this->__isset
.io
= true;
10109 xfer
+= iprot
->skip(ftype
);
10113 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10114 xfer
+= this->ia
.read(iprot
);
10115 this->__isset
.ia
= true;
10117 xfer
+= iprot
->skip(ftype
);
10121 xfer
+= iprot
->skip(ftype
);
10124 xfer
+= iprot
->readFieldEnd();
10127 xfer
+= iprot
->readStructEnd();
10132 uint32_t Hbase_scannerGetList_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10136 ::apache::thrift::protocol::TType ftype
;
10139 xfer
+= iprot
->readStructBegin(fname
);
10141 using ::apache::thrift::protocol::TProtocolException
;
10146 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10147 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10153 if (ftype
== ::apache::thrift::protocol::T_I32
) {
10154 xfer
+= iprot
->readI32(this->id
);
10155 this->__isset
.id
= true;
10157 xfer
+= iprot
->skip(ftype
);
10161 if (ftype
== ::apache::thrift::protocol::T_I32
) {
10162 xfer
+= iprot
->readI32(this->nbRows
);
10163 this->__isset
.nbRows
= true;
10165 xfer
+= iprot
->skip(ftype
);
10169 xfer
+= iprot
->skip(ftype
);
10172 xfer
+= iprot
->readFieldEnd();
10175 xfer
+= iprot
->readStructEnd();
10180 uint32_t Hbase_scannerGetList_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10182 xfer
+= oprot
->writeStructBegin("Hbase_scannerGetList_args");
10184 xfer
+= oprot
->writeFieldBegin("id", ::apache::thrift::protocol::T_I32
, 1);
10185 xfer
+= oprot
->writeI32(this->id
);
10186 xfer
+= oprot
->writeFieldEnd();
10188 xfer
+= oprot
->writeFieldBegin("nbRows", ::apache::thrift::protocol::T_I32
, 2);
10189 xfer
+= oprot
->writeI32(this->nbRows
);
10190 xfer
+= oprot
->writeFieldEnd();
10192 xfer
+= oprot
->writeFieldStop();
10193 xfer
+= oprot
->writeStructEnd();
10197 uint32_t Hbase_scannerGetList_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10199 xfer
+= oprot
->writeStructBegin("Hbase_scannerGetList_pargs");
10201 xfer
+= oprot
->writeFieldBegin("id", ::apache::thrift::protocol::T_I32
, 1);
10202 xfer
+= oprot
->writeI32((*(this->id
)));
10203 xfer
+= oprot
->writeFieldEnd();
10205 xfer
+= oprot
->writeFieldBegin("nbRows", ::apache::thrift::protocol::T_I32
, 2);
10206 xfer
+= oprot
->writeI32((*(this->nbRows
)));
10207 xfer
+= oprot
->writeFieldEnd();
10209 xfer
+= oprot
->writeFieldStop();
10210 xfer
+= oprot
->writeStructEnd();
10214 uint32_t Hbase_scannerGetList_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10218 ::apache::thrift::protocol::TType ftype
;
10221 xfer
+= iprot
->readStructBegin(fname
);
10223 using ::apache::thrift::protocol::TProtocolException
;
10228 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10229 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10235 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
10237 this->success
.clear();
10239 ::apache::thrift::protocol::TType _etype550
;
10240 xfer
+= iprot
->readListBegin(_etype550
, _size547
);
10241 this->success
.resize(_size547
);
10243 for (_i551
= 0; _i551
< _size547
; ++_i551
)
10245 xfer
+= this->success
[_i551
].read(iprot
);
10247 xfer
+= iprot
->readListEnd();
10249 this->__isset
.success
= true;
10251 xfer
+= iprot
->skip(ftype
);
10255 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10256 xfer
+= this->io
.read(iprot
);
10257 this->__isset
.io
= true;
10259 xfer
+= iprot
->skip(ftype
);
10263 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10264 xfer
+= this->ia
.read(iprot
);
10265 this->__isset
.ia
= true;
10267 xfer
+= iprot
->skip(ftype
);
10271 xfer
+= iprot
->skip(ftype
);
10274 xfer
+= iprot
->readFieldEnd();
10277 xfer
+= iprot
->readStructEnd();
10282 uint32_t Hbase_scannerGetList_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10286 xfer
+= oprot
->writeStructBegin("Hbase_scannerGetList_result");
10288 if (this->__isset
.success
) {
10289 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
10291 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
10292 std::vector
<TRowResult
> ::const_iterator _iter552
;
10293 for (_iter552
= this->success
.begin(); _iter552
!= this->success
.end(); ++_iter552
)
10295 xfer
+= (*_iter552
).write(oprot
);
10297 xfer
+= oprot
->writeListEnd();
10299 xfer
+= oprot
->writeFieldEnd();
10300 } else if (this->__isset
.io
) {
10301 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
10302 xfer
+= this->io
.write(oprot
);
10303 xfer
+= oprot
->writeFieldEnd();
10304 } else if (this->__isset
.ia
) {
10305 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
10306 xfer
+= this->ia
.write(oprot
);
10307 xfer
+= oprot
->writeFieldEnd();
10309 xfer
+= oprot
->writeFieldStop();
10310 xfer
+= oprot
->writeStructEnd();
10314 uint32_t Hbase_scannerGetList_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10318 ::apache::thrift::protocol::TType ftype
;
10321 xfer
+= iprot
->readStructBegin(fname
);
10323 using ::apache::thrift::protocol::TProtocolException
;
10328 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10329 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10335 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
10337 (*(this->success
)).clear();
10339 ::apache::thrift::protocol::TType _etype556
;
10340 xfer
+= iprot
->readListBegin(_etype556
, _size553
);
10341 (*(this->success
)).resize(_size553
);
10343 for (_i557
= 0; _i557
< _size553
; ++_i557
)
10345 xfer
+= (*(this->success
))[_i557
].read(iprot
);
10347 xfer
+= iprot
->readListEnd();
10349 this->__isset
.success
= true;
10351 xfer
+= iprot
->skip(ftype
);
10355 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10356 xfer
+= this->io
.read(iprot
);
10357 this->__isset
.io
= true;
10359 xfer
+= iprot
->skip(ftype
);
10363 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10364 xfer
+= this->ia
.read(iprot
);
10365 this->__isset
.ia
= true;
10367 xfer
+= iprot
->skip(ftype
);
10371 xfer
+= iprot
->skip(ftype
);
10374 xfer
+= iprot
->readFieldEnd();
10377 xfer
+= iprot
->readStructEnd();
10382 uint32_t Hbase_scannerClose_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10386 ::apache::thrift::protocol::TType ftype
;
10389 xfer
+= iprot
->readStructBegin(fname
);
10391 using ::apache::thrift::protocol::TProtocolException
;
10396 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10397 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10403 if (ftype
== ::apache::thrift::protocol::T_I32
) {
10404 xfer
+= iprot
->readI32(this->id
);
10405 this->__isset
.id
= true;
10407 xfer
+= iprot
->skip(ftype
);
10411 xfer
+= iprot
->skip(ftype
);
10414 xfer
+= iprot
->readFieldEnd();
10417 xfer
+= iprot
->readStructEnd();
10422 uint32_t Hbase_scannerClose_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10424 xfer
+= oprot
->writeStructBegin("Hbase_scannerClose_args");
10426 xfer
+= oprot
->writeFieldBegin("id", ::apache::thrift::protocol::T_I32
, 1);
10427 xfer
+= oprot
->writeI32(this->id
);
10428 xfer
+= oprot
->writeFieldEnd();
10430 xfer
+= oprot
->writeFieldStop();
10431 xfer
+= oprot
->writeStructEnd();
10435 uint32_t Hbase_scannerClose_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10437 xfer
+= oprot
->writeStructBegin("Hbase_scannerClose_pargs");
10439 xfer
+= oprot
->writeFieldBegin("id", ::apache::thrift::protocol::T_I32
, 1);
10440 xfer
+= oprot
->writeI32((*(this->id
)));
10441 xfer
+= oprot
->writeFieldEnd();
10443 xfer
+= oprot
->writeFieldStop();
10444 xfer
+= oprot
->writeStructEnd();
10448 uint32_t Hbase_scannerClose_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10452 ::apache::thrift::protocol::TType ftype
;
10455 xfer
+= iprot
->readStructBegin(fname
);
10457 using ::apache::thrift::protocol::TProtocolException
;
10462 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10463 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10469 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10470 xfer
+= this->io
.read(iprot
);
10471 this->__isset
.io
= true;
10473 xfer
+= iprot
->skip(ftype
);
10477 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10478 xfer
+= this->ia
.read(iprot
);
10479 this->__isset
.ia
= true;
10481 xfer
+= iprot
->skip(ftype
);
10485 xfer
+= iprot
->skip(ftype
);
10488 xfer
+= iprot
->readFieldEnd();
10491 xfer
+= iprot
->readStructEnd();
10496 uint32_t Hbase_scannerClose_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10500 xfer
+= oprot
->writeStructBegin("Hbase_scannerClose_result");
10502 if (this->__isset
.io
) {
10503 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
10504 xfer
+= this->io
.write(oprot
);
10505 xfer
+= oprot
->writeFieldEnd();
10506 } else if (this->__isset
.ia
) {
10507 xfer
+= oprot
->writeFieldBegin("ia", ::apache::thrift::protocol::T_STRUCT
, 2);
10508 xfer
+= this->ia
.write(oprot
);
10509 xfer
+= oprot
->writeFieldEnd();
10511 xfer
+= oprot
->writeFieldStop();
10512 xfer
+= oprot
->writeStructEnd();
10516 uint32_t Hbase_scannerClose_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10520 ::apache::thrift::protocol::TType ftype
;
10523 xfer
+= iprot
->readStructBegin(fname
);
10525 using ::apache::thrift::protocol::TProtocolException
;
10530 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10531 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10537 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10538 xfer
+= this->io
.read(iprot
);
10539 this->__isset
.io
= true;
10541 xfer
+= iprot
->skip(ftype
);
10545 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10546 xfer
+= this->ia
.read(iprot
);
10547 this->__isset
.ia
= true;
10549 xfer
+= iprot
->skip(ftype
);
10553 xfer
+= iprot
->skip(ftype
);
10556 xfer
+= iprot
->readFieldEnd();
10559 xfer
+= iprot
->readStructEnd();
10564 uint32_t Hbase_getRowOrBefore_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10568 ::apache::thrift::protocol::TType ftype
;
10571 xfer
+= iprot
->readStructBegin(fname
);
10573 using ::apache::thrift::protocol::TProtocolException
;
10578 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10579 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10585 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
10586 xfer
+= iprot
->readBinary(this->tableName
);
10587 this->__isset
.tableName
= true;
10589 xfer
+= iprot
->skip(ftype
);
10593 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
10594 xfer
+= iprot
->readBinary(this->row
);
10595 this->__isset
.row
= true;
10597 xfer
+= iprot
->skip(ftype
);
10601 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
10602 xfer
+= iprot
->readBinary(this->family
);
10603 this->__isset
.family
= true;
10605 xfer
+= iprot
->skip(ftype
);
10609 xfer
+= iprot
->skip(ftype
);
10612 xfer
+= iprot
->readFieldEnd();
10615 xfer
+= iprot
->readStructEnd();
10620 uint32_t Hbase_getRowOrBefore_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10622 xfer
+= oprot
->writeStructBegin("Hbase_getRowOrBefore_args");
10624 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
10625 xfer
+= oprot
->writeBinary(this->tableName
);
10626 xfer
+= oprot
->writeFieldEnd();
10628 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
10629 xfer
+= oprot
->writeBinary(this->row
);
10630 xfer
+= oprot
->writeFieldEnd();
10632 xfer
+= oprot
->writeFieldBegin("family", ::apache::thrift::protocol::T_STRING
, 3);
10633 xfer
+= oprot
->writeBinary(this->family
);
10634 xfer
+= oprot
->writeFieldEnd();
10636 xfer
+= oprot
->writeFieldStop();
10637 xfer
+= oprot
->writeStructEnd();
10641 uint32_t Hbase_getRowOrBefore_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10643 xfer
+= oprot
->writeStructBegin("Hbase_getRowOrBefore_pargs");
10645 xfer
+= oprot
->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING
, 1);
10646 xfer
+= oprot
->writeBinary((*(this->tableName
)));
10647 xfer
+= oprot
->writeFieldEnd();
10649 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 2);
10650 xfer
+= oprot
->writeBinary((*(this->row
)));
10651 xfer
+= oprot
->writeFieldEnd();
10653 xfer
+= oprot
->writeFieldBegin("family", ::apache::thrift::protocol::T_STRING
, 3);
10654 xfer
+= oprot
->writeBinary((*(this->family
)));
10655 xfer
+= oprot
->writeFieldEnd();
10657 xfer
+= oprot
->writeFieldStop();
10658 xfer
+= oprot
->writeStructEnd();
10662 uint32_t Hbase_getRowOrBefore_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10666 ::apache::thrift::protocol::TType ftype
;
10669 xfer
+= iprot
->readStructBegin(fname
);
10671 using ::apache::thrift::protocol::TProtocolException
;
10676 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10677 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10683 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
10685 this->success
.clear();
10687 ::apache::thrift::protocol::TType _etype561
;
10688 xfer
+= iprot
->readListBegin(_etype561
, _size558
);
10689 this->success
.resize(_size558
);
10691 for (_i562
= 0; _i562
< _size558
; ++_i562
)
10693 xfer
+= this->success
[_i562
].read(iprot
);
10695 xfer
+= iprot
->readListEnd();
10697 this->__isset
.success
= true;
10699 xfer
+= iprot
->skip(ftype
);
10703 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10704 xfer
+= this->io
.read(iprot
);
10705 this->__isset
.io
= true;
10707 xfer
+= iprot
->skip(ftype
);
10711 xfer
+= iprot
->skip(ftype
);
10714 xfer
+= iprot
->readFieldEnd();
10717 xfer
+= iprot
->readStructEnd();
10722 uint32_t Hbase_getRowOrBefore_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10726 xfer
+= oprot
->writeStructBegin("Hbase_getRowOrBefore_result");
10728 if (this->__isset
.success
) {
10729 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST
, 0);
10731 xfer
+= oprot
->writeListBegin(::apache::thrift::protocol::T_STRUCT
, static_cast<uint32_t>(this->success
.size()));
10732 std::vector
<TCell
> ::const_iterator _iter563
;
10733 for (_iter563
= this->success
.begin(); _iter563
!= this->success
.end(); ++_iter563
)
10735 xfer
+= (*_iter563
).write(oprot
);
10737 xfer
+= oprot
->writeListEnd();
10739 xfer
+= oprot
->writeFieldEnd();
10740 } else if (this->__isset
.io
) {
10741 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
10742 xfer
+= this->io
.write(oprot
);
10743 xfer
+= oprot
->writeFieldEnd();
10745 xfer
+= oprot
->writeFieldStop();
10746 xfer
+= oprot
->writeStructEnd();
10750 uint32_t Hbase_getRowOrBefore_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10754 ::apache::thrift::protocol::TType ftype
;
10757 xfer
+= iprot
->readStructBegin(fname
);
10759 using ::apache::thrift::protocol::TProtocolException
;
10764 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10765 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10771 if (ftype
== ::apache::thrift::protocol::T_LIST
) {
10773 (*(this->success
)).clear();
10775 ::apache::thrift::protocol::TType _etype567
;
10776 xfer
+= iprot
->readListBegin(_etype567
, _size564
);
10777 (*(this->success
)).resize(_size564
);
10779 for (_i568
= 0; _i568
< _size564
; ++_i568
)
10781 xfer
+= (*(this->success
))[_i568
].read(iprot
);
10783 xfer
+= iprot
->readListEnd();
10785 this->__isset
.success
= true;
10787 xfer
+= iprot
->skip(ftype
);
10791 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10792 xfer
+= this->io
.read(iprot
);
10793 this->__isset
.io
= true;
10795 xfer
+= iprot
->skip(ftype
);
10799 xfer
+= iprot
->skip(ftype
);
10802 xfer
+= iprot
->readFieldEnd();
10805 xfer
+= iprot
->readStructEnd();
10810 uint32_t Hbase_getRegionInfo_args::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10814 ::apache::thrift::protocol::TType ftype
;
10817 xfer
+= iprot
->readStructBegin(fname
);
10819 using ::apache::thrift::protocol::TProtocolException
;
10824 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10825 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10831 if (ftype
== ::apache::thrift::protocol::T_STRING
) {
10832 xfer
+= iprot
->readBinary(this->row
);
10833 this->__isset
.row
= true;
10835 xfer
+= iprot
->skip(ftype
);
10839 xfer
+= iprot
->skip(ftype
);
10842 xfer
+= iprot
->readFieldEnd();
10845 xfer
+= iprot
->readStructEnd();
10850 uint32_t Hbase_getRegionInfo_args::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10852 xfer
+= oprot
->writeStructBegin("Hbase_getRegionInfo_args");
10854 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 1);
10855 xfer
+= oprot
->writeBinary(this->row
);
10856 xfer
+= oprot
->writeFieldEnd();
10858 xfer
+= oprot
->writeFieldStop();
10859 xfer
+= oprot
->writeStructEnd();
10863 uint32_t Hbase_getRegionInfo_pargs::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10865 xfer
+= oprot
->writeStructBegin("Hbase_getRegionInfo_pargs");
10867 xfer
+= oprot
->writeFieldBegin("row", ::apache::thrift::protocol::T_STRING
, 1);
10868 xfer
+= oprot
->writeBinary((*(this->row
)));
10869 xfer
+= oprot
->writeFieldEnd();
10871 xfer
+= oprot
->writeFieldStop();
10872 xfer
+= oprot
->writeStructEnd();
10876 uint32_t Hbase_getRegionInfo_result::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10880 ::apache::thrift::protocol::TType ftype
;
10883 xfer
+= iprot
->readStructBegin(fname
);
10885 using ::apache::thrift::protocol::TProtocolException
;
10890 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10891 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10897 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10898 xfer
+= this->success
.read(iprot
);
10899 this->__isset
.success
= true;
10901 xfer
+= iprot
->skip(ftype
);
10905 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10906 xfer
+= this->io
.read(iprot
);
10907 this->__isset
.io
= true;
10909 xfer
+= iprot
->skip(ftype
);
10913 xfer
+= iprot
->skip(ftype
);
10916 xfer
+= iprot
->readFieldEnd();
10919 xfer
+= iprot
->readStructEnd();
10924 uint32_t Hbase_getRegionInfo_result::write(::apache::thrift::protocol::TProtocol
* oprot
) const {
10928 xfer
+= oprot
->writeStructBegin("Hbase_getRegionInfo_result");
10930 if (this->__isset
.success
) {
10931 xfer
+= oprot
->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT
, 0);
10932 xfer
+= this->success
.write(oprot
);
10933 xfer
+= oprot
->writeFieldEnd();
10934 } else if (this->__isset
.io
) {
10935 xfer
+= oprot
->writeFieldBegin("io", ::apache::thrift::protocol::T_STRUCT
, 1);
10936 xfer
+= this->io
.write(oprot
);
10937 xfer
+= oprot
->writeFieldEnd();
10939 xfer
+= oprot
->writeFieldStop();
10940 xfer
+= oprot
->writeStructEnd();
10944 uint32_t Hbase_getRegionInfo_presult::read(::apache::thrift::protocol::TProtocol
* iprot
) {
10948 ::apache::thrift::protocol::TType ftype
;
10951 xfer
+= iprot
->readStructBegin(fname
);
10953 using ::apache::thrift::protocol::TProtocolException
;
10958 xfer
+= iprot
->readFieldBegin(fname
, ftype
, fid
);
10959 if (ftype
== ::apache::thrift::protocol::T_STOP
) {
10965 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10966 xfer
+= (*(this->success
)).read(iprot
);
10967 this->__isset
.success
= true;
10969 xfer
+= iprot
->skip(ftype
);
10973 if (ftype
== ::apache::thrift::protocol::T_STRUCT
) {
10974 xfer
+= this->io
.read(iprot
);
10975 this->__isset
.io
= true;
10977 xfer
+= iprot
->skip(ftype
);
10981 xfer
+= iprot
->skip(ftype
);
10984 xfer
+= iprot
->readFieldEnd();
10987 xfer
+= iprot
->readStructEnd();
10992 void HbaseClient::enableTable(const Bytes
& tableName
)
10994 send_enableTable(tableName
);
10995 recv_enableTable();
10998 void HbaseClient::send_enableTable(const Bytes
& tableName
)
11000 int32_t cseqid
= 0;
11001 oprot_
->writeMessageBegin("enableTable", ::apache::thrift::protocol::T_CALL
, cseqid
);
11003 Hbase_enableTable_pargs args
;
11004 args
.tableName
= &tableName
;
11005 args
.write(oprot_
);
11007 oprot_
->writeMessageEnd();
11008 oprot_
->getTransport()->writeEnd();
11009 oprot_
->getTransport()->flush();
11012 void HbaseClient::recv_enableTable()
11015 int32_t rseqid
= 0;
11017 ::apache::thrift::protocol::TMessageType mtype
;
11019 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11020 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11021 ::apache::thrift::TApplicationException x
;
11023 iprot_
->readMessageEnd();
11024 iprot_
->getTransport()->readEnd();
11027 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11028 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11029 iprot_
->readMessageEnd();
11030 iprot_
->getTransport()->readEnd();
11032 if (fname
.compare("enableTable") != 0) {
11033 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11034 iprot_
->readMessageEnd();
11035 iprot_
->getTransport()->readEnd();
11037 Hbase_enableTable_presult result
;
11038 result
.read(iprot_
);
11039 iprot_
->readMessageEnd();
11040 iprot_
->getTransport()->readEnd();
11042 if (result
.__isset
.io
) {
11048 void HbaseClient::disableTable(const Bytes
& tableName
)
11050 send_disableTable(tableName
);
11051 recv_disableTable();
11054 void HbaseClient::send_disableTable(const Bytes
& tableName
)
11056 int32_t cseqid
= 0;
11057 oprot_
->writeMessageBegin("disableTable", ::apache::thrift::protocol::T_CALL
, cseqid
);
11059 Hbase_disableTable_pargs args
;
11060 args
.tableName
= &tableName
;
11061 args
.write(oprot_
);
11063 oprot_
->writeMessageEnd();
11064 oprot_
->getTransport()->writeEnd();
11065 oprot_
->getTransport()->flush();
11068 void HbaseClient::recv_disableTable()
11071 int32_t rseqid
= 0;
11073 ::apache::thrift::protocol::TMessageType mtype
;
11075 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11076 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11077 ::apache::thrift::TApplicationException x
;
11079 iprot_
->readMessageEnd();
11080 iprot_
->getTransport()->readEnd();
11083 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11084 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11085 iprot_
->readMessageEnd();
11086 iprot_
->getTransport()->readEnd();
11088 if (fname
.compare("disableTable") != 0) {
11089 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11090 iprot_
->readMessageEnd();
11091 iprot_
->getTransport()->readEnd();
11093 Hbase_disableTable_presult result
;
11094 result
.read(iprot_
);
11095 iprot_
->readMessageEnd();
11096 iprot_
->getTransport()->readEnd();
11098 if (result
.__isset
.io
) {
11104 bool HbaseClient::isTableEnabled(const Bytes
& tableName
)
11106 send_isTableEnabled(tableName
);
11107 return recv_isTableEnabled();
11110 void HbaseClient::send_isTableEnabled(const Bytes
& tableName
)
11112 int32_t cseqid
= 0;
11113 oprot_
->writeMessageBegin("isTableEnabled", ::apache::thrift::protocol::T_CALL
, cseqid
);
11115 Hbase_isTableEnabled_pargs args
;
11116 args
.tableName
= &tableName
;
11117 args
.write(oprot_
);
11119 oprot_
->writeMessageEnd();
11120 oprot_
->getTransport()->writeEnd();
11121 oprot_
->getTransport()->flush();
11124 bool HbaseClient::recv_isTableEnabled()
11127 int32_t rseqid
= 0;
11129 ::apache::thrift::protocol::TMessageType mtype
;
11131 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11132 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11133 ::apache::thrift::TApplicationException x
;
11135 iprot_
->readMessageEnd();
11136 iprot_
->getTransport()->readEnd();
11139 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11140 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11141 iprot_
->readMessageEnd();
11142 iprot_
->getTransport()->readEnd();
11144 if (fname
.compare("isTableEnabled") != 0) {
11145 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11146 iprot_
->readMessageEnd();
11147 iprot_
->getTransport()->readEnd();
11150 Hbase_isTableEnabled_presult result
;
11151 result
.success
= &_return
;
11152 result
.read(iprot_
);
11153 iprot_
->readMessageEnd();
11154 iprot_
->getTransport()->readEnd();
11156 if (result
.__isset
.success
) {
11159 if (result
.__isset
.io
) {
11162 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "isTableEnabled failed: unknown result");
11165 void HbaseClient::compact(const Bytes
& tableNameOrRegionName
)
11167 send_compact(tableNameOrRegionName
);
11171 void HbaseClient::send_compact(const Bytes
& tableNameOrRegionName
)
11173 int32_t cseqid
= 0;
11174 oprot_
->writeMessageBegin("compact", ::apache::thrift::protocol::T_CALL
, cseqid
);
11176 Hbase_compact_pargs args
;
11177 args
.tableNameOrRegionName
= &tableNameOrRegionName
;
11178 args
.write(oprot_
);
11180 oprot_
->writeMessageEnd();
11181 oprot_
->getTransport()->writeEnd();
11182 oprot_
->getTransport()->flush();
11185 void HbaseClient::recv_compact()
11188 int32_t rseqid
= 0;
11190 ::apache::thrift::protocol::TMessageType mtype
;
11192 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11193 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11194 ::apache::thrift::TApplicationException x
;
11196 iprot_
->readMessageEnd();
11197 iprot_
->getTransport()->readEnd();
11200 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11201 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11202 iprot_
->readMessageEnd();
11203 iprot_
->getTransport()->readEnd();
11205 if (fname
.compare("compact") != 0) {
11206 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11207 iprot_
->readMessageEnd();
11208 iprot_
->getTransport()->readEnd();
11210 Hbase_compact_presult result
;
11211 result
.read(iprot_
);
11212 iprot_
->readMessageEnd();
11213 iprot_
->getTransport()->readEnd();
11215 if (result
.__isset
.io
) {
11221 void HbaseClient::majorCompact(const Bytes
& tableNameOrRegionName
)
11223 send_majorCompact(tableNameOrRegionName
);
11224 recv_majorCompact();
11227 void HbaseClient::send_majorCompact(const Bytes
& tableNameOrRegionName
)
11229 int32_t cseqid
= 0;
11230 oprot_
->writeMessageBegin("majorCompact", ::apache::thrift::protocol::T_CALL
, cseqid
);
11232 Hbase_majorCompact_pargs args
;
11233 args
.tableNameOrRegionName
= &tableNameOrRegionName
;
11234 args
.write(oprot_
);
11236 oprot_
->writeMessageEnd();
11237 oprot_
->getTransport()->writeEnd();
11238 oprot_
->getTransport()->flush();
11241 void HbaseClient::recv_majorCompact()
11244 int32_t rseqid
= 0;
11246 ::apache::thrift::protocol::TMessageType mtype
;
11248 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11249 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11250 ::apache::thrift::TApplicationException x
;
11252 iprot_
->readMessageEnd();
11253 iprot_
->getTransport()->readEnd();
11256 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11257 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11258 iprot_
->readMessageEnd();
11259 iprot_
->getTransport()->readEnd();
11261 if (fname
.compare("majorCompact") != 0) {
11262 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11263 iprot_
->readMessageEnd();
11264 iprot_
->getTransport()->readEnd();
11266 Hbase_majorCompact_presult result
;
11267 result
.read(iprot_
);
11268 iprot_
->readMessageEnd();
11269 iprot_
->getTransport()->readEnd();
11271 if (result
.__isset
.io
) {
11277 void HbaseClient::getTableNames(std::vector
<Text
> & _return
)
11279 send_getTableNames();
11280 recv_getTableNames(_return
);
11283 void HbaseClient::send_getTableNames()
11285 int32_t cseqid
= 0;
11286 oprot_
->writeMessageBegin("getTableNames", ::apache::thrift::protocol::T_CALL
, cseqid
);
11288 Hbase_getTableNames_pargs args
;
11289 args
.write(oprot_
);
11291 oprot_
->writeMessageEnd();
11292 oprot_
->getTransport()->writeEnd();
11293 oprot_
->getTransport()->flush();
11296 void HbaseClient::recv_getTableNames(std::vector
<Text
> & _return
)
11299 int32_t rseqid
= 0;
11301 ::apache::thrift::protocol::TMessageType mtype
;
11303 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11304 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11305 ::apache::thrift::TApplicationException x
;
11307 iprot_
->readMessageEnd();
11308 iprot_
->getTransport()->readEnd();
11311 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11312 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11313 iprot_
->readMessageEnd();
11314 iprot_
->getTransport()->readEnd();
11316 if (fname
.compare("getTableNames") != 0) {
11317 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11318 iprot_
->readMessageEnd();
11319 iprot_
->getTransport()->readEnd();
11321 Hbase_getTableNames_presult result
;
11322 result
.success
= &_return
;
11323 result
.read(iprot_
);
11324 iprot_
->readMessageEnd();
11325 iprot_
->getTransport()->readEnd();
11327 if (result
.__isset
.success
) {
11328 // _return pointer has now been filled
11331 if (result
.__isset
.io
) {
11334 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getTableNames failed: unknown result");
11337 void HbaseClient::getColumnDescriptors(std::map
<Text
, ColumnDescriptor
> & _return
, const Text
& tableName
)
11339 send_getColumnDescriptors(tableName
);
11340 recv_getColumnDescriptors(_return
);
11343 void HbaseClient::send_getColumnDescriptors(const Text
& tableName
)
11345 int32_t cseqid
= 0;
11346 oprot_
->writeMessageBegin("getColumnDescriptors", ::apache::thrift::protocol::T_CALL
, cseqid
);
11348 Hbase_getColumnDescriptors_pargs args
;
11349 args
.tableName
= &tableName
;
11350 args
.write(oprot_
);
11352 oprot_
->writeMessageEnd();
11353 oprot_
->getTransport()->writeEnd();
11354 oprot_
->getTransport()->flush();
11357 void HbaseClient::recv_getColumnDescriptors(std::map
<Text
, ColumnDescriptor
> & _return
)
11360 int32_t rseqid
= 0;
11362 ::apache::thrift::protocol::TMessageType mtype
;
11364 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11365 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11366 ::apache::thrift::TApplicationException x
;
11368 iprot_
->readMessageEnd();
11369 iprot_
->getTransport()->readEnd();
11372 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11373 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11374 iprot_
->readMessageEnd();
11375 iprot_
->getTransport()->readEnd();
11377 if (fname
.compare("getColumnDescriptors") != 0) {
11378 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11379 iprot_
->readMessageEnd();
11380 iprot_
->getTransport()->readEnd();
11382 Hbase_getColumnDescriptors_presult result
;
11383 result
.success
= &_return
;
11384 result
.read(iprot_
);
11385 iprot_
->readMessageEnd();
11386 iprot_
->getTransport()->readEnd();
11388 if (result
.__isset
.success
) {
11389 // _return pointer has now been filled
11392 if (result
.__isset
.io
) {
11395 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getColumnDescriptors failed: unknown result");
11398 void HbaseClient::getTableRegions(std::vector
<TRegionInfo
> & _return
, const Text
& tableName
)
11400 send_getTableRegions(tableName
);
11401 recv_getTableRegions(_return
);
11404 void HbaseClient::send_getTableRegions(const Text
& tableName
)
11406 int32_t cseqid
= 0;
11407 oprot_
->writeMessageBegin("getTableRegions", ::apache::thrift::protocol::T_CALL
, cseqid
);
11409 Hbase_getTableRegions_pargs args
;
11410 args
.tableName
= &tableName
;
11411 args
.write(oprot_
);
11413 oprot_
->writeMessageEnd();
11414 oprot_
->getTransport()->writeEnd();
11415 oprot_
->getTransport()->flush();
11418 void HbaseClient::recv_getTableRegions(std::vector
<TRegionInfo
> & _return
)
11421 int32_t rseqid
= 0;
11423 ::apache::thrift::protocol::TMessageType mtype
;
11425 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11426 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11427 ::apache::thrift::TApplicationException x
;
11429 iprot_
->readMessageEnd();
11430 iprot_
->getTransport()->readEnd();
11433 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11434 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11435 iprot_
->readMessageEnd();
11436 iprot_
->getTransport()->readEnd();
11438 if (fname
.compare("getTableRegions") != 0) {
11439 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11440 iprot_
->readMessageEnd();
11441 iprot_
->getTransport()->readEnd();
11443 Hbase_getTableRegions_presult result
;
11444 result
.success
= &_return
;
11445 result
.read(iprot_
);
11446 iprot_
->readMessageEnd();
11447 iprot_
->getTransport()->readEnd();
11449 if (result
.__isset
.success
) {
11450 // _return pointer has now been filled
11453 if (result
.__isset
.io
) {
11456 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getTableRegions failed: unknown result");
11459 void HbaseClient::createTable(const Text
& tableName
, const std::vector
<ColumnDescriptor
> & columnFamilies
)
11461 send_createTable(tableName
, columnFamilies
);
11462 recv_createTable();
11465 void HbaseClient::send_createTable(const Text
& tableName
, const std::vector
<ColumnDescriptor
> & columnFamilies
)
11467 int32_t cseqid
= 0;
11468 oprot_
->writeMessageBegin("createTable", ::apache::thrift::protocol::T_CALL
, cseqid
);
11470 Hbase_createTable_pargs args
;
11471 args
.tableName
= &tableName
;
11472 args
.columnFamilies
= &columnFamilies
;
11473 args
.write(oprot_
);
11475 oprot_
->writeMessageEnd();
11476 oprot_
->getTransport()->writeEnd();
11477 oprot_
->getTransport()->flush();
11480 void HbaseClient::recv_createTable()
11483 int32_t rseqid
= 0;
11485 ::apache::thrift::protocol::TMessageType mtype
;
11487 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11488 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11489 ::apache::thrift::TApplicationException x
;
11491 iprot_
->readMessageEnd();
11492 iprot_
->getTransport()->readEnd();
11495 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11496 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11497 iprot_
->readMessageEnd();
11498 iprot_
->getTransport()->readEnd();
11500 if (fname
.compare("createTable") != 0) {
11501 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11502 iprot_
->readMessageEnd();
11503 iprot_
->getTransport()->readEnd();
11505 Hbase_createTable_presult result
;
11506 result
.read(iprot_
);
11507 iprot_
->readMessageEnd();
11508 iprot_
->getTransport()->readEnd();
11510 if (result
.__isset
.io
) {
11513 if (result
.__isset
.ia
) {
11516 if (result
.__isset
.exist
) {
11517 throw result
.exist
;
11522 void HbaseClient::deleteTable(const Text
& tableName
)
11524 send_deleteTable(tableName
);
11525 recv_deleteTable();
11528 void HbaseClient::send_deleteTable(const Text
& tableName
)
11530 int32_t cseqid
= 0;
11531 oprot_
->writeMessageBegin("deleteTable", ::apache::thrift::protocol::T_CALL
, cseqid
);
11533 Hbase_deleteTable_pargs args
;
11534 args
.tableName
= &tableName
;
11535 args
.write(oprot_
);
11537 oprot_
->writeMessageEnd();
11538 oprot_
->getTransport()->writeEnd();
11539 oprot_
->getTransport()->flush();
11542 void HbaseClient::recv_deleteTable()
11545 int32_t rseqid
= 0;
11547 ::apache::thrift::protocol::TMessageType mtype
;
11549 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11550 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11551 ::apache::thrift::TApplicationException x
;
11553 iprot_
->readMessageEnd();
11554 iprot_
->getTransport()->readEnd();
11557 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11558 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11559 iprot_
->readMessageEnd();
11560 iprot_
->getTransport()->readEnd();
11562 if (fname
.compare("deleteTable") != 0) {
11563 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11564 iprot_
->readMessageEnd();
11565 iprot_
->getTransport()->readEnd();
11567 Hbase_deleteTable_presult result
;
11568 result
.read(iprot_
);
11569 iprot_
->readMessageEnd();
11570 iprot_
->getTransport()->readEnd();
11572 if (result
.__isset
.io
) {
11578 void HbaseClient::get(std::vector
<TCell
> & _return
, const Text
& tableName
, const Text
& row
, const Text
& column
, const std::map
<Text
, Text
> & attributes
)
11580 send_get(tableName
, row
, column
, attributes
);
11584 void HbaseClient::send_get(const Text
& tableName
, const Text
& row
, const Text
& column
, const std::map
<Text
, Text
> & attributes
)
11586 int32_t cseqid
= 0;
11587 oprot_
->writeMessageBegin("get", ::apache::thrift::protocol::T_CALL
, cseqid
);
11589 Hbase_get_pargs args
;
11590 args
.tableName
= &tableName
;
11592 args
.column
= &column
;
11593 args
.attributes
= &attributes
;
11594 args
.write(oprot_
);
11596 oprot_
->writeMessageEnd();
11597 oprot_
->getTransport()->writeEnd();
11598 oprot_
->getTransport()->flush();
11601 void HbaseClient::recv_get(std::vector
<TCell
> & _return
)
11604 int32_t rseqid
= 0;
11606 ::apache::thrift::protocol::TMessageType mtype
;
11608 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11609 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11610 ::apache::thrift::TApplicationException x
;
11612 iprot_
->readMessageEnd();
11613 iprot_
->getTransport()->readEnd();
11616 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11617 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11618 iprot_
->readMessageEnd();
11619 iprot_
->getTransport()->readEnd();
11621 if (fname
.compare("get") != 0) {
11622 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11623 iprot_
->readMessageEnd();
11624 iprot_
->getTransport()->readEnd();
11626 Hbase_get_presult result
;
11627 result
.success
= &_return
;
11628 result
.read(iprot_
);
11629 iprot_
->readMessageEnd();
11630 iprot_
->getTransport()->readEnd();
11632 if (result
.__isset
.success
) {
11633 // _return pointer has now been filled
11636 if (result
.__isset
.io
) {
11639 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "get failed: unknown result");
11642 void HbaseClient::getVer(std::vector
<TCell
> & _return
, const Text
& tableName
, const Text
& row
, const Text
& column
, const int32_t numVersions
, const std::map
<Text
, Text
> & attributes
)
11644 send_getVer(tableName
, row
, column
, numVersions
, attributes
);
11645 recv_getVer(_return
);
11648 void HbaseClient::send_getVer(const Text
& tableName
, const Text
& row
, const Text
& column
, const int32_t numVersions
, const std::map
<Text
, Text
> & attributes
)
11650 int32_t cseqid
= 0;
11651 oprot_
->writeMessageBegin("getVer", ::apache::thrift::protocol::T_CALL
, cseqid
);
11653 Hbase_getVer_pargs args
;
11654 args
.tableName
= &tableName
;
11656 args
.column
= &column
;
11657 args
.numVersions
= &numVersions
;
11658 args
.attributes
= &attributes
;
11659 args
.write(oprot_
);
11661 oprot_
->writeMessageEnd();
11662 oprot_
->getTransport()->writeEnd();
11663 oprot_
->getTransport()->flush();
11666 void HbaseClient::recv_getVer(std::vector
<TCell
> & _return
)
11669 int32_t rseqid
= 0;
11671 ::apache::thrift::protocol::TMessageType mtype
;
11673 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11674 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11675 ::apache::thrift::TApplicationException x
;
11677 iprot_
->readMessageEnd();
11678 iprot_
->getTransport()->readEnd();
11681 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11682 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11683 iprot_
->readMessageEnd();
11684 iprot_
->getTransport()->readEnd();
11686 if (fname
.compare("getVer") != 0) {
11687 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11688 iprot_
->readMessageEnd();
11689 iprot_
->getTransport()->readEnd();
11691 Hbase_getVer_presult result
;
11692 result
.success
= &_return
;
11693 result
.read(iprot_
);
11694 iprot_
->readMessageEnd();
11695 iprot_
->getTransport()->readEnd();
11697 if (result
.__isset
.success
) {
11698 // _return pointer has now been filled
11701 if (result
.__isset
.io
) {
11704 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getVer failed: unknown result");
11707 void HbaseClient::getVerTs(std::vector
<TCell
> & _return
, const Text
& tableName
, const Text
& row
, const Text
& column
, const int64_t timestamp
, const int32_t numVersions
, const std::map
<Text
, Text
> & attributes
)
11709 send_getVerTs(tableName
, row
, column
, timestamp
, numVersions
, attributes
);
11710 recv_getVerTs(_return
);
11713 void HbaseClient::send_getVerTs(const Text
& tableName
, const Text
& row
, const Text
& column
, const int64_t timestamp
, const int32_t numVersions
, const std::map
<Text
, Text
> & attributes
)
11715 int32_t cseqid
= 0;
11716 oprot_
->writeMessageBegin("getVerTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
11718 Hbase_getVerTs_pargs args
;
11719 args
.tableName
= &tableName
;
11721 args
.column
= &column
;
11722 args
.timestamp
= ×tamp
;
11723 args
.numVersions
= &numVersions
;
11724 args
.attributes
= &attributes
;
11725 args
.write(oprot_
);
11727 oprot_
->writeMessageEnd();
11728 oprot_
->getTransport()->writeEnd();
11729 oprot_
->getTransport()->flush();
11732 void HbaseClient::recv_getVerTs(std::vector
<TCell
> & _return
)
11735 int32_t rseqid
= 0;
11737 ::apache::thrift::protocol::TMessageType mtype
;
11739 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11740 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11741 ::apache::thrift::TApplicationException x
;
11743 iprot_
->readMessageEnd();
11744 iprot_
->getTransport()->readEnd();
11747 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11748 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11749 iprot_
->readMessageEnd();
11750 iprot_
->getTransport()->readEnd();
11752 if (fname
.compare("getVerTs") != 0) {
11753 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11754 iprot_
->readMessageEnd();
11755 iprot_
->getTransport()->readEnd();
11757 Hbase_getVerTs_presult result
;
11758 result
.success
= &_return
;
11759 result
.read(iprot_
);
11760 iprot_
->readMessageEnd();
11761 iprot_
->getTransport()->readEnd();
11763 if (result
.__isset
.success
) {
11764 // _return pointer has now been filled
11767 if (result
.__isset
.io
) {
11770 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getVerTs failed: unknown result");
11773 void HbaseClient::getRow(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const Text
& row
, const std::map
<Text
, Text
> & attributes
)
11775 send_getRow(tableName
, row
, attributes
);
11776 recv_getRow(_return
);
11779 void HbaseClient::send_getRow(const Text
& tableName
, const Text
& row
, const std::map
<Text
, Text
> & attributes
)
11781 int32_t cseqid
= 0;
11782 oprot_
->writeMessageBegin("getRow", ::apache::thrift::protocol::T_CALL
, cseqid
);
11784 Hbase_getRow_pargs args
;
11785 args
.tableName
= &tableName
;
11787 args
.attributes
= &attributes
;
11788 args
.write(oprot_
);
11790 oprot_
->writeMessageEnd();
11791 oprot_
->getTransport()->writeEnd();
11792 oprot_
->getTransport()->flush();
11795 void HbaseClient::recv_getRow(std::vector
<TRowResult
> & _return
)
11798 int32_t rseqid
= 0;
11800 ::apache::thrift::protocol::TMessageType mtype
;
11802 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11803 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11804 ::apache::thrift::TApplicationException x
;
11806 iprot_
->readMessageEnd();
11807 iprot_
->getTransport()->readEnd();
11810 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11811 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11812 iprot_
->readMessageEnd();
11813 iprot_
->getTransport()->readEnd();
11815 if (fname
.compare("getRow") != 0) {
11816 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11817 iprot_
->readMessageEnd();
11818 iprot_
->getTransport()->readEnd();
11820 Hbase_getRow_presult result
;
11821 result
.success
= &_return
;
11822 result
.read(iprot_
);
11823 iprot_
->readMessageEnd();
11824 iprot_
->getTransport()->readEnd();
11826 if (result
.__isset
.success
) {
11827 // _return pointer has now been filled
11830 if (result
.__isset
.io
) {
11833 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRow failed: unknown result");
11836 void HbaseClient::getRowWithColumns(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const Text
& row
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
11838 send_getRowWithColumns(tableName
, row
, columns
, attributes
);
11839 recv_getRowWithColumns(_return
);
11842 void HbaseClient::send_getRowWithColumns(const Text
& tableName
, const Text
& row
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
11844 int32_t cseqid
= 0;
11845 oprot_
->writeMessageBegin("getRowWithColumns", ::apache::thrift::protocol::T_CALL
, cseqid
);
11847 Hbase_getRowWithColumns_pargs args
;
11848 args
.tableName
= &tableName
;
11850 args
.columns
= &columns
;
11851 args
.attributes
= &attributes
;
11852 args
.write(oprot_
);
11854 oprot_
->writeMessageEnd();
11855 oprot_
->getTransport()->writeEnd();
11856 oprot_
->getTransport()->flush();
11859 void HbaseClient::recv_getRowWithColumns(std::vector
<TRowResult
> & _return
)
11862 int32_t rseqid
= 0;
11864 ::apache::thrift::protocol::TMessageType mtype
;
11866 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11867 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11868 ::apache::thrift::TApplicationException x
;
11870 iprot_
->readMessageEnd();
11871 iprot_
->getTransport()->readEnd();
11874 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11875 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11876 iprot_
->readMessageEnd();
11877 iprot_
->getTransport()->readEnd();
11879 if (fname
.compare("getRowWithColumns") != 0) {
11880 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11881 iprot_
->readMessageEnd();
11882 iprot_
->getTransport()->readEnd();
11884 Hbase_getRowWithColumns_presult result
;
11885 result
.success
= &_return
;
11886 result
.read(iprot_
);
11887 iprot_
->readMessageEnd();
11888 iprot_
->getTransport()->readEnd();
11890 if (result
.__isset
.success
) {
11891 // _return pointer has now been filled
11894 if (result
.__isset
.io
) {
11897 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowWithColumns failed: unknown result");
11900 void HbaseClient::getRowTs(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const Text
& row
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
11902 send_getRowTs(tableName
, row
, timestamp
, attributes
);
11903 recv_getRowTs(_return
);
11906 void HbaseClient::send_getRowTs(const Text
& tableName
, const Text
& row
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
11908 int32_t cseqid
= 0;
11909 oprot_
->writeMessageBegin("getRowTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
11911 Hbase_getRowTs_pargs args
;
11912 args
.tableName
= &tableName
;
11914 args
.timestamp
= ×tamp
;
11915 args
.attributes
= &attributes
;
11916 args
.write(oprot_
);
11918 oprot_
->writeMessageEnd();
11919 oprot_
->getTransport()->writeEnd();
11920 oprot_
->getTransport()->flush();
11923 void HbaseClient::recv_getRowTs(std::vector
<TRowResult
> & _return
)
11926 int32_t rseqid
= 0;
11928 ::apache::thrift::protocol::TMessageType mtype
;
11930 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11931 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11932 ::apache::thrift::TApplicationException x
;
11934 iprot_
->readMessageEnd();
11935 iprot_
->getTransport()->readEnd();
11938 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
11939 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11940 iprot_
->readMessageEnd();
11941 iprot_
->getTransport()->readEnd();
11943 if (fname
.compare("getRowTs") != 0) {
11944 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
11945 iprot_
->readMessageEnd();
11946 iprot_
->getTransport()->readEnd();
11948 Hbase_getRowTs_presult result
;
11949 result
.success
= &_return
;
11950 result
.read(iprot_
);
11951 iprot_
->readMessageEnd();
11952 iprot_
->getTransport()->readEnd();
11954 if (result
.__isset
.success
) {
11955 // _return pointer has now been filled
11958 if (result
.__isset
.io
) {
11961 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowTs failed: unknown result");
11964 void HbaseClient::getRowWithColumnsTs(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const Text
& row
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
11966 send_getRowWithColumnsTs(tableName
, row
, columns
, timestamp
, attributes
);
11967 recv_getRowWithColumnsTs(_return
);
11970 void HbaseClient::send_getRowWithColumnsTs(const Text
& tableName
, const Text
& row
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
11972 int32_t cseqid
= 0;
11973 oprot_
->writeMessageBegin("getRowWithColumnsTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
11975 Hbase_getRowWithColumnsTs_pargs args
;
11976 args
.tableName
= &tableName
;
11978 args
.columns
= &columns
;
11979 args
.timestamp
= ×tamp
;
11980 args
.attributes
= &attributes
;
11981 args
.write(oprot_
);
11983 oprot_
->writeMessageEnd();
11984 oprot_
->getTransport()->writeEnd();
11985 oprot_
->getTransport()->flush();
11988 void HbaseClient::recv_getRowWithColumnsTs(std::vector
<TRowResult
> & _return
)
11991 int32_t rseqid
= 0;
11993 ::apache::thrift::protocol::TMessageType mtype
;
11995 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
11996 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
11997 ::apache::thrift::TApplicationException x
;
11999 iprot_
->readMessageEnd();
12000 iprot_
->getTransport()->readEnd();
12003 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12004 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12005 iprot_
->readMessageEnd();
12006 iprot_
->getTransport()->readEnd();
12008 if (fname
.compare("getRowWithColumnsTs") != 0) {
12009 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12010 iprot_
->readMessageEnd();
12011 iprot_
->getTransport()->readEnd();
12013 Hbase_getRowWithColumnsTs_presult result
;
12014 result
.success
= &_return
;
12015 result
.read(iprot_
);
12016 iprot_
->readMessageEnd();
12017 iprot_
->getTransport()->readEnd();
12019 if (result
.__isset
.success
) {
12020 // _return pointer has now been filled
12023 if (result
.__isset
.io
) {
12026 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowWithColumnsTs failed: unknown result");
12029 void HbaseClient::getRows(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const std::vector
<Text
> & rows
, const std::map
<Text
, Text
> & attributes
)
12031 send_getRows(tableName
, rows
, attributes
);
12032 recv_getRows(_return
);
12035 void HbaseClient::send_getRows(const Text
& tableName
, const std::vector
<Text
> & rows
, const std::map
<Text
, Text
> & attributes
)
12037 int32_t cseqid
= 0;
12038 oprot_
->writeMessageBegin("getRows", ::apache::thrift::protocol::T_CALL
, cseqid
);
12040 Hbase_getRows_pargs args
;
12041 args
.tableName
= &tableName
;
12043 args
.attributes
= &attributes
;
12044 args
.write(oprot_
);
12046 oprot_
->writeMessageEnd();
12047 oprot_
->getTransport()->writeEnd();
12048 oprot_
->getTransport()->flush();
12051 void HbaseClient::recv_getRows(std::vector
<TRowResult
> & _return
)
12054 int32_t rseqid
= 0;
12056 ::apache::thrift::protocol::TMessageType mtype
;
12058 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12059 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12060 ::apache::thrift::TApplicationException x
;
12062 iprot_
->readMessageEnd();
12063 iprot_
->getTransport()->readEnd();
12066 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12067 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12068 iprot_
->readMessageEnd();
12069 iprot_
->getTransport()->readEnd();
12071 if (fname
.compare("getRows") != 0) {
12072 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12073 iprot_
->readMessageEnd();
12074 iprot_
->getTransport()->readEnd();
12076 Hbase_getRows_presult result
;
12077 result
.success
= &_return
;
12078 result
.read(iprot_
);
12079 iprot_
->readMessageEnd();
12080 iprot_
->getTransport()->readEnd();
12082 if (result
.__isset
.success
) {
12083 // _return pointer has now been filled
12086 if (result
.__isset
.io
) {
12089 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRows failed: unknown result");
12092 void HbaseClient::getRowsWithColumns(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const std::vector
<Text
> & rows
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
12094 send_getRowsWithColumns(tableName
, rows
, columns
, attributes
);
12095 recv_getRowsWithColumns(_return
);
12098 void HbaseClient::send_getRowsWithColumns(const Text
& tableName
, const std::vector
<Text
> & rows
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
12100 int32_t cseqid
= 0;
12101 oprot_
->writeMessageBegin("getRowsWithColumns", ::apache::thrift::protocol::T_CALL
, cseqid
);
12103 Hbase_getRowsWithColumns_pargs args
;
12104 args
.tableName
= &tableName
;
12106 args
.columns
= &columns
;
12107 args
.attributes
= &attributes
;
12108 args
.write(oprot_
);
12110 oprot_
->writeMessageEnd();
12111 oprot_
->getTransport()->writeEnd();
12112 oprot_
->getTransport()->flush();
12115 void HbaseClient::recv_getRowsWithColumns(std::vector
<TRowResult
> & _return
)
12118 int32_t rseqid
= 0;
12120 ::apache::thrift::protocol::TMessageType mtype
;
12122 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12123 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12124 ::apache::thrift::TApplicationException x
;
12126 iprot_
->readMessageEnd();
12127 iprot_
->getTransport()->readEnd();
12130 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12131 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12132 iprot_
->readMessageEnd();
12133 iprot_
->getTransport()->readEnd();
12135 if (fname
.compare("getRowsWithColumns") != 0) {
12136 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12137 iprot_
->readMessageEnd();
12138 iprot_
->getTransport()->readEnd();
12140 Hbase_getRowsWithColumns_presult result
;
12141 result
.success
= &_return
;
12142 result
.read(iprot_
);
12143 iprot_
->readMessageEnd();
12144 iprot_
->getTransport()->readEnd();
12146 if (result
.__isset
.success
) {
12147 // _return pointer has now been filled
12150 if (result
.__isset
.io
) {
12153 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowsWithColumns failed: unknown result");
12156 void HbaseClient::getRowsTs(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const std::vector
<Text
> & rows
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12158 send_getRowsTs(tableName
, rows
, timestamp
, attributes
);
12159 recv_getRowsTs(_return
);
12162 void HbaseClient::send_getRowsTs(const Text
& tableName
, const std::vector
<Text
> & rows
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12164 int32_t cseqid
= 0;
12165 oprot_
->writeMessageBegin("getRowsTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
12167 Hbase_getRowsTs_pargs args
;
12168 args
.tableName
= &tableName
;
12170 args
.timestamp
= ×tamp
;
12171 args
.attributes
= &attributes
;
12172 args
.write(oprot_
);
12174 oprot_
->writeMessageEnd();
12175 oprot_
->getTransport()->writeEnd();
12176 oprot_
->getTransport()->flush();
12179 void HbaseClient::recv_getRowsTs(std::vector
<TRowResult
> & _return
)
12182 int32_t rseqid
= 0;
12184 ::apache::thrift::protocol::TMessageType mtype
;
12186 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12187 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12188 ::apache::thrift::TApplicationException x
;
12190 iprot_
->readMessageEnd();
12191 iprot_
->getTransport()->readEnd();
12194 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12195 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12196 iprot_
->readMessageEnd();
12197 iprot_
->getTransport()->readEnd();
12199 if (fname
.compare("getRowsTs") != 0) {
12200 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12201 iprot_
->readMessageEnd();
12202 iprot_
->getTransport()->readEnd();
12204 Hbase_getRowsTs_presult result
;
12205 result
.success
= &_return
;
12206 result
.read(iprot_
);
12207 iprot_
->readMessageEnd();
12208 iprot_
->getTransport()->readEnd();
12210 if (result
.__isset
.success
) {
12211 // _return pointer has now been filled
12214 if (result
.__isset
.io
) {
12217 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowsTs failed: unknown result");
12220 void HbaseClient::getRowsWithColumnsTs(std::vector
<TRowResult
> & _return
, const Text
& tableName
, const std::vector
<Text
> & rows
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12222 send_getRowsWithColumnsTs(tableName
, rows
, columns
, timestamp
, attributes
);
12223 recv_getRowsWithColumnsTs(_return
);
12226 void HbaseClient::send_getRowsWithColumnsTs(const Text
& tableName
, const std::vector
<Text
> & rows
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12228 int32_t cseqid
= 0;
12229 oprot_
->writeMessageBegin("getRowsWithColumnsTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
12231 Hbase_getRowsWithColumnsTs_pargs args
;
12232 args
.tableName
= &tableName
;
12234 args
.columns
= &columns
;
12235 args
.timestamp
= ×tamp
;
12236 args
.attributes
= &attributes
;
12237 args
.write(oprot_
);
12239 oprot_
->writeMessageEnd();
12240 oprot_
->getTransport()->writeEnd();
12241 oprot_
->getTransport()->flush();
12244 void HbaseClient::recv_getRowsWithColumnsTs(std::vector
<TRowResult
> & _return
)
12247 int32_t rseqid
= 0;
12249 ::apache::thrift::protocol::TMessageType mtype
;
12251 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12252 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12253 ::apache::thrift::TApplicationException x
;
12255 iprot_
->readMessageEnd();
12256 iprot_
->getTransport()->readEnd();
12259 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12260 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12261 iprot_
->readMessageEnd();
12262 iprot_
->getTransport()->readEnd();
12264 if (fname
.compare("getRowsWithColumnsTs") != 0) {
12265 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12266 iprot_
->readMessageEnd();
12267 iprot_
->getTransport()->readEnd();
12269 Hbase_getRowsWithColumnsTs_presult result
;
12270 result
.success
= &_return
;
12271 result
.read(iprot_
);
12272 iprot_
->readMessageEnd();
12273 iprot_
->getTransport()->readEnd();
12275 if (result
.__isset
.success
) {
12276 // _return pointer has now been filled
12279 if (result
.__isset
.io
) {
12282 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowsWithColumnsTs failed: unknown result");
12285 void HbaseClient::mutateRow(const Text
& tableName
, const Text
& row
, const std::vector
<Mutation
> & mutations
, const std::map
<Text
, Text
> & attributes
)
12287 send_mutateRow(tableName
, row
, mutations
, attributes
);
12291 void HbaseClient::send_mutateRow(const Text
& tableName
, const Text
& row
, const std::vector
<Mutation
> & mutations
, const std::map
<Text
, Text
> & attributes
)
12293 int32_t cseqid
= 0;
12294 oprot_
->writeMessageBegin("mutateRow", ::apache::thrift::protocol::T_CALL
, cseqid
);
12296 Hbase_mutateRow_pargs args
;
12297 args
.tableName
= &tableName
;
12299 args
.mutations
= &mutations
;
12300 args
.attributes
= &attributes
;
12301 args
.write(oprot_
);
12303 oprot_
->writeMessageEnd();
12304 oprot_
->getTransport()->writeEnd();
12305 oprot_
->getTransport()->flush();
12308 void HbaseClient::recv_mutateRow()
12311 int32_t rseqid
= 0;
12313 ::apache::thrift::protocol::TMessageType mtype
;
12315 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12316 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12317 ::apache::thrift::TApplicationException x
;
12319 iprot_
->readMessageEnd();
12320 iprot_
->getTransport()->readEnd();
12323 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12324 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12325 iprot_
->readMessageEnd();
12326 iprot_
->getTransport()->readEnd();
12328 if (fname
.compare("mutateRow") != 0) {
12329 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12330 iprot_
->readMessageEnd();
12331 iprot_
->getTransport()->readEnd();
12333 Hbase_mutateRow_presult result
;
12334 result
.read(iprot_
);
12335 iprot_
->readMessageEnd();
12336 iprot_
->getTransport()->readEnd();
12338 if (result
.__isset
.io
) {
12341 if (result
.__isset
.ia
) {
12347 void HbaseClient::mutateRowTs(const Text
& tableName
, const Text
& row
, const std::vector
<Mutation
> & mutations
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12349 send_mutateRowTs(tableName
, row
, mutations
, timestamp
, attributes
);
12350 recv_mutateRowTs();
12353 void HbaseClient::send_mutateRowTs(const Text
& tableName
, const Text
& row
, const std::vector
<Mutation
> & mutations
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12355 int32_t cseqid
= 0;
12356 oprot_
->writeMessageBegin("mutateRowTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
12358 Hbase_mutateRowTs_pargs args
;
12359 args
.tableName
= &tableName
;
12361 args
.mutations
= &mutations
;
12362 args
.timestamp
= ×tamp
;
12363 args
.attributes
= &attributes
;
12364 args
.write(oprot_
);
12366 oprot_
->writeMessageEnd();
12367 oprot_
->getTransport()->writeEnd();
12368 oprot_
->getTransport()->flush();
12371 void HbaseClient::recv_mutateRowTs()
12374 int32_t rseqid
= 0;
12376 ::apache::thrift::protocol::TMessageType mtype
;
12378 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12379 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12380 ::apache::thrift::TApplicationException x
;
12382 iprot_
->readMessageEnd();
12383 iprot_
->getTransport()->readEnd();
12386 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12387 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12388 iprot_
->readMessageEnd();
12389 iprot_
->getTransport()->readEnd();
12391 if (fname
.compare("mutateRowTs") != 0) {
12392 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12393 iprot_
->readMessageEnd();
12394 iprot_
->getTransport()->readEnd();
12396 Hbase_mutateRowTs_presult result
;
12397 result
.read(iprot_
);
12398 iprot_
->readMessageEnd();
12399 iprot_
->getTransport()->readEnd();
12401 if (result
.__isset
.io
) {
12404 if (result
.__isset
.ia
) {
12410 void HbaseClient::mutateRows(const Text
& tableName
, const std::vector
<BatchMutation
> & rowBatches
, const std::map
<Text
, Text
> & attributes
)
12412 send_mutateRows(tableName
, rowBatches
, attributes
);
12416 void HbaseClient::send_mutateRows(const Text
& tableName
, const std::vector
<BatchMutation
> & rowBatches
, const std::map
<Text
, Text
> & attributes
)
12418 int32_t cseqid
= 0;
12419 oprot_
->writeMessageBegin("mutateRows", ::apache::thrift::protocol::T_CALL
, cseqid
);
12421 Hbase_mutateRows_pargs args
;
12422 args
.tableName
= &tableName
;
12423 args
.rowBatches
= &rowBatches
;
12424 args
.attributes
= &attributes
;
12425 args
.write(oprot_
);
12427 oprot_
->writeMessageEnd();
12428 oprot_
->getTransport()->writeEnd();
12429 oprot_
->getTransport()->flush();
12432 void HbaseClient::recv_mutateRows()
12435 int32_t rseqid
= 0;
12437 ::apache::thrift::protocol::TMessageType mtype
;
12439 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12440 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12441 ::apache::thrift::TApplicationException x
;
12443 iprot_
->readMessageEnd();
12444 iprot_
->getTransport()->readEnd();
12447 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12448 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12449 iprot_
->readMessageEnd();
12450 iprot_
->getTransport()->readEnd();
12452 if (fname
.compare("mutateRows") != 0) {
12453 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12454 iprot_
->readMessageEnd();
12455 iprot_
->getTransport()->readEnd();
12457 Hbase_mutateRows_presult result
;
12458 result
.read(iprot_
);
12459 iprot_
->readMessageEnd();
12460 iprot_
->getTransport()->readEnd();
12462 if (result
.__isset
.io
) {
12465 if (result
.__isset
.ia
) {
12471 void HbaseClient::mutateRowsTs(const Text
& tableName
, const std::vector
<BatchMutation
> & rowBatches
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12473 send_mutateRowsTs(tableName
, rowBatches
, timestamp
, attributes
);
12474 recv_mutateRowsTs();
12477 void HbaseClient::send_mutateRowsTs(const Text
& tableName
, const std::vector
<BatchMutation
> & rowBatches
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12479 int32_t cseqid
= 0;
12480 oprot_
->writeMessageBegin("mutateRowsTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
12482 Hbase_mutateRowsTs_pargs args
;
12483 args
.tableName
= &tableName
;
12484 args
.rowBatches
= &rowBatches
;
12485 args
.timestamp
= ×tamp
;
12486 args
.attributes
= &attributes
;
12487 args
.write(oprot_
);
12489 oprot_
->writeMessageEnd();
12490 oprot_
->getTransport()->writeEnd();
12491 oprot_
->getTransport()->flush();
12494 void HbaseClient::recv_mutateRowsTs()
12497 int32_t rseqid
= 0;
12499 ::apache::thrift::protocol::TMessageType mtype
;
12501 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12502 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12503 ::apache::thrift::TApplicationException x
;
12505 iprot_
->readMessageEnd();
12506 iprot_
->getTransport()->readEnd();
12509 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12510 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12511 iprot_
->readMessageEnd();
12512 iprot_
->getTransport()->readEnd();
12514 if (fname
.compare("mutateRowsTs") != 0) {
12515 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12516 iprot_
->readMessageEnd();
12517 iprot_
->getTransport()->readEnd();
12519 Hbase_mutateRowsTs_presult result
;
12520 result
.read(iprot_
);
12521 iprot_
->readMessageEnd();
12522 iprot_
->getTransport()->readEnd();
12524 if (result
.__isset
.io
) {
12527 if (result
.__isset
.ia
) {
12533 int64_t HbaseClient::atomicIncrement(const Text
& tableName
, const Text
& row
, const Text
& column
, const int64_t value
)
12535 send_atomicIncrement(tableName
, row
, column
, value
);
12536 return recv_atomicIncrement();
12539 void HbaseClient::send_atomicIncrement(const Text
& tableName
, const Text
& row
, const Text
& column
, const int64_t value
)
12541 int32_t cseqid
= 0;
12542 oprot_
->writeMessageBegin("atomicIncrement", ::apache::thrift::protocol::T_CALL
, cseqid
);
12544 Hbase_atomicIncrement_pargs args
;
12545 args
.tableName
= &tableName
;
12547 args
.column
= &column
;
12548 args
.value
= &value
;
12549 args
.write(oprot_
);
12551 oprot_
->writeMessageEnd();
12552 oprot_
->getTransport()->writeEnd();
12553 oprot_
->getTransport()->flush();
12556 int64_t HbaseClient::recv_atomicIncrement()
12559 int32_t rseqid
= 0;
12561 ::apache::thrift::protocol::TMessageType mtype
;
12563 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12564 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12565 ::apache::thrift::TApplicationException x
;
12567 iprot_
->readMessageEnd();
12568 iprot_
->getTransport()->readEnd();
12571 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12572 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12573 iprot_
->readMessageEnd();
12574 iprot_
->getTransport()->readEnd();
12576 if (fname
.compare("atomicIncrement") != 0) {
12577 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12578 iprot_
->readMessageEnd();
12579 iprot_
->getTransport()->readEnd();
12582 Hbase_atomicIncrement_presult result
;
12583 result
.success
= &_return
;
12584 result
.read(iprot_
);
12585 iprot_
->readMessageEnd();
12586 iprot_
->getTransport()->readEnd();
12588 if (result
.__isset
.success
) {
12591 if (result
.__isset
.io
) {
12594 if (result
.__isset
.ia
) {
12597 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "atomicIncrement failed: unknown result");
12600 void HbaseClient::deleteAll(const Text
& tableName
, const Text
& row
, const Text
& column
, const std::map
<Text
, Text
> & attributes
)
12602 send_deleteAll(tableName
, row
, column
, attributes
);
12606 void HbaseClient::send_deleteAll(const Text
& tableName
, const Text
& row
, const Text
& column
, const std::map
<Text
, Text
> & attributes
)
12608 int32_t cseqid
= 0;
12609 oprot_
->writeMessageBegin("deleteAll", ::apache::thrift::protocol::T_CALL
, cseqid
);
12611 Hbase_deleteAll_pargs args
;
12612 args
.tableName
= &tableName
;
12614 args
.column
= &column
;
12615 args
.attributes
= &attributes
;
12616 args
.write(oprot_
);
12618 oprot_
->writeMessageEnd();
12619 oprot_
->getTransport()->writeEnd();
12620 oprot_
->getTransport()->flush();
12623 void HbaseClient::recv_deleteAll()
12626 int32_t rseqid
= 0;
12628 ::apache::thrift::protocol::TMessageType mtype
;
12630 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12631 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12632 ::apache::thrift::TApplicationException x
;
12634 iprot_
->readMessageEnd();
12635 iprot_
->getTransport()->readEnd();
12638 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12639 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12640 iprot_
->readMessageEnd();
12641 iprot_
->getTransport()->readEnd();
12643 if (fname
.compare("deleteAll") != 0) {
12644 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12645 iprot_
->readMessageEnd();
12646 iprot_
->getTransport()->readEnd();
12648 Hbase_deleteAll_presult result
;
12649 result
.read(iprot_
);
12650 iprot_
->readMessageEnd();
12651 iprot_
->getTransport()->readEnd();
12653 if (result
.__isset
.io
) {
12659 void HbaseClient::deleteAllTs(const Text
& tableName
, const Text
& row
, const Text
& column
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12661 send_deleteAllTs(tableName
, row
, column
, timestamp
, attributes
);
12662 recv_deleteAllTs();
12665 void HbaseClient::send_deleteAllTs(const Text
& tableName
, const Text
& row
, const Text
& column
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12667 int32_t cseqid
= 0;
12668 oprot_
->writeMessageBegin("deleteAllTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
12670 Hbase_deleteAllTs_pargs args
;
12671 args
.tableName
= &tableName
;
12673 args
.column
= &column
;
12674 args
.timestamp
= ×tamp
;
12675 args
.attributes
= &attributes
;
12676 args
.write(oprot_
);
12678 oprot_
->writeMessageEnd();
12679 oprot_
->getTransport()->writeEnd();
12680 oprot_
->getTransport()->flush();
12683 void HbaseClient::recv_deleteAllTs()
12686 int32_t rseqid
= 0;
12688 ::apache::thrift::protocol::TMessageType mtype
;
12690 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12691 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12692 ::apache::thrift::TApplicationException x
;
12694 iprot_
->readMessageEnd();
12695 iprot_
->getTransport()->readEnd();
12698 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12699 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12700 iprot_
->readMessageEnd();
12701 iprot_
->getTransport()->readEnd();
12703 if (fname
.compare("deleteAllTs") != 0) {
12704 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12705 iprot_
->readMessageEnd();
12706 iprot_
->getTransport()->readEnd();
12708 Hbase_deleteAllTs_presult result
;
12709 result
.read(iprot_
);
12710 iprot_
->readMessageEnd();
12711 iprot_
->getTransport()->readEnd();
12713 if (result
.__isset
.io
) {
12719 void HbaseClient::deleteAllRow(const Text
& tableName
, const Text
& row
, const std::map
<Text
, Text
> & attributes
)
12721 send_deleteAllRow(tableName
, row
, attributes
);
12722 recv_deleteAllRow();
12725 void HbaseClient::send_deleteAllRow(const Text
& tableName
, const Text
& row
, const std::map
<Text
, Text
> & attributes
)
12727 int32_t cseqid
= 0;
12728 oprot_
->writeMessageBegin("deleteAllRow", ::apache::thrift::protocol::T_CALL
, cseqid
);
12730 Hbase_deleteAllRow_pargs args
;
12731 args
.tableName
= &tableName
;
12733 args
.attributes
= &attributes
;
12734 args
.write(oprot_
);
12736 oprot_
->writeMessageEnd();
12737 oprot_
->getTransport()->writeEnd();
12738 oprot_
->getTransport()->flush();
12741 void HbaseClient::recv_deleteAllRow()
12744 int32_t rseqid
= 0;
12746 ::apache::thrift::protocol::TMessageType mtype
;
12748 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12749 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12750 ::apache::thrift::TApplicationException x
;
12752 iprot_
->readMessageEnd();
12753 iprot_
->getTransport()->readEnd();
12756 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12757 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12758 iprot_
->readMessageEnd();
12759 iprot_
->getTransport()->readEnd();
12761 if (fname
.compare("deleteAllRow") != 0) {
12762 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12763 iprot_
->readMessageEnd();
12764 iprot_
->getTransport()->readEnd();
12766 Hbase_deleteAllRow_presult result
;
12767 result
.read(iprot_
);
12768 iprot_
->readMessageEnd();
12769 iprot_
->getTransport()->readEnd();
12771 if (result
.__isset
.io
) {
12777 void HbaseClient::increment(const TIncrement
& increment
)
12779 send_increment(increment
);
12783 void HbaseClient::send_increment(const TIncrement
& increment
)
12785 int32_t cseqid
= 0;
12786 oprot_
->writeMessageBegin("increment", ::apache::thrift::protocol::T_CALL
, cseqid
);
12788 Hbase_increment_pargs args
;
12789 args
.increment
= &increment
;
12790 args
.write(oprot_
);
12792 oprot_
->writeMessageEnd();
12793 oprot_
->getTransport()->writeEnd();
12794 oprot_
->getTransport()->flush();
12797 void HbaseClient::recv_increment()
12800 int32_t rseqid
= 0;
12802 ::apache::thrift::protocol::TMessageType mtype
;
12804 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12805 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12806 ::apache::thrift::TApplicationException x
;
12808 iprot_
->readMessageEnd();
12809 iprot_
->getTransport()->readEnd();
12812 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12813 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12814 iprot_
->readMessageEnd();
12815 iprot_
->getTransport()->readEnd();
12817 if (fname
.compare("increment") != 0) {
12818 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12819 iprot_
->readMessageEnd();
12820 iprot_
->getTransport()->readEnd();
12822 Hbase_increment_presult result
;
12823 result
.read(iprot_
);
12824 iprot_
->readMessageEnd();
12825 iprot_
->getTransport()->readEnd();
12827 if (result
.__isset
.io
) {
12833 void HbaseClient::incrementRows(const std::vector
<TIncrement
> & increments
)
12835 send_incrementRows(increments
);
12836 recv_incrementRows();
12839 void HbaseClient::send_incrementRows(const std::vector
<TIncrement
> & increments
)
12841 int32_t cseqid
= 0;
12842 oprot_
->writeMessageBegin("incrementRows", ::apache::thrift::protocol::T_CALL
, cseqid
);
12844 Hbase_incrementRows_pargs args
;
12845 args
.increments
= &increments
;
12846 args
.write(oprot_
);
12848 oprot_
->writeMessageEnd();
12849 oprot_
->getTransport()->writeEnd();
12850 oprot_
->getTransport()->flush();
12853 void HbaseClient::recv_incrementRows()
12856 int32_t rseqid
= 0;
12858 ::apache::thrift::protocol::TMessageType mtype
;
12860 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12861 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12862 ::apache::thrift::TApplicationException x
;
12864 iprot_
->readMessageEnd();
12865 iprot_
->getTransport()->readEnd();
12868 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12869 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12870 iprot_
->readMessageEnd();
12871 iprot_
->getTransport()->readEnd();
12873 if (fname
.compare("incrementRows") != 0) {
12874 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12875 iprot_
->readMessageEnd();
12876 iprot_
->getTransport()->readEnd();
12878 Hbase_incrementRows_presult result
;
12879 result
.read(iprot_
);
12880 iprot_
->readMessageEnd();
12881 iprot_
->getTransport()->readEnd();
12883 if (result
.__isset
.io
) {
12889 void HbaseClient::deleteAllRowTs(const Text
& tableName
, const Text
& row
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12891 send_deleteAllRowTs(tableName
, row
, timestamp
, attributes
);
12892 recv_deleteAllRowTs();
12895 void HbaseClient::send_deleteAllRowTs(const Text
& tableName
, const Text
& row
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
12897 int32_t cseqid
= 0;
12898 oprot_
->writeMessageBegin("deleteAllRowTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
12900 Hbase_deleteAllRowTs_pargs args
;
12901 args
.tableName
= &tableName
;
12903 args
.timestamp
= ×tamp
;
12904 args
.attributes
= &attributes
;
12905 args
.write(oprot_
);
12907 oprot_
->writeMessageEnd();
12908 oprot_
->getTransport()->writeEnd();
12909 oprot_
->getTransport()->flush();
12912 void HbaseClient::recv_deleteAllRowTs()
12915 int32_t rseqid
= 0;
12917 ::apache::thrift::protocol::TMessageType mtype
;
12919 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12920 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12921 ::apache::thrift::TApplicationException x
;
12923 iprot_
->readMessageEnd();
12924 iprot_
->getTransport()->readEnd();
12927 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12928 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12929 iprot_
->readMessageEnd();
12930 iprot_
->getTransport()->readEnd();
12932 if (fname
.compare("deleteAllRowTs") != 0) {
12933 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12934 iprot_
->readMessageEnd();
12935 iprot_
->getTransport()->readEnd();
12937 Hbase_deleteAllRowTs_presult result
;
12938 result
.read(iprot_
);
12939 iprot_
->readMessageEnd();
12940 iprot_
->getTransport()->readEnd();
12942 if (result
.__isset
.io
) {
12948 ScannerID
HbaseClient::scannerOpenWithScan(const Text
& tableName
, const TScan
& scan
, const std::map
<Text
, Text
> & attributes
)
12950 send_scannerOpenWithScan(tableName
, scan
, attributes
);
12951 return recv_scannerOpenWithScan();
12954 void HbaseClient::send_scannerOpenWithScan(const Text
& tableName
, const TScan
& scan
, const std::map
<Text
, Text
> & attributes
)
12956 int32_t cseqid
= 0;
12957 oprot_
->writeMessageBegin("scannerOpenWithScan", ::apache::thrift::protocol::T_CALL
, cseqid
);
12959 Hbase_scannerOpenWithScan_pargs args
;
12960 args
.tableName
= &tableName
;
12962 args
.attributes
= &attributes
;
12963 args
.write(oprot_
);
12965 oprot_
->writeMessageEnd();
12966 oprot_
->getTransport()->writeEnd();
12967 oprot_
->getTransport()->flush();
12970 ScannerID
HbaseClient::recv_scannerOpenWithScan()
12973 int32_t rseqid
= 0;
12975 ::apache::thrift::protocol::TMessageType mtype
;
12977 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
12978 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
12979 ::apache::thrift::TApplicationException x
;
12981 iprot_
->readMessageEnd();
12982 iprot_
->getTransport()->readEnd();
12985 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
12986 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12987 iprot_
->readMessageEnd();
12988 iprot_
->getTransport()->readEnd();
12990 if (fname
.compare("scannerOpenWithScan") != 0) {
12991 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
12992 iprot_
->readMessageEnd();
12993 iprot_
->getTransport()->readEnd();
12996 Hbase_scannerOpenWithScan_presult result
;
12997 result
.success
= &_return
;
12998 result
.read(iprot_
);
12999 iprot_
->readMessageEnd();
13000 iprot_
->getTransport()->readEnd();
13002 if (result
.__isset
.success
) {
13005 if (result
.__isset
.io
) {
13008 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerOpenWithScan failed: unknown result");
13011 ScannerID
HbaseClient::scannerOpen(const Text
& tableName
, const Text
& startRow
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
13013 send_scannerOpen(tableName
, startRow
, columns
, attributes
);
13014 return recv_scannerOpen();
13017 void HbaseClient::send_scannerOpen(const Text
& tableName
, const Text
& startRow
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
13019 int32_t cseqid
= 0;
13020 oprot_
->writeMessageBegin("scannerOpen", ::apache::thrift::protocol::T_CALL
, cseqid
);
13022 Hbase_scannerOpen_pargs args
;
13023 args
.tableName
= &tableName
;
13024 args
.startRow
= &startRow
;
13025 args
.columns
= &columns
;
13026 args
.attributes
= &attributes
;
13027 args
.write(oprot_
);
13029 oprot_
->writeMessageEnd();
13030 oprot_
->getTransport()->writeEnd();
13031 oprot_
->getTransport()->flush();
13034 ScannerID
HbaseClient::recv_scannerOpen()
13037 int32_t rseqid
= 0;
13039 ::apache::thrift::protocol::TMessageType mtype
;
13041 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13042 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13043 ::apache::thrift::TApplicationException x
;
13045 iprot_
->readMessageEnd();
13046 iprot_
->getTransport()->readEnd();
13049 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13050 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13051 iprot_
->readMessageEnd();
13052 iprot_
->getTransport()->readEnd();
13054 if (fname
.compare("scannerOpen") != 0) {
13055 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13056 iprot_
->readMessageEnd();
13057 iprot_
->getTransport()->readEnd();
13060 Hbase_scannerOpen_presult result
;
13061 result
.success
= &_return
;
13062 result
.read(iprot_
);
13063 iprot_
->readMessageEnd();
13064 iprot_
->getTransport()->readEnd();
13066 if (result
.__isset
.success
) {
13069 if (result
.__isset
.io
) {
13072 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerOpen failed: unknown result");
13075 ScannerID
HbaseClient::scannerOpenWithStop(const Text
& tableName
, const Text
& startRow
, const Text
& stopRow
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
13077 send_scannerOpenWithStop(tableName
, startRow
, stopRow
, columns
, attributes
);
13078 return recv_scannerOpenWithStop();
13081 void HbaseClient::send_scannerOpenWithStop(const Text
& tableName
, const Text
& startRow
, const Text
& stopRow
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
13083 int32_t cseqid
= 0;
13084 oprot_
->writeMessageBegin("scannerOpenWithStop", ::apache::thrift::protocol::T_CALL
, cseqid
);
13086 Hbase_scannerOpenWithStop_pargs args
;
13087 args
.tableName
= &tableName
;
13088 args
.startRow
= &startRow
;
13089 args
.stopRow
= &stopRow
;
13090 args
.columns
= &columns
;
13091 args
.attributes
= &attributes
;
13092 args
.write(oprot_
);
13094 oprot_
->writeMessageEnd();
13095 oprot_
->getTransport()->writeEnd();
13096 oprot_
->getTransport()->flush();
13099 ScannerID
HbaseClient::recv_scannerOpenWithStop()
13102 int32_t rseqid
= 0;
13104 ::apache::thrift::protocol::TMessageType mtype
;
13106 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13107 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13108 ::apache::thrift::TApplicationException x
;
13110 iprot_
->readMessageEnd();
13111 iprot_
->getTransport()->readEnd();
13114 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13115 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13116 iprot_
->readMessageEnd();
13117 iprot_
->getTransport()->readEnd();
13119 if (fname
.compare("scannerOpenWithStop") != 0) {
13120 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13121 iprot_
->readMessageEnd();
13122 iprot_
->getTransport()->readEnd();
13125 Hbase_scannerOpenWithStop_presult result
;
13126 result
.success
= &_return
;
13127 result
.read(iprot_
);
13128 iprot_
->readMessageEnd();
13129 iprot_
->getTransport()->readEnd();
13131 if (result
.__isset
.success
) {
13134 if (result
.__isset
.io
) {
13137 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerOpenWithStop failed: unknown result");
13140 ScannerID
HbaseClient::scannerOpenWithPrefix(const Text
& tableName
, const Text
& startAndPrefix
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
13142 send_scannerOpenWithPrefix(tableName
, startAndPrefix
, columns
, attributes
);
13143 return recv_scannerOpenWithPrefix();
13146 void HbaseClient::send_scannerOpenWithPrefix(const Text
& tableName
, const Text
& startAndPrefix
, const std::vector
<Text
> & columns
, const std::map
<Text
, Text
> & attributes
)
13148 int32_t cseqid
= 0;
13149 oprot_
->writeMessageBegin("scannerOpenWithPrefix", ::apache::thrift::protocol::T_CALL
, cseqid
);
13151 Hbase_scannerOpenWithPrefix_pargs args
;
13152 args
.tableName
= &tableName
;
13153 args
.startAndPrefix
= &startAndPrefix
;
13154 args
.columns
= &columns
;
13155 args
.attributes
= &attributes
;
13156 args
.write(oprot_
);
13158 oprot_
->writeMessageEnd();
13159 oprot_
->getTransport()->writeEnd();
13160 oprot_
->getTransport()->flush();
13163 ScannerID
HbaseClient::recv_scannerOpenWithPrefix()
13166 int32_t rseqid
= 0;
13168 ::apache::thrift::protocol::TMessageType mtype
;
13170 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13171 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13172 ::apache::thrift::TApplicationException x
;
13174 iprot_
->readMessageEnd();
13175 iprot_
->getTransport()->readEnd();
13178 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13179 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13180 iprot_
->readMessageEnd();
13181 iprot_
->getTransport()->readEnd();
13183 if (fname
.compare("scannerOpenWithPrefix") != 0) {
13184 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13185 iprot_
->readMessageEnd();
13186 iprot_
->getTransport()->readEnd();
13189 Hbase_scannerOpenWithPrefix_presult result
;
13190 result
.success
= &_return
;
13191 result
.read(iprot_
);
13192 iprot_
->readMessageEnd();
13193 iprot_
->getTransport()->readEnd();
13195 if (result
.__isset
.success
) {
13198 if (result
.__isset
.io
) {
13201 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerOpenWithPrefix failed: unknown result");
13204 ScannerID
HbaseClient::scannerOpenTs(const Text
& tableName
, const Text
& startRow
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
13206 send_scannerOpenTs(tableName
, startRow
, columns
, timestamp
, attributes
);
13207 return recv_scannerOpenTs();
13210 void HbaseClient::send_scannerOpenTs(const Text
& tableName
, const Text
& startRow
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
13212 int32_t cseqid
= 0;
13213 oprot_
->writeMessageBegin("scannerOpenTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
13215 Hbase_scannerOpenTs_pargs args
;
13216 args
.tableName
= &tableName
;
13217 args
.startRow
= &startRow
;
13218 args
.columns
= &columns
;
13219 args
.timestamp
= ×tamp
;
13220 args
.attributes
= &attributes
;
13221 args
.write(oprot_
);
13223 oprot_
->writeMessageEnd();
13224 oprot_
->getTransport()->writeEnd();
13225 oprot_
->getTransport()->flush();
13228 ScannerID
HbaseClient::recv_scannerOpenTs()
13231 int32_t rseqid
= 0;
13233 ::apache::thrift::protocol::TMessageType mtype
;
13235 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13236 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13237 ::apache::thrift::TApplicationException x
;
13239 iprot_
->readMessageEnd();
13240 iprot_
->getTransport()->readEnd();
13243 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13244 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13245 iprot_
->readMessageEnd();
13246 iprot_
->getTransport()->readEnd();
13248 if (fname
.compare("scannerOpenTs") != 0) {
13249 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13250 iprot_
->readMessageEnd();
13251 iprot_
->getTransport()->readEnd();
13254 Hbase_scannerOpenTs_presult result
;
13255 result
.success
= &_return
;
13256 result
.read(iprot_
);
13257 iprot_
->readMessageEnd();
13258 iprot_
->getTransport()->readEnd();
13260 if (result
.__isset
.success
) {
13263 if (result
.__isset
.io
) {
13266 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerOpenTs failed: unknown result");
13269 ScannerID
HbaseClient::scannerOpenWithStopTs(const Text
& tableName
, const Text
& startRow
, const Text
& stopRow
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
13271 send_scannerOpenWithStopTs(tableName
, startRow
, stopRow
, columns
, timestamp
, attributes
);
13272 return recv_scannerOpenWithStopTs();
13275 void HbaseClient::send_scannerOpenWithStopTs(const Text
& tableName
, const Text
& startRow
, const Text
& stopRow
, const std::vector
<Text
> & columns
, const int64_t timestamp
, const std::map
<Text
, Text
> & attributes
)
13277 int32_t cseqid
= 0;
13278 oprot_
->writeMessageBegin("scannerOpenWithStopTs", ::apache::thrift::protocol::T_CALL
, cseqid
);
13280 Hbase_scannerOpenWithStopTs_pargs args
;
13281 args
.tableName
= &tableName
;
13282 args
.startRow
= &startRow
;
13283 args
.stopRow
= &stopRow
;
13284 args
.columns
= &columns
;
13285 args
.timestamp
= ×tamp
;
13286 args
.attributes
= &attributes
;
13287 args
.write(oprot_
);
13289 oprot_
->writeMessageEnd();
13290 oprot_
->getTransport()->writeEnd();
13291 oprot_
->getTransport()->flush();
13294 ScannerID
HbaseClient::recv_scannerOpenWithStopTs()
13297 int32_t rseqid
= 0;
13299 ::apache::thrift::protocol::TMessageType mtype
;
13301 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13302 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13303 ::apache::thrift::TApplicationException x
;
13305 iprot_
->readMessageEnd();
13306 iprot_
->getTransport()->readEnd();
13309 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13310 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13311 iprot_
->readMessageEnd();
13312 iprot_
->getTransport()->readEnd();
13314 if (fname
.compare("scannerOpenWithStopTs") != 0) {
13315 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13316 iprot_
->readMessageEnd();
13317 iprot_
->getTransport()->readEnd();
13320 Hbase_scannerOpenWithStopTs_presult result
;
13321 result
.success
= &_return
;
13322 result
.read(iprot_
);
13323 iprot_
->readMessageEnd();
13324 iprot_
->getTransport()->readEnd();
13326 if (result
.__isset
.success
) {
13329 if (result
.__isset
.io
) {
13332 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerOpenWithStopTs failed: unknown result");
13335 void HbaseClient::scannerGet(std::vector
<TRowResult
> & _return
, const ScannerID id
)
13337 send_scannerGet(id
);
13338 recv_scannerGet(_return
);
13341 void HbaseClient::send_scannerGet(const ScannerID id
)
13343 int32_t cseqid
= 0;
13344 oprot_
->writeMessageBegin("scannerGet", ::apache::thrift::protocol::T_CALL
, cseqid
);
13346 Hbase_scannerGet_pargs args
;
13348 args
.write(oprot_
);
13350 oprot_
->writeMessageEnd();
13351 oprot_
->getTransport()->writeEnd();
13352 oprot_
->getTransport()->flush();
13355 void HbaseClient::recv_scannerGet(std::vector
<TRowResult
> & _return
)
13358 int32_t rseqid
= 0;
13360 ::apache::thrift::protocol::TMessageType mtype
;
13362 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13363 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13364 ::apache::thrift::TApplicationException x
;
13366 iprot_
->readMessageEnd();
13367 iprot_
->getTransport()->readEnd();
13370 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13371 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13372 iprot_
->readMessageEnd();
13373 iprot_
->getTransport()->readEnd();
13375 if (fname
.compare("scannerGet") != 0) {
13376 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13377 iprot_
->readMessageEnd();
13378 iprot_
->getTransport()->readEnd();
13380 Hbase_scannerGet_presult result
;
13381 result
.success
= &_return
;
13382 result
.read(iprot_
);
13383 iprot_
->readMessageEnd();
13384 iprot_
->getTransport()->readEnd();
13386 if (result
.__isset
.success
) {
13387 // _return pointer has now been filled
13390 if (result
.__isset
.io
) {
13393 if (result
.__isset
.ia
) {
13396 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerGet failed: unknown result");
13399 void HbaseClient::scannerGetList(std::vector
<TRowResult
> & _return
, const ScannerID id
, const int32_t nbRows
)
13401 send_scannerGetList(id
, nbRows
);
13402 recv_scannerGetList(_return
);
13405 void HbaseClient::send_scannerGetList(const ScannerID id
, const int32_t nbRows
)
13407 int32_t cseqid
= 0;
13408 oprot_
->writeMessageBegin("scannerGetList", ::apache::thrift::protocol::T_CALL
, cseqid
);
13410 Hbase_scannerGetList_pargs args
;
13412 args
.nbRows
= &nbRows
;
13413 args
.write(oprot_
);
13415 oprot_
->writeMessageEnd();
13416 oprot_
->getTransport()->writeEnd();
13417 oprot_
->getTransport()->flush();
13420 void HbaseClient::recv_scannerGetList(std::vector
<TRowResult
> & _return
)
13423 int32_t rseqid
= 0;
13425 ::apache::thrift::protocol::TMessageType mtype
;
13427 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13428 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13429 ::apache::thrift::TApplicationException x
;
13431 iprot_
->readMessageEnd();
13432 iprot_
->getTransport()->readEnd();
13435 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13436 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13437 iprot_
->readMessageEnd();
13438 iprot_
->getTransport()->readEnd();
13440 if (fname
.compare("scannerGetList") != 0) {
13441 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13442 iprot_
->readMessageEnd();
13443 iprot_
->getTransport()->readEnd();
13445 Hbase_scannerGetList_presult result
;
13446 result
.success
= &_return
;
13447 result
.read(iprot_
);
13448 iprot_
->readMessageEnd();
13449 iprot_
->getTransport()->readEnd();
13451 if (result
.__isset
.success
) {
13452 // _return pointer has now been filled
13455 if (result
.__isset
.io
) {
13458 if (result
.__isset
.ia
) {
13461 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "scannerGetList failed: unknown result");
13464 void HbaseClient::scannerClose(const ScannerID id
)
13466 send_scannerClose(id
);
13467 recv_scannerClose();
13470 void HbaseClient::send_scannerClose(const ScannerID id
)
13472 int32_t cseqid
= 0;
13473 oprot_
->writeMessageBegin("scannerClose", ::apache::thrift::protocol::T_CALL
, cseqid
);
13475 Hbase_scannerClose_pargs args
;
13477 args
.write(oprot_
);
13479 oprot_
->writeMessageEnd();
13480 oprot_
->getTransport()->writeEnd();
13481 oprot_
->getTransport()->flush();
13484 void HbaseClient::recv_scannerClose()
13487 int32_t rseqid
= 0;
13489 ::apache::thrift::protocol::TMessageType mtype
;
13491 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13492 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13493 ::apache::thrift::TApplicationException x
;
13495 iprot_
->readMessageEnd();
13496 iprot_
->getTransport()->readEnd();
13499 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13500 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13501 iprot_
->readMessageEnd();
13502 iprot_
->getTransport()->readEnd();
13504 if (fname
.compare("scannerClose") != 0) {
13505 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13506 iprot_
->readMessageEnd();
13507 iprot_
->getTransport()->readEnd();
13509 Hbase_scannerClose_presult result
;
13510 result
.read(iprot_
);
13511 iprot_
->readMessageEnd();
13512 iprot_
->getTransport()->readEnd();
13514 if (result
.__isset
.io
) {
13517 if (result
.__isset
.ia
) {
13523 void HbaseClient::getRowOrBefore(std::vector
<TCell
> & _return
, const Text
& tableName
, const Text
& row
, const Text
& family
)
13525 send_getRowOrBefore(tableName
, row
, family
);
13526 recv_getRowOrBefore(_return
);
13529 void HbaseClient::send_getRowOrBefore(const Text
& tableName
, const Text
& row
, const Text
& family
)
13531 int32_t cseqid
= 0;
13532 oprot_
->writeMessageBegin("getRowOrBefore", ::apache::thrift::protocol::T_CALL
, cseqid
);
13534 Hbase_getRowOrBefore_pargs args
;
13535 args
.tableName
= &tableName
;
13537 args
.family
= &family
;
13538 args
.write(oprot_
);
13540 oprot_
->writeMessageEnd();
13541 oprot_
->getTransport()->writeEnd();
13542 oprot_
->getTransport()->flush();
13545 void HbaseClient::recv_getRowOrBefore(std::vector
<TCell
> & _return
)
13548 int32_t rseqid
= 0;
13550 ::apache::thrift::protocol::TMessageType mtype
;
13552 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13553 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13554 ::apache::thrift::TApplicationException x
;
13556 iprot_
->readMessageEnd();
13557 iprot_
->getTransport()->readEnd();
13560 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13561 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13562 iprot_
->readMessageEnd();
13563 iprot_
->getTransport()->readEnd();
13565 if (fname
.compare("getRowOrBefore") != 0) {
13566 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13567 iprot_
->readMessageEnd();
13568 iprot_
->getTransport()->readEnd();
13570 Hbase_getRowOrBefore_presult result
;
13571 result
.success
= &_return
;
13572 result
.read(iprot_
);
13573 iprot_
->readMessageEnd();
13574 iprot_
->getTransport()->readEnd();
13576 if (result
.__isset
.success
) {
13577 // _return pointer has now been filled
13580 if (result
.__isset
.io
) {
13583 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRowOrBefore failed: unknown result");
13586 void HbaseClient::getRegionInfo(TRegionInfo
& _return
, const Text
& row
)
13588 send_getRegionInfo(row
);
13589 recv_getRegionInfo(_return
);
13592 void HbaseClient::send_getRegionInfo(const Text
& row
)
13594 int32_t cseqid
= 0;
13595 oprot_
->writeMessageBegin("getRegionInfo", ::apache::thrift::protocol::T_CALL
, cseqid
);
13597 Hbase_getRegionInfo_pargs args
;
13599 args
.write(oprot_
);
13601 oprot_
->writeMessageEnd();
13602 oprot_
->getTransport()->writeEnd();
13603 oprot_
->getTransport()->flush();
13606 void HbaseClient::recv_getRegionInfo(TRegionInfo
& _return
)
13609 int32_t rseqid
= 0;
13611 ::apache::thrift::protocol::TMessageType mtype
;
13613 iprot_
->readMessageBegin(fname
, mtype
, rseqid
);
13614 if (mtype
== ::apache::thrift::protocol::T_EXCEPTION
) {
13615 ::apache::thrift::TApplicationException x
;
13617 iprot_
->readMessageEnd();
13618 iprot_
->getTransport()->readEnd();
13621 if (mtype
!= ::apache::thrift::protocol::T_REPLY
) {
13622 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13623 iprot_
->readMessageEnd();
13624 iprot_
->getTransport()->readEnd();
13626 if (fname
.compare("getRegionInfo") != 0) {
13627 iprot_
->skip(::apache::thrift::protocol::T_STRUCT
);
13628 iprot_
->readMessageEnd();
13629 iprot_
->getTransport()->readEnd();
13631 Hbase_getRegionInfo_presult result
;
13632 result
.success
= &_return
;
13633 result
.read(iprot_
);
13634 iprot_
->readMessageEnd();
13635 iprot_
->getTransport()->readEnd();
13637 if (result
.__isset
.success
) {
13638 // _return pointer has now been filled
13641 if (result
.__isset
.io
) {
13644 throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT
, "getRegionInfo failed: unknown result");
13647 bool HbaseProcessor::dispatchCall(::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, const std::string
& fname
, int32_t seqid
, void* callContext
) {
13648 ProcessMap::iterator pfn
;
13649 pfn
= processMap_
.find(fname
);
13650 if (pfn
== processMap_
.end()) {
13651 iprot
->skip(::apache::thrift::protocol::T_STRUCT
);
13652 iprot
->readMessageEnd();
13653 iprot
->getTransport()->readEnd();
13654 ::apache::thrift::TApplicationException
x(::apache::thrift::TApplicationException::UNKNOWN_METHOD
, "Invalid method name: '"+fname
+"'");
13655 oprot
->writeMessageBegin(fname
, ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13657 oprot
->writeMessageEnd();
13658 oprot
->getTransport()->writeEnd();
13659 oprot
->getTransport()->flush();
13662 (this->*(pfn
->second
))(seqid
, iprot
, oprot
, callContext
);
13666 void HbaseProcessor::process_enableTable(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
13669 if (this->eventHandler_
.get() != NULL
) {
13670 ctx
= this->eventHandler_
->getContext("Hbase.enableTable", callContext
);
13672 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.enableTable");
13674 if (this->eventHandler_
.get() != NULL
) {
13675 this->eventHandler_
->preRead(ctx
, "Hbase.enableTable");
13678 Hbase_enableTable_args args
;
13680 iprot
->readMessageEnd();
13681 uint32_t bytes
= iprot
->getTransport()->readEnd();
13683 if (this->eventHandler_
.get() != NULL
) {
13684 this->eventHandler_
->postRead(ctx
, "Hbase.enableTable", bytes
);
13687 Hbase_enableTable_result result
;
13689 iface_
->enableTable(args
.tableName
);
13690 } catch (IOError
&io
) {
13692 result
.__isset
.io
= true;
13693 } catch (const std::exception
& e
) {
13694 if (this->eventHandler_
.get() != NULL
) {
13695 this->eventHandler_
->handlerError(ctx
, "Hbase.enableTable");
13698 ::apache::thrift::TApplicationException
x(e
.what());
13699 oprot
->writeMessageBegin("enableTable", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13701 oprot
->writeMessageEnd();
13702 oprot
->getTransport()->writeEnd();
13703 oprot
->getTransport()->flush();
13707 if (this->eventHandler_
.get() != NULL
) {
13708 this->eventHandler_
->preWrite(ctx
, "Hbase.enableTable");
13711 oprot
->writeMessageBegin("enableTable", ::apache::thrift::protocol::T_REPLY
, seqid
);
13712 result
.write(oprot
);
13713 oprot
->writeMessageEnd();
13714 bytes
= oprot
->getTransport()->writeEnd();
13715 oprot
->getTransport()->flush();
13717 if (this->eventHandler_
.get() != NULL
) {
13718 this->eventHandler_
->postWrite(ctx
, "Hbase.enableTable", bytes
);
13722 void HbaseProcessor::process_disableTable(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
13725 if (this->eventHandler_
.get() != NULL
) {
13726 ctx
= this->eventHandler_
->getContext("Hbase.disableTable", callContext
);
13728 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.disableTable");
13730 if (this->eventHandler_
.get() != NULL
) {
13731 this->eventHandler_
->preRead(ctx
, "Hbase.disableTable");
13734 Hbase_disableTable_args args
;
13736 iprot
->readMessageEnd();
13737 uint32_t bytes
= iprot
->getTransport()->readEnd();
13739 if (this->eventHandler_
.get() != NULL
) {
13740 this->eventHandler_
->postRead(ctx
, "Hbase.disableTable", bytes
);
13743 Hbase_disableTable_result result
;
13745 iface_
->disableTable(args
.tableName
);
13746 } catch (IOError
&io
) {
13748 result
.__isset
.io
= true;
13749 } catch (const std::exception
& e
) {
13750 if (this->eventHandler_
.get() != NULL
) {
13751 this->eventHandler_
->handlerError(ctx
, "Hbase.disableTable");
13754 ::apache::thrift::TApplicationException
x(e
.what());
13755 oprot
->writeMessageBegin("disableTable", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13757 oprot
->writeMessageEnd();
13758 oprot
->getTransport()->writeEnd();
13759 oprot
->getTransport()->flush();
13763 if (this->eventHandler_
.get() != NULL
) {
13764 this->eventHandler_
->preWrite(ctx
, "Hbase.disableTable");
13767 oprot
->writeMessageBegin("disableTable", ::apache::thrift::protocol::T_REPLY
, seqid
);
13768 result
.write(oprot
);
13769 oprot
->writeMessageEnd();
13770 bytes
= oprot
->getTransport()->writeEnd();
13771 oprot
->getTransport()->flush();
13773 if (this->eventHandler_
.get() != NULL
) {
13774 this->eventHandler_
->postWrite(ctx
, "Hbase.disableTable", bytes
);
13778 void HbaseProcessor::process_isTableEnabled(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
13781 if (this->eventHandler_
.get() != NULL
) {
13782 ctx
= this->eventHandler_
->getContext("Hbase.isTableEnabled", callContext
);
13784 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.isTableEnabled");
13786 if (this->eventHandler_
.get() != NULL
) {
13787 this->eventHandler_
->preRead(ctx
, "Hbase.isTableEnabled");
13790 Hbase_isTableEnabled_args args
;
13792 iprot
->readMessageEnd();
13793 uint32_t bytes
= iprot
->getTransport()->readEnd();
13795 if (this->eventHandler_
.get() != NULL
) {
13796 this->eventHandler_
->postRead(ctx
, "Hbase.isTableEnabled", bytes
);
13799 Hbase_isTableEnabled_result result
;
13801 result
.success
= iface_
->isTableEnabled(args
.tableName
);
13802 result
.__isset
.success
= true;
13803 } catch (IOError
&io
) {
13805 result
.__isset
.io
= true;
13806 } catch (const std::exception
& e
) {
13807 if (this->eventHandler_
.get() != NULL
) {
13808 this->eventHandler_
->handlerError(ctx
, "Hbase.isTableEnabled");
13811 ::apache::thrift::TApplicationException
x(e
.what());
13812 oprot
->writeMessageBegin("isTableEnabled", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13814 oprot
->writeMessageEnd();
13815 oprot
->getTransport()->writeEnd();
13816 oprot
->getTransport()->flush();
13820 if (this->eventHandler_
.get() != NULL
) {
13821 this->eventHandler_
->preWrite(ctx
, "Hbase.isTableEnabled");
13824 oprot
->writeMessageBegin("isTableEnabled", ::apache::thrift::protocol::T_REPLY
, seqid
);
13825 result
.write(oprot
);
13826 oprot
->writeMessageEnd();
13827 bytes
= oprot
->getTransport()->writeEnd();
13828 oprot
->getTransport()->flush();
13830 if (this->eventHandler_
.get() != NULL
) {
13831 this->eventHandler_
->postWrite(ctx
, "Hbase.isTableEnabled", bytes
);
13835 void HbaseProcessor::process_compact(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
13838 if (this->eventHandler_
.get() != NULL
) {
13839 ctx
= this->eventHandler_
->getContext("Hbase.compact", callContext
);
13841 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.compact");
13843 if (this->eventHandler_
.get() != NULL
) {
13844 this->eventHandler_
->preRead(ctx
, "Hbase.compact");
13847 Hbase_compact_args args
;
13849 iprot
->readMessageEnd();
13850 uint32_t bytes
= iprot
->getTransport()->readEnd();
13852 if (this->eventHandler_
.get() != NULL
) {
13853 this->eventHandler_
->postRead(ctx
, "Hbase.compact", bytes
);
13856 Hbase_compact_result result
;
13858 iface_
->compact(args
.tableNameOrRegionName
);
13859 } catch (IOError
&io
) {
13861 result
.__isset
.io
= true;
13862 } catch (const std::exception
& e
) {
13863 if (this->eventHandler_
.get() != NULL
) {
13864 this->eventHandler_
->handlerError(ctx
, "Hbase.compact");
13867 ::apache::thrift::TApplicationException
x(e
.what());
13868 oprot
->writeMessageBegin("compact", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13870 oprot
->writeMessageEnd();
13871 oprot
->getTransport()->writeEnd();
13872 oprot
->getTransport()->flush();
13876 if (this->eventHandler_
.get() != NULL
) {
13877 this->eventHandler_
->preWrite(ctx
, "Hbase.compact");
13880 oprot
->writeMessageBegin("compact", ::apache::thrift::protocol::T_REPLY
, seqid
);
13881 result
.write(oprot
);
13882 oprot
->writeMessageEnd();
13883 bytes
= oprot
->getTransport()->writeEnd();
13884 oprot
->getTransport()->flush();
13886 if (this->eventHandler_
.get() != NULL
) {
13887 this->eventHandler_
->postWrite(ctx
, "Hbase.compact", bytes
);
13891 void HbaseProcessor::process_majorCompact(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
13894 if (this->eventHandler_
.get() != NULL
) {
13895 ctx
= this->eventHandler_
->getContext("Hbase.majorCompact", callContext
);
13897 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.majorCompact");
13899 if (this->eventHandler_
.get() != NULL
) {
13900 this->eventHandler_
->preRead(ctx
, "Hbase.majorCompact");
13903 Hbase_majorCompact_args args
;
13905 iprot
->readMessageEnd();
13906 uint32_t bytes
= iprot
->getTransport()->readEnd();
13908 if (this->eventHandler_
.get() != NULL
) {
13909 this->eventHandler_
->postRead(ctx
, "Hbase.majorCompact", bytes
);
13912 Hbase_majorCompact_result result
;
13914 iface_
->majorCompact(args
.tableNameOrRegionName
);
13915 } catch (IOError
&io
) {
13917 result
.__isset
.io
= true;
13918 } catch (const std::exception
& e
) {
13919 if (this->eventHandler_
.get() != NULL
) {
13920 this->eventHandler_
->handlerError(ctx
, "Hbase.majorCompact");
13923 ::apache::thrift::TApplicationException
x(e
.what());
13924 oprot
->writeMessageBegin("majorCompact", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13926 oprot
->writeMessageEnd();
13927 oprot
->getTransport()->writeEnd();
13928 oprot
->getTransport()->flush();
13932 if (this->eventHandler_
.get() != NULL
) {
13933 this->eventHandler_
->preWrite(ctx
, "Hbase.majorCompact");
13936 oprot
->writeMessageBegin("majorCompact", ::apache::thrift::protocol::T_REPLY
, seqid
);
13937 result
.write(oprot
);
13938 oprot
->writeMessageEnd();
13939 bytes
= oprot
->getTransport()->writeEnd();
13940 oprot
->getTransport()->flush();
13942 if (this->eventHandler_
.get() != NULL
) {
13943 this->eventHandler_
->postWrite(ctx
, "Hbase.majorCompact", bytes
);
13947 void HbaseProcessor::process_getTableNames(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
13950 if (this->eventHandler_
.get() != NULL
) {
13951 ctx
= this->eventHandler_
->getContext("Hbase.getTableNames", callContext
);
13953 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getTableNames");
13955 if (this->eventHandler_
.get() != NULL
) {
13956 this->eventHandler_
->preRead(ctx
, "Hbase.getTableNames");
13959 Hbase_getTableNames_args args
;
13961 iprot
->readMessageEnd();
13962 uint32_t bytes
= iprot
->getTransport()->readEnd();
13964 if (this->eventHandler_
.get() != NULL
) {
13965 this->eventHandler_
->postRead(ctx
, "Hbase.getTableNames", bytes
);
13968 Hbase_getTableNames_result result
;
13970 iface_
->getTableNames(result
.success
);
13971 result
.__isset
.success
= true;
13972 } catch (IOError
&io
) {
13974 result
.__isset
.io
= true;
13975 } catch (const std::exception
& e
) {
13976 if (this->eventHandler_
.get() != NULL
) {
13977 this->eventHandler_
->handlerError(ctx
, "Hbase.getTableNames");
13980 ::apache::thrift::TApplicationException
x(e
.what());
13981 oprot
->writeMessageBegin("getTableNames", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
13983 oprot
->writeMessageEnd();
13984 oprot
->getTransport()->writeEnd();
13985 oprot
->getTransport()->flush();
13989 if (this->eventHandler_
.get() != NULL
) {
13990 this->eventHandler_
->preWrite(ctx
, "Hbase.getTableNames");
13993 oprot
->writeMessageBegin("getTableNames", ::apache::thrift::protocol::T_REPLY
, seqid
);
13994 result
.write(oprot
);
13995 oprot
->writeMessageEnd();
13996 bytes
= oprot
->getTransport()->writeEnd();
13997 oprot
->getTransport()->flush();
13999 if (this->eventHandler_
.get() != NULL
) {
14000 this->eventHandler_
->postWrite(ctx
, "Hbase.getTableNames", bytes
);
14004 void HbaseProcessor::process_getColumnDescriptors(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14007 if (this->eventHandler_
.get() != NULL
) {
14008 ctx
= this->eventHandler_
->getContext("Hbase.getColumnDescriptors", callContext
);
14010 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getColumnDescriptors");
14012 if (this->eventHandler_
.get() != NULL
) {
14013 this->eventHandler_
->preRead(ctx
, "Hbase.getColumnDescriptors");
14016 Hbase_getColumnDescriptors_args args
;
14018 iprot
->readMessageEnd();
14019 uint32_t bytes
= iprot
->getTransport()->readEnd();
14021 if (this->eventHandler_
.get() != NULL
) {
14022 this->eventHandler_
->postRead(ctx
, "Hbase.getColumnDescriptors", bytes
);
14025 Hbase_getColumnDescriptors_result result
;
14027 iface_
->getColumnDescriptors(result
.success
, args
.tableName
);
14028 result
.__isset
.success
= true;
14029 } catch (IOError
&io
) {
14031 result
.__isset
.io
= true;
14032 } catch (const std::exception
& e
) {
14033 if (this->eventHandler_
.get() != NULL
) {
14034 this->eventHandler_
->handlerError(ctx
, "Hbase.getColumnDescriptors");
14037 ::apache::thrift::TApplicationException
x(e
.what());
14038 oprot
->writeMessageBegin("getColumnDescriptors", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14040 oprot
->writeMessageEnd();
14041 oprot
->getTransport()->writeEnd();
14042 oprot
->getTransport()->flush();
14046 if (this->eventHandler_
.get() != NULL
) {
14047 this->eventHandler_
->preWrite(ctx
, "Hbase.getColumnDescriptors");
14050 oprot
->writeMessageBegin("getColumnDescriptors", ::apache::thrift::protocol::T_REPLY
, seqid
);
14051 result
.write(oprot
);
14052 oprot
->writeMessageEnd();
14053 bytes
= oprot
->getTransport()->writeEnd();
14054 oprot
->getTransport()->flush();
14056 if (this->eventHandler_
.get() != NULL
) {
14057 this->eventHandler_
->postWrite(ctx
, "Hbase.getColumnDescriptors", bytes
);
14061 void HbaseProcessor::process_getTableRegions(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14064 if (this->eventHandler_
.get() != NULL
) {
14065 ctx
= this->eventHandler_
->getContext("Hbase.getTableRegions", callContext
);
14067 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getTableRegions");
14069 if (this->eventHandler_
.get() != NULL
) {
14070 this->eventHandler_
->preRead(ctx
, "Hbase.getTableRegions");
14073 Hbase_getTableRegions_args args
;
14075 iprot
->readMessageEnd();
14076 uint32_t bytes
= iprot
->getTransport()->readEnd();
14078 if (this->eventHandler_
.get() != NULL
) {
14079 this->eventHandler_
->postRead(ctx
, "Hbase.getTableRegions", bytes
);
14082 Hbase_getTableRegions_result result
;
14084 iface_
->getTableRegions(result
.success
, args
.tableName
);
14085 result
.__isset
.success
= true;
14086 } catch (IOError
&io
) {
14088 result
.__isset
.io
= true;
14089 } catch (const std::exception
& e
) {
14090 if (this->eventHandler_
.get() != NULL
) {
14091 this->eventHandler_
->handlerError(ctx
, "Hbase.getTableRegions");
14094 ::apache::thrift::TApplicationException
x(e
.what());
14095 oprot
->writeMessageBegin("getTableRegions", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14097 oprot
->writeMessageEnd();
14098 oprot
->getTransport()->writeEnd();
14099 oprot
->getTransport()->flush();
14103 if (this->eventHandler_
.get() != NULL
) {
14104 this->eventHandler_
->preWrite(ctx
, "Hbase.getTableRegions");
14107 oprot
->writeMessageBegin("getTableRegions", ::apache::thrift::protocol::T_REPLY
, seqid
);
14108 result
.write(oprot
);
14109 oprot
->writeMessageEnd();
14110 bytes
= oprot
->getTransport()->writeEnd();
14111 oprot
->getTransport()->flush();
14113 if (this->eventHandler_
.get() != NULL
) {
14114 this->eventHandler_
->postWrite(ctx
, "Hbase.getTableRegions", bytes
);
14118 void HbaseProcessor::process_createTable(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14121 if (this->eventHandler_
.get() != NULL
) {
14122 ctx
= this->eventHandler_
->getContext("Hbase.createTable", callContext
);
14124 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.createTable");
14126 if (this->eventHandler_
.get() != NULL
) {
14127 this->eventHandler_
->preRead(ctx
, "Hbase.createTable");
14130 Hbase_createTable_args args
;
14132 iprot
->readMessageEnd();
14133 uint32_t bytes
= iprot
->getTransport()->readEnd();
14135 if (this->eventHandler_
.get() != NULL
) {
14136 this->eventHandler_
->postRead(ctx
, "Hbase.createTable", bytes
);
14139 Hbase_createTable_result result
;
14141 iface_
->createTable(args
.tableName
, args
.columnFamilies
);
14142 } catch (IOError
&io
) {
14144 result
.__isset
.io
= true;
14145 } catch (IllegalArgument
&ia
) {
14147 result
.__isset
.ia
= true;
14148 } catch (AlreadyExists
&exist
) {
14149 result
.exist
= exist
;
14150 result
.__isset
.exist
= true;
14151 } catch (const std::exception
& e
) {
14152 if (this->eventHandler_
.get() != NULL
) {
14153 this->eventHandler_
->handlerError(ctx
, "Hbase.createTable");
14156 ::apache::thrift::TApplicationException
x(e
.what());
14157 oprot
->writeMessageBegin("createTable", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14159 oprot
->writeMessageEnd();
14160 oprot
->getTransport()->writeEnd();
14161 oprot
->getTransport()->flush();
14165 if (this->eventHandler_
.get() != NULL
) {
14166 this->eventHandler_
->preWrite(ctx
, "Hbase.createTable");
14169 oprot
->writeMessageBegin("createTable", ::apache::thrift::protocol::T_REPLY
, seqid
);
14170 result
.write(oprot
);
14171 oprot
->writeMessageEnd();
14172 bytes
= oprot
->getTransport()->writeEnd();
14173 oprot
->getTransport()->flush();
14175 if (this->eventHandler_
.get() != NULL
) {
14176 this->eventHandler_
->postWrite(ctx
, "Hbase.createTable", bytes
);
14180 void HbaseProcessor::process_deleteTable(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14183 if (this->eventHandler_
.get() != NULL
) {
14184 ctx
= this->eventHandler_
->getContext("Hbase.deleteTable", callContext
);
14186 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.deleteTable");
14188 if (this->eventHandler_
.get() != NULL
) {
14189 this->eventHandler_
->preRead(ctx
, "Hbase.deleteTable");
14192 Hbase_deleteTable_args args
;
14194 iprot
->readMessageEnd();
14195 uint32_t bytes
= iprot
->getTransport()->readEnd();
14197 if (this->eventHandler_
.get() != NULL
) {
14198 this->eventHandler_
->postRead(ctx
, "Hbase.deleteTable", bytes
);
14201 Hbase_deleteTable_result result
;
14203 iface_
->deleteTable(args
.tableName
);
14204 } catch (IOError
&io
) {
14206 result
.__isset
.io
= true;
14207 } catch (const std::exception
& e
) {
14208 if (this->eventHandler_
.get() != NULL
) {
14209 this->eventHandler_
->handlerError(ctx
, "Hbase.deleteTable");
14212 ::apache::thrift::TApplicationException
x(e
.what());
14213 oprot
->writeMessageBegin("deleteTable", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14215 oprot
->writeMessageEnd();
14216 oprot
->getTransport()->writeEnd();
14217 oprot
->getTransport()->flush();
14221 if (this->eventHandler_
.get() != NULL
) {
14222 this->eventHandler_
->preWrite(ctx
, "Hbase.deleteTable");
14225 oprot
->writeMessageBegin("deleteTable", ::apache::thrift::protocol::T_REPLY
, seqid
);
14226 result
.write(oprot
);
14227 oprot
->writeMessageEnd();
14228 bytes
= oprot
->getTransport()->writeEnd();
14229 oprot
->getTransport()->flush();
14231 if (this->eventHandler_
.get() != NULL
) {
14232 this->eventHandler_
->postWrite(ctx
, "Hbase.deleteTable", bytes
);
14236 void HbaseProcessor::process_get(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14239 if (this->eventHandler_
.get() != NULL
) {
14240 ctx
= this->eventHandler_
->getContext("Hbase.get", callContext
);
14242 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.get");
14244 if (this->eventHandler_
.get() != NULL
) {
14245 this->eventHandler_
->preRead(ctx
, "Hbase.get");
14248 Hbase_get_args args
;
14250 iprot
->readMessageEnd();
14251 uint32_t bytes
= iprot
->getTransport()->readEnd();
14253 if (this->eventHandler_
.get() != NULL
) {
14254 this->eventHandler_
->postRead(ctx
, "Hbase.get", bytes
);
14257 Hbase_get_result result
;
14259 iface_
->get(result
.success
, args
.tableName
, args
.row
, args
.column
, args
.attributes
);
14260 result
.__isset
.success
= true;
14261 } catch (IOError
&io
) {
14263 result
.__isset
.io
= true;
14264 } catch (const std::exception
& e
) {
14265 if (this->eventHandler_
.get() != NULL
) {
14266 this->eventHandler_
->handlerError(ctx
, "Hbase.get");
14269 ::apache::thrift::TApplicationException
x(e
.what());
14270 oprot
->writeMessageBegin("get", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14272 oprot
->writeMessageEnd();
14273 oprot
->getTransport()->writeEnd();
14274 oprot
->getTransport()->flush();
14278 if (this->eventHandler_
.get() != NULL
) {
14279 this->eventHandler_
->preWrite(ctx
, "Hbase.get");
14282 oprot
->writeMessageBegin("get", ::apache::thrift::protocol::T_REPLY
, seqid
);
14283 result
.write(oprot
);
14284 oprot
->writeMessageEnd();
14285 bytes
= oprot
->getTransport()->writeEnd();
14286 oprot
->getTransport()->flush();
14288 if (this->eventHandler_
.get() != NULL
) {
14289 this->eventHandler_
->postWrite(ctx
, "Hbase.get", bytes
);
14293 void HbaseProcessor::process_getVer(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14296 if (this->eventHandler_
.get() != NULL
) {
14297 ctx
= this->eventHandler_
->getContext("Hbase.getVer", callContext
);
14299 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getVer");
14301 if (this->eventHandler_
.get() != NULL
) {
14302 this->eventHandler_
->preRead(ctx
, "Hbase.getVer");
14305 Hbase_getVer_args args
;
14307 iprot
->readMessageEnd();
14308 uint32_t bytes
= iprot
->getTransport()->readEnd();
14310 if (this->eventHandler_
.get() != NULL
) {
14311 this->eventHandler_
->postRead(ctx
, "Hbase.getVer", bytes
);
14314 Hbase_getVer_result result
;
14316 iface_
->getVer(result
.success
, args
.tableName
, args
.row
, args
.column
, args
.numVersions
, args
.attributes
);
14317 result
.__isset
.success
= true;
14318 } catch (IOError
&io
) {
14320 result
.__isset
.io
= true;
14321 } catch (const std::exception
& e
) {
14322 if (this->eventHandler_
.get() != NULL
) {
14323 this->eventHandler_
->handlerError(ctx
, "Hbase.getVer");
14326 ::apache::thrift::TApplicationException
x(e
.what());
14327 oprot
->writeMessageBegin("getVer", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14329 oprot
->writeMessageEnd();
14330 oprot
->getTransport()->writeEnd();
14331 oprot
->getTransport()->flush();
14335 if (this->eventHandler_
.get() != NULL
) {
14336 this->eventHandler_
->preWrite(ctx
, "Hbase.getVer");
14339 oprot
->writeMessageBegin("getVer", ::apache::thrift::protocol::T_REPLY
, seqid
);
14340 result
.write(oprot
);
14341 oprot
->writeMessageEnd();
14342 bytes
= oprot
->getTransport()->writeEnd();
14343 oprot
->getTransport()->flush();
14345 if (this->eventHandler_
.get() != NULL
) {
14346 this->eventHandler_
->postWrite(ctx
, "Hbase.getVer", bytes
);
14350 void HbaseProcessor::process_getVerTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14353 if (this->eventHandler_
.get() != NULL
) {
14354 ctx
= this->eventHandler_
->getContext("Hbase.getVerTs", callContext
);
14356 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getVerTs");
14358 if (this->eventHandler_
.get() != NULL
) {
14359 this->eventHandler_
->preRead(ctx
, "Hbase.getVerTs");
14362 Hbase_getVerTs_args args
;
14364 iprot
->readMessageEnd();
14365 uint32_t bytes
= iprot
->getTransport()->readEnd();
14367 if (this->eventHandler_
.get() != NULL
) {
14368 this->eventHandler_
->postRead(ctx
, "Hbase.getVerTs", bytes
);
14371 Hbase_getVerTs_result result
;
14373 iface_
->getVerTs(result
.success
, args
.tableName
, args
.row
, args
.column
, args
.timestamp
, args
.numVersions
, args
.attributes
);
14374 result
.__isset
.success
= true;
14375 } catch (IOError
&io
) {
14377 result
.__isset
.io
= true;
14378 } catch (const std::exception
& e
) {
14379 if (this->eventHandler_
.get() != NULL
) {
14380 this->eventHandler_
->handlerError(ctx
, "Hbase.getVerTs");
14383 ::apache::thrift::TApplicationException
x(e
.what());
14384 oprot
->writeMessageBegin("getVerTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14386 oprot
->writeMessageEnd();
14387 oprot
->getTransport()->writeEnd();
14388 oprot
->getTransport()->flush();
14392 if (this->eventHandler_
.get() != NULL
) {
14393 this->eventHandler_
->preWrite(ctx
, "Hbase.getVerTs");
14396 oprot
->writeMessageBegin("getVerTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
14397 result
.write(oprot
);
14398 oprot
->writeMessageEnd();
14399 bytes
= oprot
->getTransport()->writeEnd();
14400 oprot
->getTransport()->flush();
14402 if (this->eventHandler_
.get() != NULL
) {
14403 this->eventHandler_
->postWrite(ctx
, "Hbase.getVerTs", bytes
);
14407 void HbaseProcessor::process_getRow(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14410 if (this->eventHandler_
.get() != NULL
) {
14411 ctx
= this->eventHandler_
->getContext("Hbase.getRow", callContext
);
14413 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRow");
14415 if (this->eventHandler_
.get() != NULL
) {
14416 this->eventHandler_
->preRead(ctx
, "Hbase.getRow");
14419 Hbase_getRow_args args
;
14421 iprot
->readMessageEnd();
14422 uint32_t bytes
= iprot
->getTransport()->readEnd();
14424 if (this->eventHandler_
.get() != NULL
) {
14425 this->eventHandler_
->postRead(ctx
, "Hbase.getRow", bytes
);
14428 Hbase_getRow_result result
;
14430 iface_
->getRow(result
.success
, args
.tableName
, args
.row
, args
.attributes
);
14431 result
.__isset
.success
= true;
14432 } catch (IOError
&io
) {
14434 result
.__isset
.io
= true;
14435 } catch (const std::exception
& e
) {
14436 if (this->eventHandler_
.get() != NULL
) {
14437 this->eventHandler_
->handlerError(ctx
, "Hbase.getRow");
14440 ::apache::thrift::TApplicationException
x(e
.what());
14441 oprot
->writeMessageBegin("getRow", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14443 oprot
->writeMessageEnd();
14444 oprot
->getTransport()->writeEnd();
14445 oprot
->getTransport()->flush();
14449 if (this->eventHandler_
.get() != NULL
) {
14450 this->eventHandler_
->preWrite(ctx
, "Hbase.getRow");
14453 oprot
->writeMessageBegin("getRow", ::apache::thrift::protocol::T_REPLY
, seqid
);
14454 result
.write(oprot
);
14455 oprot
->writeMessageEnd();
14456 bytes
= oprot
->getTransport()->writeEnd();
14457 oprot
->getTransport()->flush();
14459 if (this->eventHandler_
.get() != NULL
) {
14460 this->eventHandler_
->postWrite(ctx
, "Hbase.getRow", bytes
);
14464 void HbaseProcessor::process_getRowWithColumns(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14467 if (this->eventHandler_
.get() != NULL
) {
14468 ctx
= this->eventHandler_
->getContext("Hbase.getRowWithColumns", callContext
);
14470 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowWithColumns");
14472 if (this->eventHandler_
.get() != NULL
) {
14473 this->eventHandler_
->preRead(ctx
, "Hbase.getRowWithColumns");
14476 Hbase_getRowWithColumns_args args
;
14478 iprot
->readMessageEnd();
14479 uint32_t bytes
= iprot
->getTransport()->readEnd();
14481 if (this->eventHandler_
.get() != NULL
) {
14482 this->eventHandler_
->postRead(ctx
, "Hbase.getRowWithColumns", bytes
);
14485 Hbase_getRowWithColumns_result result
;
14487 iface_
->getRowWithColumns(result
.success
, args
.tableName
, args
.row
, args
.columns
, args
.attributes
);
14488 result
.__isset
.success
= true;
14489 } catch (IOError
&io
) {
14491 result
.__isset
.io
= true;
14492 } catch (const std::exception
& e
) {
14493 if (this->eventHandler_
.get() != NULL
) {
14494 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowWithColumns");
14497 ::apache::thrift::TApplicationException
x(e
.what());
14498 oprot
->writeMessageBegin("getRowWithColumns", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14500 oprot
->writeMessageEnd();
14501 oprot
->getTransport()->writeEnd();
14502 oprot
->getTransport()->flush();
14506 if (this->eventHandler_
.get() != NULL
) {
14507 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowWithColumns");
14510 oprot
->writeMessageBegin("getRowWithColumns", ::apache::thrift::protocol::T_REPLY
, seqid
);
14511 result
.write(oprot
);
14512 oprot
->writeMessageEnd();
14513 bytes
= oprot
->getTransport()->writeEnd();
14514 oprot
->getTransport()->flush();
14516 if (this->eventHandler_
.get() != NULL
) {
14517 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowWithColumns", bytes
);
14521 void HbaseProcessor::process_getRowTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14524 if (this->eventHandler_
.get() != NULL
) {
14525 ctx
= this->eventHandler_
->getContext("Hbase.getRowTs", callContext
);
14527 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowTs");
14529 if (this->eventHandler_
.get() != NULL
) {
14530 this->eventHandler_
->preRead(ctx
, "Hbase.getRowTs");
14533 Hbase_getRowTs_args args
;
14535 iprot
->readMessageEnd();
14536 uint32_t bytes
= iprot
->getTransport()->readEnd();
14538 if (this->eventHandler_
.get() != NULL
) {
14539 this->eventHandler_
->postRead(ctx
, "Hbase.getRowTs", bytes
);
14542 Hbase_getRowTs_result result
;
14544 iface_
->getRowTs(result
.success
, args
.tableName
, args
.row
, args
.timestamp
, args
.attributes
);
14545 result
.__isset
.success
= true;
14546 } catch (IOError
&io
) {
14548 result
.__isset
.io
= true;
14549 } catch (const std::exception
& e
) {
14550 if (this->eventHandler_
.get() != NULL
) {
14551 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowTs");
14554 ::apache::thrift::TApplicationException
x(e
.what());
14555 oprot
->writeMessageBegin("getRowTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14557 oprot
->writeMessageEnd();
14558 oprot
->getTransport()->writeEnd();
14559 oprot
->getTransport()->flush();
14563 if (this->eventHandler_
.get() != NULL
) {
14564 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowTs");
14567 oprot
->writeMessageBegin("getRowTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
14568 result
.write(oprot
);
14569 oprot
->writeMessageEnd();
14570 bytes
= oprot
->getTransport()->writeEnd();
14571 oprot
->getTransport()->flush();
14573 if (this->eventHandler_
.get() != NULL
) {
14574 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowTs", bytes
);
14578 void HbaseProcessor::process_getRowWithColumnsTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14581 if (this->eventHandler_
.get() != NULL
) {
14582 ctx
= this->eventHandler_
->getContext("Hbase.getRowWithColumnsTs", callContext
);
14584 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowWithColumnsTs");
14586 if (this->eventHandler_
.get() != NULL
) {
14587 this->eventHandler_
->preRead(ctx
, "Hbase.getRowWithColumnsTs");
14590 Hbase_getRowWithColumnsTs_args args
;
14592 iprot
->readMessageEnd();
14593 uint32_t bytes
= iprot
->getTransport()->readEnd();
14595 if (this->eventHandler_
.get() != NULL
) {
14596 this->eventHandler_
->postRead(ctx
, "Hbase.getRowWithColumnsTs", bytes
);
14599 Hbase_getRowWithColumnsTs_result result
;
14601 iface_
->getRowWithColumnsTs(result
.success
, args
.tableName
, args
.row
, args
.columns
, args
.timestamp
, args
.attributes
);
14602 result
.__isset
.success
= true;
14603 } catch (IOError
&io
) {
14605 result
.__isset
.io
= true;
14606 } catch (const std::exception
& e
) {
14607 if (this->eventHandler_
.get() != NULL
) {
14608 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowWithColumnsTs");
14611 ::apache::thrift::TApplicationException
x(e
.what());
14612 oprot
->writeMessageBegin("getRowWithColumnsTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14614 oprot
->writeMessageEnd();
14615 oprot
->getTransport()->writeEnd();
14616 oprot
->getTransport()->flush();
14620 if (this->eventHandler_
.get() != NULL
) {
14621 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowWithColumnsTs");
14624 oprot
->writeMessageBegin("getRowWithColumnsTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
14625 result
.write(oprot
);
14626 oprot
->writeMessageEnd();
14627 bytes
= oprot
->getTransport()->writeEnd();
14628 oprot
->getTransport()->flush();
14630 if (this->eventHandler_
.get() != NULL
) {
14631 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowWithColumnsTs", bytes
);
14635 void HbaseProcessor::process_getRows(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14638 if (this->eventHandler_
.get() != NULL
) {
14639 ctx
= this->eventHandler_
->getContext("Hbase.getRows", callContext
);
14641 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRows");
14643 if (this->eventHandler_
.get() != NULL
) {
14644 this->eventHandler_
->preRead(ctx
, "Hbase.getRows");
14647 Hbase_getRows_args args
;
14649 iprot
->readMessageEnd();
14650 uint32_t bytes
= iprot
->getTransport()->readEnd();
14652 if (this->eventHandler_
.get() != NULL
) {
14653 this->eventHandler_
->postRead(ctx
, "Hbase.getRows", bytes
);
14656 Hbase_getRows_result result
;
14658 iface_
->getRows(result
.success
, args
.tableName
, args
.rows
, args
.attributes
);
14659 result
.__isset
.success
= true;
14660 } catch (IOError
&io
) {
14662 result
.__isset
.io
= true;
14663 } catch (const std::exception
& e
) {
14664 if (this->eventHandler_
.get() != NULL
) {
14665 this->eventHandler_
->handlerError(ctx
, "Hbase.getRows");
14668 ::apache::thrift::TApplicationException
x(e
.what());
14669 oprot
->writeMessageBegin("getRows", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14671 oprot
->writeMessageEnd();
14672 oprot
->getTransport()->writeEnd();
14673 oprot
->getTransport()->flush();
14677 if (this->eventHandler_
.get() != NULL
) {
14678 this->eventHandler_
->preWrite(ctx
, "Hbase.getRows");
14681 oprot
->writeMessageBegin("getRows", ::apache::thrift::protocol::T_REPLY
, seqid
);
14682 result
.write(oprot
);
14683 oprot
->writeMessageEnd();
14684 bytes
= oprot
->getTransport()->writeEnd();
14685 oprot
->getTransport()->flush();
14687 if (this->eventHandler_
.get() != NULL
) {
14688 this->eventHandler_
->postWrite(ctx
, "Hbase.getRows", bytes
);
14692 void HbaseProcessor::process_getRowsWithColumns(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14695 if (this->eventHandler_
.get() != NULL
) {
14696 ctx
= this->eventHandler_
->getContext("Hbase.getRowsWithColumns", callContext
);
14698 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowsWithColumns");
14700 if (this->eventHandler_
.get() != NULL
) {
14701 this->eventHandler_
->preRead(ctx
, "Hbase.getRowsWithColumns");
14704 Hbase_getRowsWithColumns_args args
;
14706 iprot
->readMessageEnd();
14707 uint32_t bytes
= iprot
->getTransport()->readEnd();
14709 if (this->eventHandler_
.get() != NULL
) {
14710 this->eventHandler_
->postRead(ctx
, "Hbase.getRowsWithColumns", bytes
);
14713 Hbase_getRowsWithColumns_result result
;
14715 iface_
->getRowsWithColumns(result
.success
, args
.tableName
, args
.rows
, args
.columns
, args
.attributes
);
14716 result
.__isset
.success
= true;
14717 } catch (IOError
&io
) {
14719 result
.__isset
.io
= true;
14720 } catch (const std::exception
& e
) {
14721 if (this->eventHandler_
.get() != NULL
) {
14722 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowsWithColumns");
14725 ::apache::thrift::TApplicationException
x(e
.what());
14726 oprot
->writeMessageBegin("getRowsWithColumns", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14728 oprot
->writeMessageEnd();
14729 oprot
->getTransport()->writeEnd();
14730 oprot
->getTransport()->flush();
14734 if (this->eventHandler_
.get() != NULL
) {
14735 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowsWithColumns");
14738 oprot
->writeMessageBegin("getRowsWithColumns", ::apache::thrift::protocol::T_REPLY
, seqid
);
14739 result
.write(oprot
);
14740 oprot
->writeMessageEnd();
14741 bytes
= oprot
->getTransport()->writeEnd();
14742 oprot
->getTransport()->flush();
14744 if (this->eventHandler_
.get() != NULL
) {
14745 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowsWithColumns", bytes
);
14749 void HbaseProcessor::process_getRowsTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14752 if (this->eventHandler_
.get() != NULL
) {
14753 ctx
= this->eventHandler_
->getContext("Hbase.getRowsTs", callContext
);
14755 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowsTs");
14757 if (this->eventHandler_
.get() != NULL
) {
14758 this->eventHandler_
->preRead(ctx
, "Hbase.getRowsTs");
14761 Hbase_getRowsTs_args args
;
14763 iprot
->readMessageEnd();
14764 uint32_t bytes
= iprot
->getTransport()->readEnd();
14766 if (this->eventHandler_
.get() != NULL
) {
14767 this->eventHandler_
->postRead(ctx
, "Hbase.getRowsTs", bytes
);
14770 Hbase_getRowsTs_result result
;
14772 iface_
->getRowsTs(result
.success
, args
.tableName
, args
.rows
, args
.timestamp
, args
.attributes
);
14773 result
.__isset
.success
= true;
14774 } catch (IOError
&io
) {
14776 result
.__isset
.io
= true;
14777 } catch (const std::exception
& e
) {
14778 if (this->eventHandler_
.get() != NULL
) {
14779 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowsTs");
14782 ::apache::thrift::TApplicationException
x(e
.what());
14783 oprot
->writeMessageBegin("getRowsTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14785 oprot
->writeMessageEnd();
14786 oprot
->getTransport()->writeEnd();
14787 oprot
->getTransport()->flush();
14791 if (this->eventHandler_
.get() != NULL
) {
14792 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowsTs");
14795 oprot
->writeMessageBegin("getRowsTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
14796 result
.write(oprot
);
14797 oprot
->writeMessageEnd();
14798 bytes
= oprot
->getTransport()->writeEnd();
14799 oprot
->getTransport()->flush();
14801 if (this->eventHandler_
.get() != NULL
) {
14802 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowsTs", bytes
);
14806 void HbaseProcessor::process_getRowsWithColumnsTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14809 if (this->eventHandler_
.get() != NULL
) {
14810 ctx
= this->eventHandler_
->getContext("Hbase.getRowsWithColumnsTs", callContext
);
14812 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowsWithColumnsTs");
14814 if (this->eventHandler_
.get() != NULL
) {
14815 this->eventHandler_
->preRead(ctx
, "Hbase.getRowsWithColumnsTs");
14818 Hbase_getRowsWithColumnsTs_args args
;
14820 iprot
->readMessageEnd();
14821 uint32_t bytes
= iprot
->getTransport()->readEnd();
14823 if (this->eventHandler_
.get() != NULL
) {
14824 this->eventHandler_
->postRead(ctx
, "Hbase.getRowsWithColumnsTs", bytes
);
14827 Hbase_getRowsWithColumnsTs_result result
;
14829 iface_
->getRowsWithColumnsTs(result
.success
, args
.tableName
, args
.rows
, args
.columns
, args
.timestamp
, args
.attributes
);
14830 result
.__isset
.success
= true;
14831 } catch (IOError
&io
) {
14833 result
.__isset
.io
= true;
14834 } catch (const std::exception
& e
) {
14835 if (this->eventHandler_
.get() != NULL
) {
14836 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowsWithColumnsTs");
14839 ::apache::thrift::TApplicationException
x(e
.what());
14840 oprot
->writeMessageBegin("getRowsWithColumnsTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14842 oprot
->writeMessageEnd();
14843 oprot
->getTransport()->writeEnd();
14844 oprot
->getTransport()->flush();
14848 if (this->eventHandler_
.get() != NULL
) {
14849 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowsWithColumnsTs");
14852 oprot
->writeMessageBegin("getRowsWithColumnsTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
14853 result
.write(oprot
);
14854 oprot
->writeMessageEnd();
14855 bytes
= oprot
->getTransport()->writeEnd();
14856 oprot
->getTransport()->flush();
14858 if (this->eventHandler_
.get() != NULL
) {
14859 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowsWithColumnsTs", bytes
);
14863 void HbaseProcessor::process_mutateRow(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14866 if (this->eventHandler_
.get() != NULL
) {
14867 ctx
= this->eventHandler_
->getContext("Hbase.mutateRow", callContext
);
14869 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.mutateRow");
14871 if (this->eventHandler_
.get() != NULL
) {
14872 this->eventHandler_
->preRead(ctx
, "Hbase.mutateRow");
14875 Hbase_mutateRow_args args
;
14877 iprot
->readMessageEnd();
14878 uint32_t bytes
= iprot
->getTransport()->readEnd();
14880 if (this->eventHandler_
.get() != NULL
) {
14881 this->eventHandler_
->postRead(ctx
, "Hbase.mutateRow", bytes
);
14884 Hbase_mutateRow_result result
;
14886 iface_
->mutateRow(args
.tableName
, args
.row
, args
.mutations
, args
.attributes
);
14887 } catch (IOError
&io
) {
14889 result
.__isset
.io
= true;
14890 } catch (IllegalArgument
&ia
) {
14892 result
.__isset
.ia
= true;
14893 } catch (const std::exception
& e
) {
14894 if (this->eventHandler_
.get() != NULL
) {
14895 this->eventHandler_
->handlerError(ctx
, "Hbase.mutateRow");
14898 ::apache::thrift::TApplicationException
x(e
.what());
14899 oprot
->writeMessageBegin("mutateRow", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14901 oprot
->writeMessageEnd();
14902 oprot
->getTransport()->writeEnd();
14903 oprot
->getTransport()->flush();
14907 if (this->eventHandler_
.get() != NULL
) {
14908 this->eventHandler_
->preWrite(ctx
, "Hbase.mutateRow");
14911 oprot
->writeMessageBegin("mutateRow", ::apache::thrift::protocol::T_REPLY
, seqid
);
14912 result
.write(oprot
);
14913 oprot
->writeMessageEnd();
14914 bytes
= oprot
->getTransport()->writeEnd();
14915 oprot
->getTransport()->flush();
14917 if (this->eventHandler_
.get() != NULL
) {
14918 this->eventHandler_
->postWrite(ctx
, "Hbase.mutateRow", bytes
);
14922 void HbaseProcessor::process_mutateRowTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14925 if (this->eventHandler_
.get() != NULL
) {
14926 ctx
= this->eventHandler_
->getContext("Hbase.mutateRowTs", callContext
);
14928 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.mutateRowTs");
14930 if (this->eventHandler_
.get() != NULL
) {
14931 this->eventHandler_
->preRead(ctx
, "Hbase.mutateRowTs");
14934 Hbase_mutateRowTs_args args
;
14936 iprot
->readMessageEnd();
14937 uint32_t bytes
= iprot
->getTransport()->readEnd();
14939 if (this->eventHandler_
.get() != NULL
) {
14940 this->eventHandler_
->postRead(ctx
, "Hbase.mutateRowTs", bytes
);
14943 Hbase_mutateRowTs_result result
;
14945 iface_
->mutateRowTs(args
.tableName
, args
.row
, args
.mutations
, args
.timestamp
, args
.attributes
);
14946 } catch (IOError
&io
) {
14948 result
.__isset
.io
= true;
14949 } catch (IllegalArgument
&ia
) {
14951 result
.__isset
.ia
= true;
14952 } catch (const std::exception
& e
) {
14953 if (this->eventHandler_
.get() != NULL
) {
14954 this->eventHandler_
->handlerError(ctx
, "Hbase.mutateRowTs");
14957 ::apache::thrift::TApplicationException
x(e
.what());
14958 oprot
->writeMessageBegin("mutateRowTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
14960 oprot
->writeMessageEnd();
14961 oprot
->getTransport()->writeEnd();
14962 oprot
->getTransport()->flush();
14966 if (this->eventHandler_
.get() != NULL
) {
14967 this->eventHandler_
->preWrite(ctx
, "Hbase.mutateRowTs");
14970 oprot
->writeMessageBegin("mutateRowTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
14971 result
.write(oprot
);
14972 oprot
->writeMessageEnd();
14973 bytes
= oprot
->getTransport()->writeEnd();
14974 oprot
->getTransport()->flush();
14976 if (this->eventHandler_
.get() != NULL
) {
14977 this->eventHandler_
->postWrite(ctx
, "Hbase.mutateRowTs", bytes
);
14981 void HbaseProcessor::process_mutateRows(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
14984 if (this->eventHandler_
.get() != NULL
) {
14985 ctx
= this->eventHandler_
->getContext("Hbase.mutateRows", callContext
);
14987 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.mutateRows");
14989 if (this->eventHandler_
.get() != NULL
) {
14990 this->eventHandler_
->preRead(ctx
, "Hbase.mutateRows");
14993 Hbase_mutateRows_args args
;
14995 iprot
->readMessageEnd();
14996 uint32_t bytes
= iprot
->getTransport()->readEnd();
14998 if (this->eventHandler_
.get() != NULL
) {
14999 this->eventHandler_
->postRead(ctx
, "Hbase.mutateRows", bytes
);
15002 Hbase_mutateRows_result result
;
15004 iface_
->mutateRows(args
.tableName
, args
.rowBatches
, args
.attributes
);
15005 } catch (IOError
&io
) {
15007 result
.__isset
.io
= true;
15008 } catch (IllegalArgument
&ia
) {
15010 result
.__isset
.ia
= true;
15011 } catch (const std::exception
& e
) {
15012 if (this->eventHandler_
.get() != NULL
) {
15013 this->eventHandler_
->handlerError(ctx
, "Hbase.mutateRows");
15016 ::apache::thrift::TApplicationException
x(e
.what());
15017 oprot
->writeMessageBegin("mutateRows", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15019 oprot
->writeMessageEnd();
15020 oprot
->getTransport()->writeEnd();
15021 oprot
->getTransport()->flush();
15025 if (this->eventHandler_
.get() != NULL
) {
15026 this->eventHandler_
->preWrite(ctx
, "Hbase.mutateRows");
15029 oprot
->writeMessageBegin("mutateRows", ::apache::thrift::protocol::T_REPLY
, seqid
);
15030 result
.write(oprot
);
15031 oprot
->writeMessageEnd();
15032 bytes
= oprot
->getTransport()->writeEnd();
15033 oprot
->getTransport()->flush();
15035 if (this->eventHandler_
.get() != NULL
) {
15036 this->eventHandler_
->postWrite(ctx
, "Hbase.mutateRows", bytes
);
15040 void HbaseProcessor::process_mutateRowsTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15043 if (this->eventHandler_
.get() != NULL
) {
15044 ctx
= this->eventHandler_
->getContext("Hbase.mutateRowsTs", callContext
);
15046 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.mutateRowsTs");
15048 if (this->eventHandler_
.get() != NULL
) {
15049 this->eventHandler_
->preRead(ctx
, "Hbase.mutateRowsTs");
15052 Hbase_mutateRowsTs_args args
;
15054 iprot
->readMessageEnd();
15055 uint32_t bytes
= iprot
->getTransport()->readEnd();
15057 if (this->eventHandler_
.get() != NULL
) {
15058 this->eventHandler_
->postRead(ctx
, "Hbase.mutateRowsTs", bytes
);
15061 Hbase_mutateRowsTs_result result
;
15063 iface_
->mutateRowsTs(args
.tableName
, args
.rowBatches
, args
.timestamp
, args
.attributes
);
15064 } catch (IOError
&io
) {
15066 result
.__isset
.io
= true;
15067 } catch (IllegalArgument
&ia
) {
15069 result
.__isset
.ia
= true;
15070 } catch (const std::exception
& e
) {
15071 if (this->eventHandler_
.get() != NULL
) {
15072 this->eventHandler_
->handlerError(ctx
, "Hbase.mutateRowsTs");
15075 ::apache::thrift::TApplicationException
x(e
.what());
15076 oprot
->writeMessageBegin("mutateRowsTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15078 oprot
->writeMessageEnd();
15079 oprot
->getTransport()->writeEnd();
15080 oprot
->getTransport()->flush();
15084 if (this->eventHandler_
.get() != NULL
) {
15085 this->eventHandler_
->preWrite(ctx
, "Hbase.mutateRowsTs");
15088 oprot
->writeMessageBegin("mutateRowsTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
15089 result
.write(oprot
);
15090 oprot
->writeMessageEnd();
15091 bytes
= oprot
->getTransport()->writeEnd();
15092 oprot
->getTransport()->flush();
15094 if (this->eventHandler_
.get() != NULL
) {
15095 this->eventHandler_
->postWrite(ctx
, "Hbase.mutateRowsTs", bytes
);
15099 void HbaseProcessor::process_atomicIncrement(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15102 if (this->eventHandler_
.get() != NULL
) {
15103 ctx
= this->eventHandler_
->getContext("Hbase.atomicIncrement", callContext
);
15105 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.atomicIncrement");
15107 if (this->eventHandler_
.get() != NULL
) {
15108 this->eventHandler_
->preRead(ctx
, "Hbase.atomicIncrement");
15111 Hbase_atomicIncrement_args args
;
15113 iprot
->readMessageEnd();
15114 uint32_t bytes
= iprot
->getTransport()->readEnd();
15116 if (this->eventHandler_
.get() != NULL
) {
15117 this->eventHandler_
->postRead(ctx
, "Hbase.atomicIncrement", bytes
);
15120 Hbase_atomicIncrement_result result
;
15122 result
.success
= iface_
->atomicIncrement(args
.tableName
, args
.row
, args
.column
, args
.value
);
15123 result
.__isset
.success
= true;
15124 } catch (IOError
&io
) {
15126 result
.__isset
.io
= true;
15127 } catch (IllegalArgument
&ia
) {
15129 result
.__isset
.ia
= true;
15130 } catch (const std::exception
& e
) {
15131 if (this->eventHandler_
.get() != NULL
) {
15132 this->eventHandler_
->handlerError(ctx
, "Hbase.atomicIncrement");
15135 ::apache::thrift::TApplicationException
x(e
.what());
15136 oprot
->writeMessageBegin("atomicIncrement", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15138 oprot
->writeMessageEnd();
15139 oprot
->getTransport()->writeEnd();
15140 oprot
->getTransport()->flush();
15144 if (this->eventHandler_
.get() != NULL
) {
15145 this->eventHandler_
->preWrite(ctx
, "Hbase.atomicIncrement");
15148 oprot
->writeMessageBegin("atomicIncrement", ::apache::thrift::protocol::T_REPLY
, seqid
);
15149 result
.write(oprot
);
15150 oprot
->writeMessageEnd();
15151 bytes
= oprot
->getTransport()->writeEnd();
15152 oprot
->getTransport()->flush();
15154 if (this->eventHandler_
.get() != NULL
) {
15155 this->eventHandler_
->postWrite(ctx
, "Hbase.atomicIncrement", bytes
);
15159 void HbaseProcessor::process_deleteAll(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15162 if (this->eventHandler_
.get() != NULL
) {
15163 ctx
= this->eventHandler_
->getContext("Hbase.deleteAll", callContext
);
15165 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.deleteAll");
15167 if (this->eventHandler_
.get() != NULL
) {
15168 this->eventHandler_
->preRead(ctx
, "Hbase.deleteAll");
15171 Hbase_deleteAll_args args
;
15173 iprot
->readMessageEnd();
15174 uint32_t bytes
= iprot
->getTransport()->readEnd();
15176 if (this->eventHandler_
.get() != NULL
) {
15177 this->eventHandler_
->postRead(ctx
, "Hbase.deleteAll", bytes
);
15180 Hbase_deleteAll_result result
;
15182 iface_
->deleteAll(args
.tableName
, args
.row
, args
.column
, args
.attributes
);
15183 } catch (IOError
&io
) {
15185 result
.__isset
.io
= true;
15186 } catch (const std::exception
& e
) {
15187 if (this->eventHandler_
.get() != NULL
) {
15188 this->eventHandler_
->handlerError(ctx
, "Hbase.deleteAll");
15191 ::apache::thrift::TApplicationException
x(e
.what());
15192 oprot
->writeMessageBegin("deleteAll", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15194 oprot
->writeMessageEnd();
15195 oprot
->getTransport()->writeEnd();
15196 oprot
->getTransport()->flush();
15200 if (this->eventHandler_
.get() != NULL
) {
15201 this->eventHandler_
->preWrite(ctx
, "Hbase.deleteAll");
15204 oprot
->writeMessageBegin("deleteAll", ::apache::thrift::protocol::T_REPLY
, seqid
);
15205 result
.write(oprot
);
15206 oprot
->writeMessageEnd();
15207 bytes
= oprot
->getTransport()->writeEnd();
15208 oprot
->getTransport()->flush();
15210 if (this->eventHandler_
.get() != NULL
) {
15211 this->eventHandler_
->postWrite(ctx
, "Hbase.deleteAll", bytes
);
15215 void HbaseProcessor::process_deleteAllTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15218 if (this->eventHandler_
.get() != NULL
) {
15219 ctx
= this->eventHandler_
->getContext("Hbase.deleteAllTs", callContext
);
15221 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.deleteAllTs");
15223 if (this->eventHandler_
.get() != NULL
) {
15224 this->eventHandler_
->preRead(ctx
, "Hbase.deleteAllTs");
15227 Hbase_deleteAllTs_args args
;
15229 iprot
->readMessageEnd();
15230 uint32_t bytes
= iprot
->getTransport()->readEnd();
15232 if (this->eventHandler_
.get() != NULL
) {
15233 this->eventHandler_
->postRead(ctx
, "Hbase.deleteAllTs", bytes
);
15236 Hbase_deleteAllTs_result result
;
15238 iface_
->deleteAllTs(args
.tableName
, args
.row
, args
.column
, args
.timestamp
, args
.attributes
);
15239 } catch (IOError
&io
) {
15241 result
.__isset
.io
= true;
15242 } catch (const std::exception
& e
) {
15243 if (this->eventHandler_
.get() != NULL
) {
15244 this->eventHandler_
->handlerError(ctx
, "Hbase.deleteAllTs");
15247 ::apache::thrift::TApplicationException
x(e
.what());
15248 oprot
->writeMessageBegin("deleteAllTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15250 oprot
->writeMessageEnd();
15251 oprot
->getTransport()->writeEnd();
15252 oprot
->getTransport()->flush();
15256 if (this->eventHandler_
.get() != NULL
) {
15257 this->eventHandler_
->preWrite(ctx
, "Hbase.deleteAllTs");
15260 oprot
->writeMessageBegin("deleteAllTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
15261 result
.write(oprot
);
15262 oprot
->writeMessageEnd();
15263 bytes
= oprot
->getTransport()->writeEnd();
15264 oprot
->getTransport()->flush();
15266 if (this->eventHandler_
.get() != NULL
) {
15267 this->eventHandler_
->postWrite(ctx
, "Hbase.deleteAllTs", bytes
);
15271 void HbaseProcessor::process_deleteAllRow(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15274 if (this->eventHandler_
.get() != NULL
) {
15275 ctx
= this->eventHandler_
->getContext("Hbase.deleteAllRow", callContext
);
15277 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.deleteAllRow");
15279 if (this->eventHandler_
.get() != NULL
) {
15280 this->eventHandler_
->preRead(ctx
, "Hbase.deleteAllRow");
15283 Hbase_deleteAllRow_args args
;
15285 iprot
->readMessageEnd();
15286 uint32_t bytes
= iprot
->getTransport()->readEnd();
15288 if (this->eventHandler_
.get() != NULL
) {
15289 this->eventHandler_
->postRead(ctx
, "Hbase.deleteAllRow", bytes
);
15292 Hbase_deleteAllRow_result result
;
15294 iface_
->deleteAllRow(args
.tableName
, args
.row
, args
.attributes
);
15295 } catch (IOError
&io
) {
15297 result
.__isset
.io
= true;
15298 } catch (const std::exception
& e
) {
15299 if (this->eventHandler_
.get() != NULL
) {
15300 this->eventHandler_
->handlerError(ctx
, "Hbase.deleteAllRow");
15303 ::apache::thrift::TApplicationException
x(e
.what());
15304 oprot
->writeMessageBegin("deleteAllRow", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15306 oprot
->writeMessageEnd();
15307 oprot
->getTransport()->writeEnd();
15308 oprot
->getTransport()->flush();
15312 if (this->eventHandler_
.get() != NULL
) {
15313 this->eventHandler_
->preWrite(ctx
, "Hbase.deleteAllRow");
15316 oprot
->writeMessageBegin("deleteAllRow", ::apache::thrift::protocol::T_REPLY
, seqid
);
15317 result
.write(oprot
);
15318 oprot
->writeMessageEnd();
15319 bytes
= oprot
->getTransport()->writeEnd();
15320 oprot
->getTransport()->flush();
15322 if (this->eventHandler_
.get() != NULL
) {
15323 this->eventHandler_
->postWrite(ctx
, "Hbase.deleteAllRow", bytes
);
15327 void HbaseProcessor::process_increment(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15330 if (this->eventHandler_
.get() != NULL
) {
15331 ctx
= this->eventHandler_
->getContext("Hbase.increment", callContext
);
15333 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.increment");
15335 if (this->eventHandler_
.get() != NULL
) {
15336 this->eventHandler_
->preRead(ctx
, "Hbase.increment");
15339 Hbase_increment_args args
;
15341 iprot
->readMessageEnd();
15342 uint32_t bytes
= iprot
->getTransport()->readEnd();
15344 if (this->eventHandler_
.get() != NULL
) {
15345 this->eventHandler_
->postRead(ctx
, "Hbase.increment", bytes
);
15348 Hbase_increment_result result
;
15350 iface_
->increment(args
.increment
);
15351 } catch (IOError
&io
) {
15353 result
.__isset
.io
= true;
15354 } catch (const std::exception
& e
) {
15355 if (this->eventHandler_
.get() != NULL
) {
15356 this->eventHandler_
->handlerError(ctx
, "Hbase.increment");
15359 ::apache::thrift::TApplicationException
x(e
.what());
15360 oprot
->writeMessageBegin("increment", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15362 oprot
->writeMessageEnd();
15363 oprot
->getTransport()->writeEnd();
15364 oprot
->getTransport()->flush();
15368 if (this->eventHandler_
.get() != NULL
) {
15369 this->eventHandler_
->preWrite(ctx
, "Hbase.increment");
15372 oprot
->writeMessageBegin("increment", ::apache::thrift::protocol::T_REPLY
, seqid
);
15373 result
.write(oprot
);
15374 oprot
->writeMessageEnd();
15375 bytes
= oprot
->getTransport()->writeEnd();
15376 oprot
->getTransport()->flush();
15378 if (this->eventHandler_
.get() != NULL
) {
15379 this->eventHandler_
->postWrite(ctx
, "Hbase.increment", bytes
);
15383 void HbaseProcessor::process_incrementRows(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15386 if (this->eventHandler_
.get() != NULL
) {
15387 ctx
= this->eventHandler_
->getContext("Hbase.incrementRows", callContext
);
15389 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.incrementRows");
15391 if (this->eventHandler_
.get() != NULL
) {
15392 this->eventHandler_
->preRead(ctx
, "Hbase.incrementRows");
15395 Hbase_incrementRows_args args
;
15397 iprot
->readMessageEnd();
15398 uint32_t bytes
= iprot
->getTransport()->readEnd();
15400 if (this->eventHandler_
.get() != NULL
) {
15401 this->eventHandler_
->postRead(ctx
, "Hbase.incrementRows", bytes
);
15404 Hbase_incrementRows_result result
;
15406 iface_
->incrementRows(args
.increments
);
15407 } catch (IOError
&io
) {
15409 result
.__isset
.io
= true;
15410 } catch (const std::exception
& e
) {
15411 if (this->eventHandler_
.get() != NULL
) {
15412 this->eventHandler_
->handlerError(ctx
, "Hbase.incrementRows");
15415 ::apache::thrift::TApplicationException
x(e
.what());
15416 oprot
->writeMessageBegin("incrementRows", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15418 oprot
->writeMessageEnd();
15419 oprot
->getTransport()->writeEnd();
15420 oprot
->getTransport()->flush();
15424 if (this->eventHandler_
.get() != NULL
) {
15425 this->eventHandler_
->preWrite(ctx
, "Hbase.incrementRows");
15428 oprot
->writeMessageBegin("incrementRows", ::apache::thrift::protocol::T_REPLY
, seqid
);
15429 result
.write(oprot
);
15430 oprot
->writeMessageEnd();
15431 bytes
= oprot
->getTransport()->writeEnd();
15432 oprot
->getTransport()->flush();
15434 if (this->eventHandler_
.get() != NULL
) {
15435 this->eventHandler_
->postWrite(ctx
, "Hbase.incrementRows", bytes
);
15439 void HbaseProcessor::process_deleteAllRowTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15442 if (this->eventHandler_
.get() != NULL
) {
15443 ctx
= this->eventHandler_
->getContext("Hbase.deleteAllRowTs", callContext
);
15445 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.deleteAllRowTs");
15447 if (this->eventHandler_
.get() != NULL
) {
15448 this->eventHandler_
->preRead(ctx
, "Hbase.deleteAllRowTs");
15451 Hbase_deleteAllRowTs_args args
;
15453 iprot
->readMessageEnd();
15454 uint32_t bytes
= iprot
->getTransport()->readEnd();
15456 if (this->eventHandler_
.get() != NULL
) {
15457 this->eventHandler_
->postRead(ctx
, "Hbase.deleteAllRowTs", bytes
);
15460 Hbase_deleteAllRowTs_result result
;
15462 iface_
->deleteAllRowTs(args
.tableName
, args
.row
, args
.timestamp
, args
.attributes
);
15463 } catch (IOError
&io
) {
15465 result
.__isset
.io
= true;
15466 } catch (const std::exception
& e
) {
15467 if (this->eventHandler_
.get() != NULL
) {
15468 this->eventHandler_
->handlerError(ctx
, "Hbase.deleteAllRowTs");
15471 ::apache::thrift::TApplicationException
x(e
.what());
15472 oprot
->writeMessageBegin("deleteAllRowTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15474 oprot
->writeMessageEnd();
15475 oprot
->getTransport()->writeEnd();
15476 oprot
->getTransport()->flush();
15480 if (this->eventHandler_
.get() != NULL
) {
15481 this->eventHandler_
->preWrite(ctx
, "Hbase.deleteAllRowTs");
15484 oprot
->writeMessageBegin("deleteAllRowTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
15485 result
.write(oprot
);
15486 oprot
->writeMessageEnd();
15487 bytes
= oprot
->getTransport()->writeEnd();
15488 oprot
->getTransport()->flush();
15490 if (this->eventHandler_
.get() != NULL
) {
15491 this->eventHandler_
->postWrite(ctx
, "Hbase.deleteAllRowTs", bytes
);
15495 void HbaseProcessor::process_scannerOpenWithScan(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15498 if (this->eventHandler_
.get() != NULL
) {
15499 ctx
= this->eventHandler_
->getContext("Hbase.scannerOpenWithScan", callContext
);
15501 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerOpenWithScan");
15503 if (this->eventHandler_
.get() != NULL
) {
15504 this->eventHandler_
->preRead(ctx
, "Hbase.scannerOpenWithScan");
15507 Hbase_scannerOpenWithScan_args args
;
15509 iprot
->readMessageEnd();
15510 uint32_t bytes
= iprot
->getTransport()->readEnd();
15512 if (this->eventHandler_
.get() != NULL
) {
15513 this->eventHandler_
->postRead(ctx
, "Hbase.scannerOpenWithScan", bytes
);
15516 Hbase_scannerOpenWithScan_result result
;
15518 result
.success
= iface_
->scannerOpenWithScan(args
.tableName
, args
.scan
, args
.attributes
);
15519 result
.__isset
.success
= true;
15520 } catch (IOError
&io
) {
15522 result
.__isset
.io
= true;
15523 } catch (const std::exception
& e
) {
15524 if (this->eventHandler_
.get() != NULL
) {
15525 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerOpenWithScan");
15528 ::apache::thrift::TApplicationException
x(e
.what());
15529 oprot
->writeMessageBegin("scannerOpenWithScan", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15531 oprot
->writeMessageEnd();
15532 oprot
->getTransport()->writeEnd();
15533 oprot
->getTransport()->flush();
15537 if (this->eventHandler_
.get() != NULL
) {
15538 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerOpenWithScan");
15541 oprot
->writeMessageBegin("scannerOpenWithScan", ::apache::thrift::protocol::T_REPLY
, seqid
);
15542 result
.write(oprot
);
15543 oprot
->writeMessageEnd();
15544 bytes
= oprot
->getTransport()->writeEnd();
15545 oprot
->getTransport()->flush();
15547 if (this->eventHandler_
.get() != NULL
) {
15548 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerOpenWithScan", bytes
);
15552 void HbaseProcessor::process_scannerOpen(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15555 if (this->eventHandler_
.get() != NULL
) {
15556 ctx
= this->eventHandler_
->getContext("Hbase.scannerOpen", callContext
);
15558 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerOpen");
15560 if (this->eventHandler_
.get() != NULL
) {
15561 this->eventHandler_
->preRead(ctx
, "Hbase.scannerOpen");
15564 Hbase_scannerOpen_args args
;
15566 iprot
->readMessageEnd();
15567 uint32_t bytes
= iprot
->getTransport()->readEnd();
15569 if (this->eventHandler_
.get() != NULL
) {
15570 this->eventHandler_
->postRead(ctx
, "Hbase.scannerOpen", bytes
);
15573 Hbase_scannerOpen_result result
;
15575 result
.success
= iface_
->scannerOpen(args
.tableName
, args
.startRow
, args
.columns
, args
.attributes
);
15576 result
.__isset
.success
= true;
15577 } catch (IOError
&io
) {
15579 result
.__isset
.io
= true;
15580 } catch (const std::exception
& e
) {
15581 if (this->eventHandler_
.get() != NULL
) {
15582 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerOpen");
15585 ::apache::thrift::TApplicationException
x(e
.what());
15586 oprot
->writeMessageBegin("scannerOpen", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15588 oprot
->writeMessageEnd();
15589 oprot
->getTransport()->writeEnd();
15590 oprot
->getTransport()->flush();
15594 if (this->eventHandler_
.get() != NULL
) {
15595 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerOpen");
15598 oprot
->writeMessageBegin("scannerOpen", ::apache::thrift::protocol::T_REPLY
, seqid
);
15599 result
.write(oprot
);
15600 oprot
->writeMessageEnd();
15601 bytes
= oprot
->getTransport()->writeEnd();
15602 oprot
->getTransport()->flush();
15604 if (this->eventHandler_
.get() != NULL
) {
15605 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerOpen", bytes
);
15609 void HbaseProcessor::process_scannerOpenWithStop(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15612 if (this->eventHandler_
.get() != NULL
) {
15613 ctx
= this->eventHandler_
->getContext("Hbase.scannerOpenWithStop", callContext
);
15615 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerOpenWithStop");
15617 if (this->eventHandler_
.get() != NULL
) {
15618 this->eventHandler_
->preRead(ctx
, "Hbase.scannerOpenWithStop");
15621 Hbase_scannerOpenWithStop_args args
;
15623 iprot
->readMessageEnd();
15624 uint32_t bytes
= iprot
->getTransport()->readEnd();
15626 if (this->eventHandler_
.get() != NULL
) {
15627 this->eventHandler_
->postRead(ctx
, "Hbase.scannerOpenWithStop", bytes
);
15630 Hbase_scannerOpenWithStop_result result
;
15632 result
.success
= iface_
->scannerOpenWithStop(args
.tableName
, args
.startRow
, args
.stopRow
, args
.columns
, args
.attributes
);
15633 result
.__isset
.success
= true;
15634 } catch (IOError
&io
) {
15636 result
.__isset
.io
= true;
15637 } catch (const std::exception
& e
) {
15638 if (this->eventHandler_
.get() != NULL
) {
15639 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerOpenWithStop");
15642 ::apache::thrift::TApplicationException
x(e
.what());
15643 oprot
->writeMessageBegin("scannerOpenWithStop", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15645 oprot
->writeMessageEnd();
15646 oprot
->getTransport()->writeEnd();
15647 oprot
->getTransport()->flush();
15651 if (this->eventHandler_
.get() != NULL
) {
15652 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerOpenWithStop");
15655 oprot
->writeMessageBegin("scannerOpenWithStop", ::apache::thrift::protocol::T_REPLY
, seqid
);
15656 result
.write(oprot
);
15657 oprot
->writeMessageEnd();
15658 bytes
= oprot
->getTransport()->writeEnd();
15659 oprot
->getTransport()->flush();
15661 if (this->eventHandler_
.get() != NULL
) {
15662 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerOpenWithStop", bytes
);
15666 void HbaseProcessor::process_scannerOpenWithPrefix(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15669 if (this->eventHandler_
.get() != NULL
) {
15670 ctx
= this->eventHandler_
->getContext("Hbase.scannerOpenWithPrefix", callContext
);
15672 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerOpenWithPrefix");
15674 if (this->eventHandler_
.get() != NULL
) {
15675 this->eventHandler_
->preRead(ctx
, "Hbase.scannerOpenWithPrefix");
15678 Hbase_scannerOpenWithPrefix_args args
;
15680 iprot
->readMessageEnd();
15681 uint32_t bytes
= iprot
->getTransport()->readEnd();
15683 if (this->eventHandler_
.get() != NULL
) {
15684 this->eventHandler_
->postRead(ctx
, "Hbase.scannerOpenWithPrefix", bytes
);
15687 Hbase_scannerOpenWithPrefix_result result
;
15689 result
.success
= iface_
->scannerOpenWithPrefix(args
.tableName
, args
.startAndPrefix
, args
.columns
, args
.attributes
);
15690 result
.__isset
.success
= true;
15691 } catch (IOError
&io
) {
15693 result
.__isset
.io
= true;
15694 } catch (const std::exception
& e
) {
15695 if (this->eventHandler_
.get() != NULL
) {
15696 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerOpenWithPrefix");
15699 ::apache::thrift::TApplicationException
x(e
.what());
15700 oprot
->writeMessageBegin("scannerOpenWithPrefix", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15702 oprot
->writeMessageEnd();
15703 oprot
->getTransport()->writeEnd();
15704 oprot
->getTransport()->flush();
15708 if (this->eventHandler_
.get() != NULL
) {
15709 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerOpenWithPrefix");
15712 oprot
->writeMessageBegin("scannerOpenWithPrefix", ::apache::thrift::protocol::T_REPLY
, seqid
);
15713 result
.write(oprot
);
15714 oprot
->writeMessageEnd();
15715 bytes
= oprot
->getTransport()->writeEnd();
15716 oprot
->getTransport()->flush();
15718 if (this->eventHandler_
.get() != NULL
) {
15719 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerOpenWithPrefix", bytes
);
15723 void HbaseProcessor::process_scannerOpenTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15726 if (this->eventHandler_
.get() != NULL
) {
15727 ctx
= this->eventHandler_
->getContext("Hbase.scannerOpenTs", callContext
);
15729 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerOpenTs");
15731 if (this->eventHandler_
.get() != NULL
) {
15732 this->eventHandler_
->preRead(ctx
, "Hbase.scannerOpenTs");
15735 Hbase_scannerOpenTs_args args
;
15737 iprot
->readMessageEnd();
15738 uint32_t bytes
= iprot
->getTransport()->readEnd();
15740 if (this->eventHandler_
.get() != NULL
) {
15741 this->eventHandler_
->postRead(ctx
, "Hbase.scannerOpenTs", bytes
);
15744 Hbase_scannerOpenTs_result result
;
15746 result
.success
= iface_
->scannerOpenTs(args
.tableName
, args
.startRow
, args
.columns
, args
.timestamp
, args
.attributes
);
15747 result
.__isset
.success
= true;
15748 } catch (IOError
&io
) {
15750 result
.__isset
.io
= true;
15751 } catch (const std::exception
& e
) {
15752 if (this->eventHandler_
.get() != NULL
) {
15753 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerOpenTs");
15756 ::apache::thrift::TApplicationException
x(e
.what());
15757 oprot
->writeMessageBegin("scannerOpenTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15759 oprot
->writeMessageEnd();
15760 oprot
->getTransport()->writeEnd();
15761 oprot
->getTransport()->flush();
15765 if (this->eventHandler_
.get() != NULL
) {
15766 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerOpenTs");
15769 oprot
->writeMessageBegin("scannerOpenTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
15770 result
.write(oprot
);
15771 oprot
->writeMessageEnd();
15772 bytes
= oprot
->getTransport()->writeEnd();
15773 oprot
->getTransport()->flush();
15775 if (this->eventHandler_
.get() != NULL
) {
15776 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerOpenTs", bytes
);
15780 void HbaseProcessor::process_scannerOpenWithStopTs(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15783 if (this->eventHandler_
.get() != NULL
) {
15784 ctx
= this->eventHandler_
->getContext("Hbase.scannerOpenWithStopTs", callContext
);
15786 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerOpenWithStopTs");
15788 if (this->eventHandler_
.get() != NULL
) {
15789 this->eventHandler_
->preRead(ctx
, "Hbase.scannerOpenWithStopTs");
15792 Hbase_scannerOpenWithStopTs_args args
;
15794 iprot
->readMessageEnd();
15795 uint32_t bytes
= iprot
->getTransport()->readEnd();
15797 if (this->eventHandler_
.get() != NULL
) {
15798 this->eventHandler_
->postRead(ctx
, "Hbase.scannerOpenWithStopTs", bytes
);
15801 Hbase_scannerOpenWithStopTs_result result
;
15803 result
.success
= iface_
->scannerOpenWithStopTs(args
.tableName
, args
.startRow
, args
.stopRow
, args
.columns
, args
.timestamp
, args
.attributes
);
15804 result
.__isset
.success
= true;
15805 } catch (IOError
&io
) {
15807 result
.__isset
.io
= true;
15808 } catch (const std::exception
& e
) {
15809 if (this->eventHandler_
.get() != NULL
) {
15810 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerOpenWithStopTs");
15813 ::apache::thrift::TApplicationException
x(e
.what());
15814 oprot
->writeMessageBegin("scannerOpenWithStopTs", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15816 oprot
->writeMessageEnd();
15817 oprot
->getTransport()->writeEnd();
15818 oprot
->getTransport()->flush();
15822 if (this->eventHandler_
.get() != NULL
) {
15823 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerOpenWithStopTs");
15826 oprot
->writeMessageBegin("scannerOpenWithStopTs", ::apache::thrift::protocol::T_REPLY
, seqid
);
15827 result
.write(oprot
);
15828 oprot
->writeMessageEnd();
15829 bytes
= oprot
->getTransport()->writeEnd();
15830 oprot
->getTransport()->flush();
15832 if (this->eventHandler_
.get() != NULL
) {
15833 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerOpenWithStopTs", bytes
);
15837 void HbaseProcessor::process_scannerGet(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15840 if (this->eventHandler_
.get() != NULL
) {
15841 ctx
= this->eventHandler_
->getContext("Hbase.scannerGet", callContext
);
15843 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerGet");
15845 if (this->eventHandler_
.get() != NULL
) {
15846 this->eventHandler_
->preRead(ctx
, "Hbase.scannerGet");
15849 Hbase_scannerGet_args args
;
15851 iprot
->readMessageEnd();
15852 uint32_t bytes
= iprot
->getTransport()->readEnd();
15854 if (this->eventHandler_
.get() != NULL
) {
15855 this->eventHandler_
->postRead(ctx
, "Hbase.scannerGet", bytes
);
15858 Hbase_scannerGet_result result
;
15860 iface_
->scannerGet(result
.success
, args
.id
);
15861 result
.__isset
.success
= true;
15862 } catch (IOError
&io
) {
15864 result
.__isset
.io
= true;
15865 } catch (IllegalArgument
&ia
) {
15867 result
.__isset
.ia
= true;
15868 } catch (const std::exception
& e
) {
15869 if (this->eventHandler_
.get() != NULL
) {
15870 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerGet");
15873 ::apache::thrift::TApplicationException
x(e
.what());
15874 oprot
->writeMessageBegin("scannerGet", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15876 oprot
->writeMessageEnd();
15877 oprot
->getTransport()->writeEnd();
15878 oprot
->getTransport()->flush();
15882 if (this->eventHandler_
.get() != NULL
) {
15883 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerGet");
15886 oprot
->writeMessageBegin("scannerGet", ::apache::thrift::protocol::T_REPLY
, seqid
);
15887 result
.write(oprot
);
15888 oprot
->writeMessageEnd();
15889 bytes
= oprot
->getTransport()->writeEnd();
15890 oprot
->getTransport()->flush();
15892 if (this->eventHandler_
.get() != NULL
) {
15893 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerGet", bytes
);
15897 void HbaseProcessor::process_scannerGetList(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15900 if (this->eventHandler_
.get() != NULL
) {
15901 ctx
= this->eventHandler_
->getContext("Hbase.scannerGetList", callContext
);
15903 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerGetList");
15905 if (this->eventHandler_
.get() != NULL
) {
15906 this->eventHandler_
->preRead(ctx
, "Hbase.scannerGetList");
15909 Hbase_scannerGetList_args args
;
15911 iprot
->readMessageEnd();
15912 uint32_t bytes
= iprot
->getTransport()->readEnd();
15914 if (this->eventHandler_
.get() != NULL
) {
15915 this->eventHandler_
->postRead(ctx
, "Hbase.scannerGetList", bytes
);
15918 Hbase_scannerGetList_result result
;
15920 iface_
->scannerGetList(result
.success
, args
.id
, args
.nbRows
);
15921 result
.__isset
.success
= true;
15922 } catch (IOError
&io
) {
15924 result
.__isset
.io
= true;
15925 } catch (IllegalArgument
&ia
) {
15927 result
.__isset
.ia
= true;
15928 } catch (const std::exception
& e
) {
15929 if (this->eventHandler_
.get() != NULL
) {
15930 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerGetList");
15933 ::apache::thrift::TApplicationException
x(e
.what());
15934 oprot
->writeMessageBegin("scannerGetList", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15936 oprot
->writeMessageEnd();
15937 oprot
->getTransport()->writeEnd();
15938 oprot
->getTransport()->flush();
15942 if (this->eventHandler_
.get() != NULL
) {
15943 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerGetList");
15946 oprot
->writeMessageBegin("scannerGetList", ::apache::thrift::protocol::T_REPLY
, seqid
);
15947 result
.write(oprot
);
15948 oprot
->writeMessageEnd();
15949 bytes
= oprot
->getTransport()->writeEnd();
15950 oprot
->getTransport()->flush();
15952 if (this->eventHandler_
.get() != NULL
) {
15953 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerGetList", bytes
);
15957 void HbaseProcessor::process_scannerClose(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
15960 if (this->eventHandler_
.get() != NULL
) {
15961 ctx
= this->eventHandler_
->getContext("Hbase.scannerClose", callContext
);
15963 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.scannerClose");
15965 if (this->eventHandler_
.get() != NULL
) {
15966 this->eventHandler_
->preRead(ctx
, "Hbase.scannerClose");
15969 Hbase_scannerClose_args args
;
15971 iprot
->readMessageEnd();
15972 uint32_t bytes
= iprot
->getTransport()->readEnd();
15974 if (this->eventHandler_
.get() != NULL
) {
15975 this->eventHandler_
->postRead(ctx
, "Hbase.scannerClose", bytes
);
15978 Hbase_scannerClose_result result
;
15980 iface_
->scannerClose(args
.id
);
15981 } catch (IOError
&io
) {
15983 result
.__isset
.io
= true;
15984 } catch (IllegalArgument
&ia
) {
15986 result
.__isset
.ia
= true;
15987 } catch (const std::exception
& e
) {
15988 if (this->eventHandler_
.get() != NULL
) {
15989 this->eventHandler_
->handlerError(ctx
, "Hbase.scannerClose");
15992 ::apache::thrift::TApplicationException
x(e
.what());
15993 oprot
->writeMessageBegin("scannerClose", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
15995 oprot
->writeMessageEnd();
15996 oprot
->getTransport()->writeEnd();
15997 oprot
->getTransport()->flush();
16001 if (this->eventHandler_
.get() != NULL
) {
16002 this->eventHandler_
->preWrite(ctx
, "Hbase.scannerClose");
16005 oprot
->writeMessageBegin("scannerClose", ::apache::thrift::protocol::T_REPLY
, seqid
);
16006 result
.write(oprot
);
16007 oprot
->writeMessageEnd();
16008 bytes
= oprot
->getTransport()->writeEnd();
16009 oprot
->getTransport()->flush();
16011 if (this->eventHandler_
.get() != NULL
) {
16012 this->eventHandler_
->postWrite(ctx
, "Hbase.scannerClose", bytes
);
16016 void HbaseProcessor::process_getRowOrBefore(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
16019 if (this->eventHandler_
.get() != NULL
) {
16020 ctx
= this->eventHandler_
->getContext("Hbase.getRowOrBefore", callContext
);
16022 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRowOrBefore");
16024 if (this->eventHandler_
.get() != NULL
) {
16025 this->eventHandler_
->preRead(ctx
, "Hbase.getRowOrBefore");
16028 Hbase_getRowOrBefore_args args
;
16030 iprot
->readMessageEnd();
16031 uint32_t bytes
= iprot
->getTransport()->readEnd();
16033 if (this->eventHandler_
.get() != NULL
) {
16034 this->eventHandler_
->postRead(ctx
, "Hbase.getRowOrBefore", bytes
);
16037 Hbase_getRowOrBefore_result result
;
16039 iface_
->getRowOrBefore(result
.success
, args
.tableName
, args
.row
, args
.family
);
16040 result
.__isset
.success
= true;
16041 } catch (IOError
&io
) {
16043 result
.__isset
.io
= true;
16044 } catch (const std::exception
& e
) {
16045 if (this->eventHandler_
.get() != NULL
) {
16046 this->eventHandler_
->handlerError(ctx
, "Hbase.getRowOrBefore");
16049 ::apache::thrift::TApplicationException
x(e
.what());
16050 oprot
->writeMessageBegin("getRowOrBefore", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
16052 oprot
->writeMessageEnd();
16053 oprot
->getTransport()->writeEnd();
16054 oprot
->getTransport()->flush();
16058 if (this->eventHandler_
.get() != NULL
) {
16059 this->eventHandler_
->preWrite(ctx
, "Hbase.getRowOrBefore");
16062 oprot
->writeMessageBegin("getRowOrBefore", ::apache::thrift::protocol::T_REPLY
, seqid
);
16063 result
.write(oprot
);
16064 oprot
->writeMessageEnd();
16065 bytes
= oprot
->getTransport()->writeEnd();
16066 oprot
->getTransport()->flush();
16068 if (this->eventHandler_
.get() != NULL
) {
16069 this->eventHandler_
->postWrite(ctx
, "Hbase.getRowOrBefore", bytes
);
16073 void HbaseProcessor::process_getRegionInfo(int32_t seqid
, ::apache::thrift::protocol::TProtocol
* iprot
, ::apache::thrift::protocol::TProtocol
* oprot
, void* callContext
)
16076 if (this->eventHandler_
.get() != NULL
) {
16077 ctx
= this->eventHandler_
->getContext("Hbase.getRegionInfo", callContext
);
16079 ::apache::thrift::TProcessorContextFreer
freer(this->eventHandler_
.get(), ctx
, "Hbase.getRegionInfo");
16081 if (this->eventHandler_
.get() != NULL
) {
16082 this->eventHandler_
->preRead(ctx
, "Hbase.getRegionInfo");
16085 Hbase_getRegionInfo_args args
;
16087 iprot
->readMessageEnd();
16088 uint32_t bytes
= iprot
->getTransport()->readEnd();
16090 if (this->eventHandler_
.get() != NULL
) {
16091 this->eventHandler_
->postRead(ctx
, "Hbase.getRegionInfo", bytes
);
16094 Hbase_getRegionInfo_result result
;
16096 iface_
->getRegionInfo(result
.success
, args
.row
);
16097 result
.__isset
.success
= true;
16098 } catch (IOError
&io
) {
16100 result
.__isset
.io
= true;
16101 } catch (const std::exception
& e
) {
16102 if (this->eventHandler_
.get() != NULL
) {
16103 this->eventHandler_
->handlerError(ctx
, "Hbase.getRegionInfo");
16106 ::apache::thrift::TApplicationException
x(e
.what());
16107 oprot
->writeMessageBegin("getRegionInfo", ::apache::thrift::protocol::T_EXCEPTION
, seqid
);
16109 oprot
->writeMessageEnd();
16110 oprot
->getTransport()->writeEnd();
16111 oprot
->getTransport()->flush();
16115 if (this->eventHandler_
.get() != NULL
) {
16116 this->eventHandler_
->preWrite(ctx
, "Hbase.getRegionInfo");
16119 oprot
->writeMessageBegin("getRegionInfo", ::apache::thrift::protocol::T_REPLY
, seqid
);
16120 result
.write(oprot
);
16121 oprot
->writeMessageEnd();
16122 bytes
= oprot
->getTransport()->writeEnd();
16123 oprot
->getTransport()->flush();
16125 if (this->eventHandler_
.get() != NULL
) {
16126 this->eventHandler_
->postWrite(ctx
, "Hbase.getRegionInfo", bytes
);
16130 std::shared_ptr
< ::apache::thrift::TProcessor
> HbaseProcessorFactory::getProcessor(const ::apache::thrift::TConnectionInfo
& connInfo
) {
16131 ::apache::thrift::ReleaseHandler
< HbaseIfFactory
> cleanup(handlerFactory_
);
16132 std::shared_ptr
< HbaseIf
> handler(handlerFactory_
->getHandler(connInfo
), cleanup
);
16133 std::shared_ptr
< ::apache::thrift::TProcessor
> processor(new HbaseProcessor(handler
));