Class: Apache::Hadoop::Hbase::Thrift::Hbase::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_atomicIncrement(seqid, iprot, oprot) ⇒ Object



988
989
990
991
992
993
994
995
996
997
998
999
# File 'lib/adapter/hbase/hbase.rb', line 988

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'atomicIncrement', seqid)
end

#process_compact(seqid, iprot, oprot) ⇒ Object



734
735
736
737
738
739
740
741
742
743
# File 'lib/adapter/hbase/hbase.rb', line 734

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

#process_createTable(seqid, iprot, oprot) ⇒ Object



789
790
791
792
793
794
795
796
797
798
799
800
801
802
# File 'lib/adapter/hbase/hbase.rb', line 789

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

#process_deleteAll(seqid, iprot, oprot) ⇒ Object



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
# File 'lib/adapter/hbase/hbase.rb', line 1001

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAll', seqid)
end

#process_deleteAllRow(seqid, iprot, oprot) ⇒ Object



1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
# File 'lib/adapter/hbase/hbase.rb', line 1023

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAllRow', seqid)
end

#process_deleteAllRowTs(seqid, iprot, oprot) ⇒ Object



1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
# File 'lib/adapter/hbase/hbase.rb', line 1056

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAllRowTs', seqid)
end

#process_deleteAllTs(seqid, iprot, oprot) ⇒ Object



1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
# File 'lib/adapter/hbase/hbase.rb', line 1012

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'deleteAllTs', seqid)
end

#process_deleteTable(seqid, iprot, oprot) ⇒ Object



804
805
806
807
808
809
810
811
812
813
# File 'lib/adapter/hbase/hbase.rb', line 804

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

#process_disableTable(seqid, iprot, oprot) ⇒ Object



712
713
714
715
716
717
718
719
720
721
# File 'lib/adapter/hbase/hbase.rb', line 712

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

#process_enableTable(seqid, iprot, oprot) ⇒ Object



701
702
703
704
705
706
707
708
709
710
# File 'lib/adapter/hbase/hbase.rb', line 701

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

#process_get(seqid, iprot, oprot) ⇒ Object



815
816
817
818
819
820
821
822
823
824
# File 'lib/adapter/hbase/hbase.rb', line 815

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'get', seqid)
end

#process_getColumnDescriptors(seqid, iprot, oprot) ⇒ Object



767
768
769
770
771
772
773
774
775
776
# File 'lib/adapter/hbase/hbase.rb', line 767

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

#process_getRegionInfo(seqid, iprot, oprot) ⇒ Object



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
# File 'lib/adapter/hbase/hbase.rb', line 1183

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

#process_getRow(seqid, iprot, oprot) ⇒ Object



848
849
850
851
852
853
854
855
856
857
# File 'lib/adapter/hbase/hbase.rb', line 848

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRow', seqid)
end

#process_getRowOrBefore(seqid, iprot, oprot) ⇒ Object



1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'lib/adapter/hbase/hbase.rb', line 1172

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowOrBefore', seqid)
end

#process_getRows(seqid, iprot, oprot) ⇒ Object



892
893
894
895
896
897
898
899
900
901
# File 'lib/adapter/hbase/hbase.rb', line 892

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRows', seqid)
end

#process_getRowsTs(seqid, iprot, oprot) ⇒ Object



914
915
916
917
918
919
920
921
922
923
# File 'lib/adapter/hbase/hbase.rb', line 914

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowsTs', seqid)
end

#process_getRowsWithColumns(seqid, iprot, oprot) ⇒ Object



903
904
905
906
907
908
909
910
911
912
# File 'lib/adapter/hbase/hbase.rb', line 903

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowsWithColumns', seqid)
end

#process_getRowsWithColumnsTs(seqid, iprot, oprot) ⇒ Object



925
926
927
928
929
930
931
932
933
934
# File 'lib/adapter/hbase/hbase.rb', line 925

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowsWithColumnsTs', seqid)
end

#process_getRowTs(seqid, iprot, oprot) ⇒ Object



870
871
872
873
874
875
876
877
878
879
# File 'lib/adapter/hbase/hbase.rb', line 870

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowTs', seqid)
end

#process_getRowWithColumns(seqid, iprot, oprot) ⇒ Object



859
860
861
862
863
864
865
866
867
868
# File 'lib/adapter/hbase/hbase.rb', line 859

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowWithColumns', seqid)
end

#process_getRowWithColumnsTs(seqid, iprot, oprot) ⇒ Object



