Class: HbaseClient::Thrift::Hbase::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/hbase-client/thrift/hbase.rb

Instance Method Summary collapse

Instance Method Details

#process_append(seqid, iprot, oprot) ⇒ Object



1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
# File 'lib/hbase-client/thrift/hbase.rb', line 1228

def process_append(seqid, iprot, oprot)
  args = read_args(iprot, Append_args)
  result = Append_result.new()
  begin
    result.success = @handler.append(args.append)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'append', seqid)
end

#process_atomicIncrement(seqid, iprot, oprot) ⇒ Object



1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
# File 'lib/hbase-client/thrift/hbase.rb', line 1022

def process_atomicIncrement(seqid, iprot, oprot)
  args = read_args(iprot, AtomicIncrement_args)
  result = AtomicIncrement_result.new()
  begin
    result.success = @handler.atomicIncrement(args.tableName, args.row, args.column, args.value)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'atomicIncrement', seqid)
end

#process_checkAndPut(seqid, iprot, oprot) ⇒ Object



1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
# File 'lib/hbase-client/thrift/hbase.rb', line 1239

def process_checkAndPut(seqid, iprot, oprot)
  args = read_args(iprot, CheckAndPut_args)
  result = CheckAndPut_result.new()
  begin
    result.success = @handler.checkAndPut(args.tableName, args.row, args.column, args.value, args.mput, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'checkAndPut', seqid)
end

#process_compact(seqid, iprot, oprot) ⇒ Object



768
769
770
771
772
773
774
775
776
777
# File 'lib/hbase-client/thrift/hbase.rb', line 768

def process_compact(seqid, iprot, oprot)
  args = read_args(iprot, Compact_args)
  result = Compact_result.new()
  begin
    @handler.compact(args.tableNameOrRegionName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'compact', seqid)
end

#process_createTable(seqid, iprot, oprot) ⇒ Object



823
824
825
826
827
828
829
830
831
832
833
834
835
836
# File 'lib/hbase-client/thrift/hbase.rb', line 823

def process_createTable(seqid, iprot, oprot)
  args = read_args(iprot, CreateTable_args)
  result = CreateTable_result.new()
  begin
    @handler.createTable(args.tableName, args.columnFamilies)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  rescue ::HbaseClient::Thrift::AlreadyExists => exist
    result.exist = exist
  end
  write_result(result, oprot, 'createTable', seqid)
end

#process_deleteAll(seqid, iprot, oprot) ⇒ Object



1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'lib/hbase-client/thrift/hbase.rb', line 1035

