hbaserb 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.rvmrc +2 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +8 -0
- data/README.rdoc +6 -2
- data/Rakefile +3 -0
- data/hbaserb.gemspec +22 -0
- data/lib/hbaserb/table.rb +4 -4
- data/lib/hbaserb/version.rb +1 -1
- data/lib/thrift/hbase.rb +272 -1
- data/lib/thrift/hbase_constants.rb +1 -1
- data/lib/thrift/hbase_types.rb +1 -1
- metadata +15 -242
- data/docs/Apache.html +0 -159
- data/docs/Apache/Hadoop.html +0 -159
- data/docs/Apache/Hadoop/Hbase.html +0 -159
- data/docs/Apache/Hadoop/Hbase/Thrift.html +0 -159
- data/docs/Apache/Hadoop/Hbase/Thrift/AlreadyExists.html +0 -475
- data/docs/Apache/Hadoop/Hbase/Thrift/BatchMutation.html +0 -438
- data/docs/Apache/Hadoop/Hbase/Thrift/ColumnDescriptor.html +0 -474
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase.html +0 -455
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_result.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Client.html +0 -4042
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_args.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_result.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_args.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_args.html +0 -432
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_args.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_args.html +0 -425
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_args.html +0 -450
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Get_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Get_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_result.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_args.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/Processor.html +0 -1789
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_args.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_result.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_args.html +0 -430
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_result.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_args.html +0 -450
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_args.html +0 -445
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_args.html +0 -440
- data/docs/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_result.html +0 -435
- data/docs/Apache/Hadoop/Hbase/Thrift/IOError.html +0 -477
- data/docs/Apache/Hadoop/Hbase/Thrift/IllegalArgument.html +0 -475
- data/docs/Apache/Hadoop/Hbase/Thrift/Mutation.html +0 -443
- data/docs/Apache/Hadoop/Hbase/Thrift/TCell.html +0 -320
- data/docs/Apache/Hadoop/Hbase/Thrift/TRegionInfo.html +0 -453
- data/docs/Apache/Hadoop/Hbase/Thrift/TRowResult.html +0 -437
- data/docs/HBaseRB.html +0 -174
- data/docs/HBaseRb/Client.html +0 -394
- data/docs/HBaseRb/NoSuchTable.html +0 -157
- data/docs/HBaseRb/Scanner.html +0 -330
- data/docs/HBaseRb/Table.html +0 -645
- data/docs/README_rdoc.html +0 -140
- data/docs/classes/Apache.html +0 -132
- data/docs/classes/Apache/Hadoop.html +0 -123
- data/docs/classes/Apache/Hadoop/Hbase.html +0 -123
- data/docs/classes/Apache/Hadoop/Hbase/Thrift.html +0 -132
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/AlreadyExists.html +0 -227
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/BatchMutation.html +0 -205
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/ColumnDescriptor.html +0 -241
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase.html +0 -180
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/AtomicIncrement_result.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Client.html +0 -2708
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Compact_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_args.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/CreateTable_result.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRowTs_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_args.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllRow_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAllTs_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteAll_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DeleteTable_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/DisableTable_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_args.html +0 -199
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/EnableTable_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetColumnDescriptors_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumnsTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRowWithColumns_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_args.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetRow_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_args.html +0 -188
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableNames_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetTableRegions_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_args.html +0 -213
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVerTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/GetVer_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Get_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Get_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/IsTableEnabled_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MajorCompact_result.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRow_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRowsTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_args.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/MutateRows_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/Processor.html +0 -1203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerClose_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_args.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGetList_result.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_args.html +0 -193
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerGet_result.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithPrefix_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_args.html +0 -213
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStopTs_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_args.html +0 -208
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpenWithStop_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_args.html +0 -203
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Hbase/ScannerOpen_result.html +0 -198
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/IOError.html +0 -229
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/IllegalArgument.html +0 -227
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/Mutation.html +0 -210
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/TCell.html +0 -317
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/TRegionInfo.html +0 -220
- data/docs/classes/Apache/Hadoop/Hbase/Thrift/TRowResult.html +0 -204
- data/docs/classes/HBaseRb.html +0 -126
- data/docs/classes/HBaseRb/Client.html +0 -275
- data/docs/classes/HBaseRb/NoSuchTable.html +0 -111
- data/docs/classes/HBaseRb/Scanner.html +0 -233
- data/docs/classes/HBaseRb/Table.html +0 -459
- data/docs/created.rid +0 -8
- data/docs/files/README_rdoc.html +0 -142
- data/docs/files/lib/hbaserb/client_rb.html +0 -101
- data/docs/files/lib/hbaserb/exceptions_rb.html +0 -101
- data/docs/files/lib/hbaserb/extensions_rb.html +0 -101
- data/docs/files/lib/hbaserb/scanner_rb.html +0 -101
- data/docs/files/lib/hbaserb/table_rb.html +0 -101
- data/docs/files/lib/hbaserb_rb.html +0 -114
- data/docs/files/lib/thrift/hbase_constants_rb.html +0 -117
- data/docs/files/lib/thrift/hbase_rb.html +0 -118
- data/docs/files/lib/thrift/hbase_types_rb.html +0 -110
- data/docs/fr_class_index.html +0 -115
- data/docs/fr_file_index.html +0 -36
- data/docs/fr_method_index.html +0 -346
- data/docs/images/brick.png +0 -0
- data/docs/images/brick_link.png +0 -0
- data/docs/images/bug.png +0 -0
- data/docs/images/bullet_black.png +0 -0
- data/docs/images/bullet_toggle_minus.png +0 -0
- data/docs/images/bullet_toggle_plus.png +0 -0
- data/docs/images/date.png +0 -0
- data/docs/images/find.png +0 -0
- data/docs/images/loadingAnimation.gif +0 -0
- data/docs/images/macFFBgHack.png +0 -0
- data/docs/images/package.png +0 -0
- data/docs/images/page_green.png +0 -0
- data/docs/images/page_white_text.png +0 -0
- data/docs/images/page_white_width.png +0 -0
- data/docs/images/plugin.png +0 -0
- data/docs/images/ruby.png +0 -0
- data/docs/images/tag_green.png +0 -0
- data/docs/images/wrench.png +0 -0
- data/docs/images/wrench_orange.png +0 -0
- data/docs/images/zoom.png +0 -0
- data/docs/index.html +0 -130
- data/docs/js/darkfish.js +0 -116
- data/docs/js/jquery.js +0 -32
- data/docs/js/quicksearch.js +0 -114
- data/docs/js/thickbox-compressed.js +0 -10
- data/docs/lib/hbaserb/client_rb.html +0 -52
- data/docs/lib/hbaserb/exceptions_rb.html +0 -52
- data/docs/lib/hbaserb/extensions_rb.html +0 -52
- data/docs/lib/hbaserb/scanner_rb.html +0 -52
- data/docs/lib/hbaserb/table_rb.html +0 -52
- data/docs/lib/hbaserb/version_rb.html +0 -52
- data/docs/lib/hbaserb_rb.html +0 -66
- data/docs/lib/thrift/hbase_constants_rb.html +0 -58
- data/docs/lib/thrift/hbase_rb.html +0 -60
- data/docs/lib/thrift/hbase_types_rb.html +0 -56
- data/docs/rdoc-style.css +0 -208
- data/docs/rdoc.css +0 -759
@@ -1,275 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: HBaseRb::Client</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">HBaseRb::Client</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/hbaserb/client_rb.html">
|
59
|
-
lib/hbaserb/client.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000010">close</a>
|
90
|
-
<a href="#M000009">create_table</a>
|
91
|
-
<a href="#M000008">get_table</a>
|
92
|
-
<a href="#M000007">has_table?</a>
|
93
|
-
<a href="#M000005">new</a>
|
94
|
-
<a href="#M000006">table_names</a>
|
95
|
-
</div>
|
96
|
-
</div>
|
97
|
-
|
98
|
-
</div>
|
99
|
-
|
100
|
-
|
101
|
-
<!-- if includes -->
|
102
|
-
|
103
|
-
<div id="section">
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if method_list -->
|
113
|
-
<div id="methods">
|
114
|
-
<h3 class="section-bar">Public Class methods</h3>
|
115
|
-
|
116
|
-
<div id="method-M000005" class="method-detail">
|
117
|
-
<a name="M000005"></a>
|
118
|
-
|
119
|
-
<div class="method-heading">
|
120
|
-
<a href="#M000005" class="method-signature">
|
121
|
-
<span class="method-name">new</span><span class="method-args">(server, port=9090)</span>
|
122
|
-
</a>
|
123
|
-
</div>
|
124
|
-
|
125
|
-
<div class="method-description">
|
126
|
-
<p><a class="source-toggle" href="#"
|
127
|
-
onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
|
128
|
-
<div class="method-source-code" id="M000005-source">
|
129
|
-
<pre>
|
130
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/client.rb, line 4</span>
|
131
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">server</span>, <span class="ruby-identifier">port</span>=<span class="ruby-value">9090</span>)
|
132
|
-
<span class="ruby-identifier">socket</span> = <span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">Socket</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">server</span>, <span class="ruby-identifier">port</span>)
|
133
|
-
<span class="ruby-ivar">@transport</span> = <span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">BufferedTransport</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">socket</span>)
|
134
|
-
<span class="ruby-ivar">@transport</span>.<span class="ruby-identifier">open</span>
|
135
|
-
<span class="ruby-identifier">protocol</span> = <span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">BinaryProtocol</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@transport</span>)
|
136
|
-
<span class="ruby-ivar">@client</span> = <span class="ruby-constant">Apache</span><span class="ruby-operator">::</span><span class="ruby-constant">Hadoop</span><span class="ruby-operator">::</span><span class="ruby-constant">Hbase</span><span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">Hbase</span><span class="ruby-operator">::</span><span class="ruby-constant">Client</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">protocol</span>)
|
137
|
-
<span class="ruby-keyword kw">end</span>
|
138
|
-
</pre>
|
139
|
-
</div>
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
144
|
-
|
145
|
-
<div id="method-M000010" class="method-detail">
|
146
|
-
<a name="M000010"></a>
|
147
|
-
|
148
|
-
<div class="method-heading">
|
149
|
-
<a href="#M000010" class="method-signature">
|
150
|
-
<span class="method-name">close</span><span class="method-args">()</span>
|
151
|
-
</a>
|
152
|
-
</div>
|
153
|
-
|
154
|
-
<div class="method-description">
|
155
|
-
<p><a class="source-toggle" href="#"
|
156
|
-
onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
|
157
|
-
<div class="method-source-code" id="M000010-source">
|
158
|
-
<pre>
|
159
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/client.rb, line 31</span>
|
160
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
|
161
|
-
<span class="ruby-ivar">@transport</span>.<span class="ruby-identifier">close</span>
|
162
|
-
<span class="ruby-keyword kw">end</span>
|
163
|
-
</pre>
|
164
|
-
</div>
|
165
|
-
</div>
|
166
|
-
</div>
|
167
|
-
|
168
|
-
<div id="method-M000009" class="method-detail">
|
169
|
-
<a name="M000009"></a>
|
170
|
-
|
171
|
-
<div class="method-heading">
|
172
|
-
<a href="#M000009" class="method-signature">
|
173
|
-
<span class="method-name">create_table</span><span class="method-args">(tablename, *column_family_names)</span>
|
174
|
-
</a>
|
175
|
-
</div>
|
176
|
-
|
177
|
-
<div class="method-description">
|
178
|
-
<p><a class="source-toggle" href="#"
|
179
|
-
onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
|
180
|
-
<div class="method-source-code" id="M000009-source">
|
181
|
-
<pre>
|
182
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/client.rb, line 25</span>
|
183
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_table</span>(<span class="ruby-identifier">tablename</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">column_family_names</span>)
|
184
|
-
<span class="ruby-identifier">column_family_names</span>.<span class="ruby-identifier">map!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span> <span class="ruby-constant">Apache</span><span class="ruby-operator">::</span><span class="ruby-constant">Hadoop</span><span class="ruby-operator">::</span><span class="ruby-constant">Hbase</span><span class="ruby-operator">::</span><span class="ruby-constant">Thrift</span><span class="ruby-operator">::</span><span class="ruby-constant">ColumnDescriptor</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:name</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">name</span>) }
|
185
|
-
<span class="ruby-ivar">@client</span>.<span class="ruby-identifier">createTable</span> <span class="ruby-identifier">tablename</span>, <span class="ruby-identifier">column_family_names</span>
|
186
|
-
<span class="ruby-identifier">get_table</span> <span class="ruby-identifier">tablename</span>
|
187
|
-
<span class="ruby-keyword kw">end</span>
|
188
|
-
</pre>
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
</div>
|
192
|
-
|
193
|
-
<div id="method-M000008" class="method-detail">
|
194
|
-
<a name="M000008"></a>
|
195
|
-
|
196
|
-
<div class="method-heading">
|
197
|
-
<a href="#M000008" class="method-signature">
|
198
|
-
<span class="method-name">get_table</span><span class="method-args">(tablename)</span>
|
199
|
-
</a>
|
200
|
-
</div>
|
201
|
-
|
202
|
-
<div class="method-description">
|
203
|
-
<p><a class="source-toggle" href="#"
|
204
|
-
onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
|
205
|
-
<div class="method-source-code" id="M000008-source">
|
206
|
-
<pre>
|
207
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/client.rb, line 20</span>
|
208
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_table</span>(<span class="ruby-identifier">tablename</span>)
|
209
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">HBaseRb</span><span class="ruby-operator">::</span><span class="ruby-constant">NoSuchTable</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">has_table?</span> <span class="ruby-identifier">tablename</span>
|
210
|
-
<span class="ruby-constant">HBaseRb</span><span class="ruby-operator">::</span><span class="ruby-constant">Table</span>.<span class="ruby-identifier">new</span> <span class="ruby-ivar">@client</span>, <span class="ruby-identifier">tablename</span>
|
211
|
-
<span class="ruby-keyword kw">end</span>
|
212
|
-
</pre>
|
213
|
-
</div>
|
214
|
-
</div>
|
215
|
-
</div>
|
216
|
-
|
217
|
-
<div id="method-M000007" class="method-detail">
|
218
|
-
<a name="M000007"></a>
|
219
|
-
|
220
|
-
<div class="method-heading">
|
221
|
-
<a href="#M000007" class="method-signature">
|
222
|
-
<span class="method-name">has_table?</span><span class="method-args">(name)</span>
|
223
|
-
</a>
|
224
|
-
</div>
|
225
|
-
|
226
|
-
<div class="method-description">
|
227
|
-
<p><a class="source-toggle" href="#"
|
228
|
-
onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
|
229
|
-
<div class="method-source-code" id="M000007-source">
|
230
|
-
<pre>
|
231
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/client.rb, line 16</span>
|
232
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_table?</span>(<span class="ruby-identifier">name</span>)
|
233
|
-
<span class="ruby-identifier">table_names</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">name</span>
|
234
|
-
<span class="ruby-keyword kw">end</span>
|
235
|
-
</pre>
|
236
|
-
</div>
|
237
|
-
</div>
|
238
|
-
</div>
|
239
|
-
|
240
|
-
<div id="method-M000006" class="method-detail">
|
241
|
-
<a name="M000006"></a>
|
242
|
-
|
243
|
-
<div class="method-heading">
|
244
|
-
<a href="#M000006" class="method-signature">
|
245
|
-
<span class="method-name">table_names</span><span class="method-args">()</span>
|
246
|
-
</a>
|
247
|
-
</div>
|
248
|
-
|
249
|
-
<div class="method-description">
|
250
|
-
<p><a class="source-toggle" href="#"
|
251
|
-
onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
|
252
|
-
<div class="method-source-code" id="M000006-source">
|
253
|
-
<pre>
|
254
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/client.rb, line 12</span>
|
255
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">table_names</span>
|
256
|
-
<span class="ruby-ivar">@client</span>.<span class="ruby-identifier">getTableNames</span>
|
257
|
-
<span class="ruby-keyword kw">end</span>
|
258
|
-
</pre>
|
259
|
-
</div>
|
260
|
-
</div>
|
261
|
-
</div>
|
262
|
-
|
263
|
-
|
264
|
-
</div>
|
265
|
-
|
266
|
-
|
267
|
-
</div>
|
268
|
-
|
269
|
-
|
270
|
-
<div id="validator-badges">
|
271
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
272
|
-
</div>
|
273
|
-
|
274
|
-
</body>
|
275
|
-
</html>
|
@@ -1,111 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: HBaseRb::NoSuchTable</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">HBaseRb::NoSuchTable</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/hbaserb/exceptions_rb.html">
|
59
|
-
lib/hbaserb/exceptions.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
StandardError
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
</div>
|
87
|
-
|
88
|
-
|
89
|
-
<!-- if includes -->
|
90
|
-
|
91
|
-
<div id="section">
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<!-- if method_list -->
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
<div id="validator-badges">
|
107
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
</body>
|
111
|
-
</html>
|
@@ -1,233 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: HBaseRb::Scanner</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">HBaseRb::Scanner</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/hbaserb/scanner_rb.html">
|
59
|
-
lib/hbaserb/scanner.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000003">close</a>
|
90
|
-
<a href="#M000004">each</a>
|
91
|
-
<a href="#M000001">new</a>
|
92
|
-
<a href="#M000002">next_row</a>
|
93
|
-
</div>
|
94
|
-
</div>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
|
99
|
-
<!-- if includes -->
|
100
|
-
|
101
|
-
<div id="section">
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<!-- if method_list -->
|
111
|
-
<div id="methods">
|
112
|
-
<h3 class="section-bar">Public Class methods</h3>
|
113
|
-
|
114
|
-
<div id="method-M000001" class="method-detail">
|
115
|
-
<a name="M000001"></a>
|
116
|
-
|
117
|
-
<div class="method-heading">
|
118
|
-
<a href="#M000001" class="method-signature">
|
119
|
-
<span class="method-name">new</span><span class="method-args">(client, scanner_id) {|n.first| ...}</span>
|
120
|
-
</a>
|
121
|
-
</div>
|
122
|
-
|
123
|
-
<div class="method-description">
|
124
|
-
<p><a class="source-toggle" href="#"
|
125
|
-
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
126
|
-
<div class="method-source-code" id="M000001-source">
|
127
|
-
<pre>
|
128
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/scanner.rb, line 4</span>
|
129
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">client</span>, <span class="ruby-identifier">scanner_id</span>)
|
130
|
-
<span class="ruby-ivar">@client</span> = <span class="ruby-identifier">client</span>
|
131
|
-
<span class="ruby-ivar">@sid</span> = <span class="ruby-identifier">scanner_id</span>
|
132
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
133
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">next_row</span>
|
134
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
135
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">first</span>
|
136
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">next_row</span>
|
137
|
-
<span class="ruby-keyword kw">end</span>
|
138
|
-
<span class="ruby-identifier">close</span>
|
139
|
-
<span class="ruby-keyword kw">end</span>
|
140
|
-
<span class="ruby-keyword kw">end</span>
|
141
|
-
</pre>
|
142
|
-
</div>
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
|
146
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
147
|
-
|
148
|
-
<div id="method-M000003" class="method-detail">
|
149
|
-
<a name="M000003"></a>
|
150
|
-
|
151
|
-
<div class="method-heading">
|
152
|
-
<a href="#M000003" class="method-signature">
|
153
|
-
<span class="method-name">close</span><span class="method-args">()</span>
|
154
|
-
</a>
|
155
|
-
</div>
|
156
|
-
|
157
|
-
<div class="method-description">
|
158
|
-
<p><a class="source-toggle" href="#"
|
159
|
-
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
160
|
-
<div class="method-source-code" id="M000003-source">
|
161
|
-
<pre>
|
162
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/scanner.rb, line 21</span>
|
163
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
|
164
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:scannerClose</span>
|
165
|
-
<span class="ruby-keyword kw">end</span>
|
166
|
-
</pre>
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
</div>
|
170
|
-
|
171
|
-
<div id="method-M000004" class="method-detail">
|
172
|
-
<a name="M000004"></a>
|
173
|
-
|
174
|
-
<div class="method-heading">
|
175
|
-
<a href="#M000004" class="method-signature">
|
176
|
-
<span class="method-name">each</span><span class="method-args">() {|n.first| ...}</span>
|
177
|
-
</a>
|
178
|
-
</div>
|
179
|
-
|
180
|
-
<div class="method-description">
|
181
|
-
<p><a class="source-toggle" href="#"
|
182
|
-
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
|
183
|
-
<div class="method-source-code" id="M000004-source">
|
184
|
-
<pre>
|
185
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/scanner.rb, line 25</span>
|
186
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
|
187
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">next_row</span>
|
188
|
-
<span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
189
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">first</span>
|
190
|
-
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">next_row</span>
|
191
|
-
<span class="ruby-keyword kw">end</span>
|
192
|
-
<span class="ruby-keyword kw">end</span>
|
193
|
-
</pre>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
<div id="method-M000002" class="method-detail">
|
199
|
-
<a name="M000002"></a>
|
200
|
-
|
201
|
-
<div class="method-heading">
|
202
|
-
<a href="#M000002" class="method-signature">
|
203
|
-
<span class="method-name">next_row</span><span class="method-args">()</span>
|
204
|
-
</a>
|
205
|
-
</div>
|
206
|
-
|
207
|
-
<div class="method-description">
|
208
|
-
<p><a class="source-toggle" href="#"
|
209
|
-
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
|
210
|
-
<div class="method-source-code" id="M000002-source">
|
211
|
-
<pre>
|
212
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/scanner.rb, line 17</span>
|
213
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_row</span>
|
214
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:scannerGet</span>
|
215
|
-
<span class="ruby-keyword kw">end</span>
|
216
|
-
</pre>
|
217
|
-
</div>
|
218
|
-
</div>
|
219
|
-
</div>
|
220
|
-
|
221
|
-
|
222
|
-
</div>
|
223
|
-
|
224
|
-
|
225
|
-
</div>
|
226
|
-
|
227
|
-
|
228
|
-
<div id="validator-badges">
|
229
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
</body>
|
233
|
-
</html>
|