881
882
883
884
885
886
887
888
889
890
# File 'lib/adapter/hbase/hbase.rb', line 881

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getRowWithColumnsTs', seqid)
end

#process_getTableNames(seqid, iprot, oprot) ⇒ Object



756
757
758
759
760
761
762
763
764
765
# File 'lib/adapter/hbase/hbase.rb', line 756

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

#process_getTableRegions(seqid, iprot, oprot) ⇒ Object



778
779
780
781
782
783
784
785
786
787
# File 'lib/adapter/hbase/hbase.rb', line 778

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

#process_getVer(seqid, iprot, oprot) ⇒ Object



826
827
828
829
830
831
832
833
834
835
# File 'lib/adapter/hbase/hbase.rb', line 826

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getVer', seqid)
end

#process_getVerTs(seqid, iprot, oprot) ⇒ Object



837
838
839
840
841
842
843
844
845
846
# File 'lib/adapter/hbase/hbase.rb', line 837

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'getVerTs', seqid)
end

#process_increment(seqid, iprot, oprot) ⇒ Object



1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
# File 'lib/adapter/hbase/hbase.rb', line 1034

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

#process_incrementRows(seqid, iprot, oprot) ⇒ Object



1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
# File 'lib/adapter/hbase/hbase.rb', line 1045

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

#process_isTableEnabled(seqid, iprot, oprot) ⇒ Object



723
724
725
726
727
728
729
730
731
732
# File 'lib/adapter/hbase/hbase.rb', line 723

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

#process_majorCompact(seqid, iprot, oprot) ⇒ Object



745
746
747
748
749
750
751
752
753
754
# File 'lib/adapter/hbase/hbase.rb', line 745

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

#process_mutateRow(seqid, iprot, oprot) ⇒ Object



936
937
938
939
940
941
942
943
944
945
946
947
# File 'lib/adapter/hbase/hbase.rb', line 936

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRow', seqid)
end

#process_mutateRows(seqid, iprot, oprot) ⇒ Object



962
963
964
965
966
967
968
969
970
971
972
973
# File 'lib/adapter/hbase/hbase.rb', line 962

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRows', seqid)
end

#process_mutateRowsTs(seqid, iprot, oprot) ⇒ Object



975
976
977
978
979
980
981
982
983
984
985
986
# File 'lib/adapter/hbase/hbase.rb', line 975

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRowsTs', seqid)
end

#process_mutateRowTs(seqid, iprot, oprot) ⇒ Object



949
950
951
952
953
954
955
956
957
958
959
960
# File 'lib/adapter/hbase/hbase.rb', line 949

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'mutateRowTs', seqid)
end

#process_scannerClose(seqid, iprot, oprot) ⇒ Object



1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
# File 'lib/adapter/hbase/hbase.rb', line 1159

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

#process_scannerGet(seqid, iprot, oprot) ⇒ Object



1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
# File 'lib/adapter/hbase/hbase.rb', line 1133

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

#process_scannerGetList(seqid, iprot, oprot) ⇒ Object



1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
# File 'lib/adapter/hbase/hbase.rb', line 1146

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  rescue ::Apache::Hadoop::Hbase::Thrift::IllegalArgument => ia
    result.ia = ia
  end
  write_result(result, oprot, 'scannerGetList', seqid)
end

#process_scannerOpen(seqid, iprot, oprot) ⇒ Object



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
# File 'lib/adapter/hbase/hbase.rb', line 1078

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpen', seqid)
end

#process_scannerOpenTs(seqid, iprot, oprot) ⇒ Object



1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
# File 'lib/adapter/hbase/hbase.rb', line 1111

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenTs', seqid)
end

#process_scannerOpenWithPrefix(seqid, iprot, oprot) ⇒ Object



1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
# File 'lib/adapter/hbase/hbase.rb', line 1100

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithPrefix', seqid)
end

#process_scannerOpenWithScan(seqid, iprot, oprot) ⇒ Object



1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
# File 'lib/adapter/hbase/hbase.rb', line 1067

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithScan', seqid)
end

#process_scannerOpenWithStop(seqid, iprot, oprot) ⇒ Object



1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
# File 'lib/adapter/hbase/hbase.rb', line 1089

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithStop', seqid)
end

#process_scannerOpenWithStopTs(seqid, iprot, oprot) ⇒ Object



1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
# File 'lib/adapter/hbase/hbase.rb', line 1122

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 ::Apache::Hadoop::Hbase::Thrift::IOError => io
    result.io = io
  end
  write_result(result, oprot, 'scannerOpenWithStopTs', seqid)
end