def process_deleteAll(seqid, iprot, oprot)
  args = read_args(iprot, DeleteAll_args)
  result = DeleteAll_result.new()
  begin
    @handler.deleteAll(args.tableName, args.row, args.column, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAll', seqid)
end

#process_deleteAllRow(seqid, iprot, oprot) ⇒ Object



1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
# File 'lib/hbase-client/thrift/hbase.rb', line 1057

def process_deleteAllRow(seqid, iprot, oprot)
  args = read_args(iprot, DeleteAllRow_args)
  result = DeleteAllRow_result.new()
  begin
    @handler.deleteAllRow(args.tableName, args.row, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAllRow', seqid)
end

#process_deleteAllRowTs(seqid, iprot, oprot) ⇒ Object



1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
# File 'lib/hbase-client/thrift/hbase.rb', line 1090

def process_deleteAllRowTs(seqid, iprot, oprot)
  args = read_args(iprot, DeleteAllRowTs_args)
  result = DeleteAllRowTs_result.new()
  begin
    @handler.deleteAllRowTs(args.tableName, args.row, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAllRowTs', seqid)
end

#process_deleteAllTs(seqid, iprot, oprot) ⇒ Object



1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
# File 'lib/hbase-client/thrift/hbase.rb', line 1046

def process_deleteAllTs(seqid, iprot, oprot)
  args = read_args(iprot, DeleteAllTs_args)
  result = DeleteAllTs_result.new()
  begin
    @handler.deleteAllTs(args.tableName, args.row, args.column, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAllTs', seqid)
end

#process_deleteTable(seqid, iprot, oprot) ⇒ Object



838
839
840
841
842
843
844
845
846
847
# File 'lib/hbase-client/thrift/hbase.rb', line 838

def process_deleteTable(seqid, iprot, oprot)
  args = read_args(iprot, DeleteTable_args)
  result = DeleteTable_result.new()
  begin
    @handler.deleteTable(args.tableName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteTable', seqid)
end

#process_disableTable(seqid, iprot, oprot) ⇒ Object



746
747
748
749
750
751
752
753
754
755
# File 'lib/hbase-client/thrift/hbase.rb', line 746

def process_disableTable(seqid, iprot, oprot)
  args = read_args(iprot, DisableTable_args)
  result = DisableTable_result.new()
  begin
    @handler.disableTable(args.tableName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'disableTable', seqid)
end

#process_enableTable(seqid, iprot, oprot) ⇒ Object



735
736
737
738
739
740
741
742
743
744
# File 'lib/hbase-client/thrift/hbase.rb', line 735

def process_enableTable(seqid, iprot, oprot)
  args = read_args(iprot, EnableTable_args)
  result = EnableTable_result.new()
  begin
    @handler.enableTable(args.tableName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'enableTable', seqid)
end

#process_get(seqid, iprot, oprot) ⇒ Object



849
850
851
852
853
854
855
856
857
858
# File 'lib/hbase-client/thrift/hbase.rb', line 849

def process_get(seqid, iprot, oprot)
  args = read_args(iprot, Get_args)
  result = Get_result.new()
  begin
    result.success = @handler.get(args.tableName, args.row, args.column, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'get', seqid)
end

#process_getColumnDescriptors(seqid, iprot, oprot) ⇒ Object



801
802
803
804
805
806
807
808
809
810
# File 'lib/hbase-client/thrift/hbase.rb', line 801

def process_getColumnDescriptors(seqid, iprot, oprot)
  args = read_args(iprot, GetColumnDescriptors_args)
  result = GetColumnDescriptors_result.new()
  begin
    result.success = @handler.getColumnDescriptors(args.tableName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getColumnDescriptors', seqid)
end

#process_getRegionInfo(seqid, iprot, oprot) ⇒ Object



1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'lib/hbase-client/thrift/hbase.rb', line 1217

def process_getRegionInfo(seqid, iprot, oprot)
  args = read_args(iprot, GetRegionInfo_args)
  result = GetRegionInfo_result.new()
  begin
    result.success = @handler.getRegionInfo(args.row)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRegionInfo', seqid)
end

#process_getRow(seqid, iprot, oprot) ⇒ Object



882
883
884
885
886
887
888
889
890
891
# File 'lib/hbase-client/thrift/hbase.rb', line 882

def process_getRow(seqid, iprot, oprot)
  args = read_args(iprot, GetRow_args)
  result = GetRow_result.new()
  begin
    result.success = @handler.getRow(args.tableName, args.row, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRow', seqid)
end

#process_getRowOrBefore(seqid, iprot, oprot) ⇒ Object



1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
# File 'lib/hbase-client/thrift/hbase.rb', line 1206

def process_getRowOrBefore(seqid, iprot, oprot)
  args = read_args(iprot, GetRowOrBefore_args)
  result = GetRowOrBefore_result.new()
  begin
    result.success = @handler.getRowOrBefore(args.tableName, args.row, args.family)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowOrBefore', seqid)
end

#process_getRows(seqid, iprot, oprot) ⇒ Object



926
927
928
929
930
931
932
933
934
935
# File 'lib/hbase-client/thrift/hbase.rb', line 926

def process_getRows(seqid, iprot, oprot)
  args = read_args(iprot, GetRows_args)
  result = GetRows_result.new()
  begin
    result.success = @handler.getRows(args.tableName, args.rows, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRows', seqid)
end

#process_getRowsTs(seqid, iprot, oprot) ⇒ Object



948
949
950
951
952
953
954
955
956
957
# File 'lib/hbase-client/thrift/hbase.rb', line 948

def process_getRowsTs(seqid, iprot, oprot)
  args = read_args(iprot, GetRowsTs_args)
  result = GetRowsTs_result.new()
  begin
    result.success = @handler.getRowsTs(args.tableName, args.rows, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowsTs', seqid)
end

#process_getRowsWithColumns(seqid, iprot, oprot) ⇒ Object



937
938
939
940
941
942
943
944
945
946
# File 'lib/hbase-client/thrift/hbase.rb', line 937

def process_getRowsWithColumns(seqid, iprot, oprot)
  args = read_args(iprot, GetRowsWithColumns_args)
  result = GetRowsWithColumns_result.new()
  begin
    result.success = @handler.getRowsWithColumns(args.tableName, args.rows, args.columns, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowsWithColumns', seqid)
end

#process_getRowsWithColumnsTs(seqid, iprot, oprot) ⇒ Object



959
960
961
962
963
964
965
966
967
968
# File 'lib/hbase-client/thrift/hbase.rb', line 959

def process_getRowsWithColumnsTs(seqid, iprot, oprot)
  args = read_args(iprot, GetRowsWithColumnsTs_args)
  result = GetRowsWithColumnsTs_result.new()
  begin
    result.success = @handler.getRowsWithColumnsTs(args.tableName, args.rows, args.columns, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowsWithColumnsTs', seqid)
end

#process_getRowTs(seqid, iprot, oprot) ⇒ Object



904
905
906
907
908
909
910
911
912
913
# File 'lib/hbase-client/thrift/hbase.rb', line 904

def process_getRowTs(seqid, iprot, oprot)
  args = read_args(iprot, GetRowTs_args)
  result = GetRowTs_result.new()
  begin
    result.success = @handler.getRowTs(args.tableName, args.row, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowTs', seqid)
end

#process_getRowWithColumns(seqid, iprot, oprot) ⇒ Object



893
894
895
896
897
898
899
900
901
902
# File 'lib/hbase-client/thrift/hbase.rb', line 893

def process_getRowWithColumns(seqid, iprot, oprot)
  args = read_args(iprot, GetRowWithColumns_args)
  result = GetRowWithColumns_result.new()
  begin
    result.success = @handler.getRowWithColumns(args.tableName, args.row, args.columns, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowWithColumns', seqid)
end

#process_getRowWithColumnsTs(seqid, iprot, oprot) ⇒ Object



915
916
917
918
919
920
921
922
923
924
# File 'lib/hbase-client/thrift/hbase.rb', line 915

def process_getRowWithColumnsTs(seqid, iprot, oprot)
  args = read_args(iprot, GetRowWithColumnsTs_args)
  result = GetRowWithColumnsTs_result.new()
  begin
    result.success = @handler.getRowWithColumnsTs(args.tableName, args.row, args.columns, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowWithColumnsTs', seqid)
end

#process_getTableNames(seqid, iprot, oprot) ⇒ Object



790
791
792
793
794
795
796
797
798
799
# File 'lib/hbase-client/thrift/hbase.rb', line 790

def process_getTableNames(seqid, iprot, oprot)
  args = read_args(iprot, GetTableNames_args)
  result = GetTableNames_result.new()
  begin
    result.success = @handler.getTableNames()
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getTableNames', seqid)
end

#process_getTableRegions(seqid, iprot, oprot) ⇒ Object



812
813
814
815
816
817
818
819
820
821
# File 'lib/hbase-client/thrift/hbase.rb', line 812

def process_getTableRegions(seqid, iprot, oprot)
  args = read_args(iprot, GetTableRegions_args)
  result = GetTableRegions_result.new()
  begin
    result.success = @handler.getTableRegions(args.tableName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getTableRegions', seqid)
end

#process_getVer(seqid, iprot, oprot) ⇒ Object



860
861
862
863
864
865
866
867
868
869
# File 'lib/hbase-client/thrift/hbase.rb', line 860

def process_getVer(seqid, iprot, oprot)
  args = read_args(iprot, GetVer_args)
  result = GetVer_result.new()
  begin
    result.success = @handler.getVer(args.tableName, args.row, args.column, args.numVersions, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getVer', seqid)
end

#process_getVerTs(seqid, iprot, oprot) ⇒ Object



871
872
873
874
875
876
877
878
879
880
# File 'lib/hbase-client/thrift/hbase.rb', line 871

def process_getVerTs(seqid, iprot, oprot)
  args = read_args(iprot, GetVerTs_args)
  result = GetVerTs_result.new()
  begin
    result.success = @handler.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getVerTs', seqid)
end

#process_increment(seqid, iprot, oprot) ⇒ Object



1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
# File 'lib/hbase-client/thrift/hbase.rb', line 1068

def process_increment(seqid, iprot, oprot)
  args = read_args(iprot, Increment_args)
  result = Increment_result.new()
  begin
    @handler.increment(args.increment)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'increment', seqid)
end

#process_incrementRows(seqid, iprot, oprot) ⇒ Object



1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'lib/hbase-client/thrift/hbase.rb', line 1079

def process_incrementRows(seqid, iprot, oprot)
  args = read_args(iprot, IncrementRows_args)
  result = IncrementRows_result.new()
  begin
    @handler.incrementRows(args.increments)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'incrementRows', seqid)
end

#process_isTableEnabled(seqid, iprot, oprot) ⇒ Object



757
758
759
760
761
762
763
764
765
766
# File 'lib/hbase-client/thrift/hbase.rb', line 757

def process_isTableEnabled(seqid, iprot, oprot)
  args = read_args(iprot, IsTableEnabled_args)
  result = IsTableEnabled_result.new()
  begin
    result.success = @handler.isTableEnabled(args.tableName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'isTableEnabled', seqid)
end

#process_majorCompact(seqid, iprot, oprot) ⇒ Object



779
780
781
782
783
784
785
786
787
788
# File 'lib/hbase-client/thrift/hbase.rb', line 779

def process_majorCompact(seqid, iprot, oprot)
  args = read_args(iprot, MajorCompact_args)
  result = MajorCompact_result.new()
  begin
    @handler.majorCompact(args.tableNameOrRegionName)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'majorCompact', seqid)
end

#process_mutateRow(seqid, iprot, oprot) ⇒ Object



970
971
972
973
974
975
976
977
978
979
980
981
# File 'lib/hbase-client/thrift/hbase.rb', line 970

def process_mutateRow(seqid, iprot, oprot)
  args = read_args(iprot, MutateRow_args)
  result = MutateRow_result.new()
  begin
    @handler.mutateRow(args.tableName, args.row, args.mutations, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRow', seqid)
end

#process_mutateRows(seqid, iprot, oprot) ⇒ Object



996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
# File 'lib/hbase-client/thrift/hbase.rb', line 996

def process_mutateRows(seqid, iprot, oprot)
  args = read_args(iprot, MutateRows_args)
  result = MutateRows_result.new()
  begin
    @handler.mutateRows(args.tableName, args.rowBatches, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRows', seqid)
end

#process_mutateRowsTs(seqid, iprot, oprot) ⇒ Object



1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'lib/hbase-client/thrift/hbase.rb', line 1009

def process_mutateRowsTs(seqid, iprot, oprot)
  args = read_args(iprot, MutateRowsTs_args)
  result = MutateRowsTs_result.new()
  begin
    @handler.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRowsTs', seqid)
end

#process_mutateRowTs(seqid, iprot, oprot) ⇒ Object



983
984
985
986
987
988
989
990
991
992
993
994
# File 'lib/hbase-client/thrift/hbase.rb', line 983

def process_mutateRowTs(seqid, iprot, oprot)
  args = read_args(iprot, MutateRowTs_args)
  result = MutateRowTs_result.new()
  begin
    @handler.mutateRowTs(args.tableName, args.row, args.mutations, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRowTs', seqid)
end

#process_scannerClose(seqid, iprot, oprot) ⇒ Object



1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
# File 'lib/hbase-client/thrift/hbase.rb', line 1193

def process_scannerClose(seqid, iprot, oprot)
  args = read_args(iprot, ScannerClose_args)
  result = ScannerClose_result.new()
  begin
    @handler.scannerClose(args.id)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'scannerClose', seqid)
end

#process_scannerGet(seqid, iprot, oprot) ⇒ Object



1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
# File 'lib/hbase-client/thrift/hbase.rb', line 1167

def process_scannerGet(seqid, iprot, oprot)
  args = read_args(iprot, ScannerGet_args)
  result = ScannerGet_result.new()
  begin
    result.success = @handler.scannerGet(args.id)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'scannerGet', seqid)
end

#process_scannerGetList(seqid, iprot, oprot) ⇒ Object



1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
# File 'lib/hbase-client/thrift/hbase.rb', line 1180

def process_scannerGetList(seqid, iprot, oprot)
  args = read_args(iprot, ScannerGetList_args)
  result = ScannerGetList_result.new()
  begin
    result.success = @handler.scannerGetList(args.id, args.nbRows)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  rescue ::HbaseClient::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'scannerGetList', seqid)
end

#process_scannerOpen(seqid, iprot, oprot) ⇒ Object



1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
# File 'lib/hbase-client/thrift/hbase.rb', line 1112

def process_scannerOpen(seqid, iprot, oprot)
  args = read_args(iprot, ScannerOpen_args)
  result = ScannerOpen_result.new()
  begin
    result.success = @handler.scannerOpen(args.tableName, args.startRow, args.columns, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpen', seqid)
end

#process_scannerOpenTs(seqid, iprot, oprot) ⇒ Object



1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/hbase-client/thrift/hbase.rb', line 1145

def process_scannerOpenTs(seqid, iprot, oprot)
  args = read_args(iprot, ScannerOpenTs_args)
  result = ScannerOpenTs_result.new()
  begin
    result.success = @handler.scannerOpenTs(args.tableName, args.startRow, args.columns, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenTs', seqid)
end

#process_scannerOpenWithPrefix(seqid, iprot, oprot) ⇒ Object



1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'lib/hbase-client/thrift/hbase.rb', line 1134

def process_scannerOpenWithPrefix(seqid, iprot, oprot)
  args = read_args(iprot, ScannerOpenWithPrefix_args)
  result = ScannerOpenWithPrefix_result.new()
  begin
    result.success = @handler.scannerOpenWithPrefix(args.tableName, args.startAndPrefix, args.columns, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithPrefix', seqid)
end

#process_scannerOpenWithScan(seqid, iprot, oprot) ⇒ Object



1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
# File 'lib/hbase-client/thrift/hbase.rb', line 1101

def process_scannerOpenWithScan(seqid, iprot, oprot)
  args = read_args(iprot, ScannerOpenWithScan_args)
  result = ScannerOpenWithScan_result.new()
  begin
    result.success = @handler.scannerOpenWithScan(args.tableName, args.scan, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithScan', seqid)
end

#process_scannerOpenWithStop(seqid, iprot, oprot) ⇒ Object



1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/hbase-client/thrift/hbase.rb', line 1123

def process_scannerOpenWithStop(seqid, iprot, oprot)
  args = read_args(iprot, ScannerOpenWithStop_args)
  result = ScannerOpenWithStop_result.new()
  begin
    result.success = @handler.scannerOpenWithStop(args.tableName, args.startRow, args.stopRow, args.columns, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithStop', seqid)
end

#process_scannerOpenWithStopTs(seqid, iprot, oprot) ⇒ Object



1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'lib/hbase-client/thrift/hbase.rb', line 1156

def process_scannerOpenWithStopTs(seqid, iprot, oprot)
  args = read_args(iprot, ScannerOpenWithStopTs_args)
  result = ScannerOpenWithStopTs_result.new()
  begin
    result.success = @handler.scannerOpenWithStopTs(args.tableName, args.startRow, args.stopRow, args.columns, args.timestamp, args.attributes)
  rescue ::HbaseClient::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithStopTs', seqid)
end