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,459 +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::Table</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::Table</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/hbaserb/table_rb.html">
|
59
|
-
lib/hbaserb/table.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="#M000020">atomic_increment</a>
|
90
|
-
<a href="#M000012">column_families</a>
|
91
|
-
<a href="#M000021">create_scanner</a>
|
92
|
-
<a href="#M000017">delete</a>
|
93
|
-
<a href="#M000019">delete_cells</a>
|
94
|
-
<a href="#M000018">delete_row</a>
|
95
|
-
<a href="#M000014">get</a>
|
96
|
-
<a href="#M000015">get_last</a>
|
97
|
-
<a href="#M000016">get_row</a>
|
98
|
-
<a href="#M000022">mutate_row</a>
|
99
|
-
<a href="#M000011">new</a>
|
100
|
-
<a href="#M000013">regions</a>
|
101
|
-
<a href="#M000023">to_s</a>
|
102
|
-
</div>
|
103
|
-
</div>
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
<!-- if includes -->
|
109
|
-
|
110
|
-
<div id="section">
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<!-- if method_list -->
|
120
|
-
<div id="methods">
|
121
|
-
<h3 class="section-bar">Public Class methods</h3>
|
122
|
-
|
123
|
-
<div id="method-M000011" class="method-detail">
|
124
|
-
<a name="M000011"></a>
|
125
|
-
|
126
|
-
<div class="method-heading">
|
127
|
-
<a href="#M000011" class="method-signature">
|
128
|
-
<span class="method-name">new</span><span class="method-args">(client, name)</span>
|
129
|
-
</a>
|
130
|
-
</div>
|
131
|
-
|
132
|
-
<div class="method-description">
|
133
|
-
<p><a class="source-toggle" href="#"
|
134
|
-
onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
|
135
|
-
<div class="method-source-code" id="M000011-source">
|
136
|
-
<pre>
|
137
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 4</span>
|
138
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">client</span>, <span class="ruby-identifier">name</span>)
|
139
|
-
<span class="ruby-ivar">@client</span> = <span class="ruby-identifier">client</span>
|
140
|
-
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
|
141
|
-
<span class="ruby-keyword kw">end</span>
|
142
|
-
</pre>
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
148
|
-
|
149
|
-
<div id="method-M000020" class="method-detail">
|
150
|
-
<a name="M000020"></a>
|
151
|
-
|
152
|
-
<div class="method-heading">
|
153
|
-
<a href="#M000020" class="method-signature">
|
154
|
-
<span class="method-name">atomic_increment</span><span class="method-args">(row, column, value=1)</span>
|
155
|
-
</a>
|
156
|
-
</div>
|
157
|
-
|
158
|
-
<div class="method-description">
|
159
|
-
<p><a class="source-toggle" href="#"
|
160
|
-
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
161
|
-
<div class="method-source-code" id="M000020-source">
|
162
|
-
<pre>
|
163
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 44</span>
|
164
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">atomic_increment</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>, <span class="ruby-identifier">value</span>=<span class="ruby-value">1</span>)
|
165
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:atomicIncrement</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">column</span>, <span class="ruby-identifier">value</span>
|
166
|
-
<span class="ruby-keyword kw">end</span>
|
167
|
-
</pre>
|
168
|
-
</div>
|
169
|
-
</div>
|
170
|
-
</div>
|
171
|
-
|
172
|
-
<div id="method-M000012" class="method-detail">
|
173
|
-
<a name="M000012"></a>
|
174
|
-
|
175
|
-
<div class="method-heading">
|
176
|
-
<a href="#M000012" class="method-signature">
|
177
|
-
<span class="method-name">column_families</span><span class="method-args">()</span>
|
178
|
-
</a>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
<div class="method-description">
|
182
|
-
<p><a class="source-toggle" href="#"
|
183
|
-
onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
|
184
|
-
<div class="method-source-code" id="M000012-source">
|
185
|
-
<pre>
|
186
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 9</span>
|
187
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column_families</span>
|
188
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:getColumnDescriptors</span>
|
189
|
-
<span class="ruby-keyword kw">end</span>
|
190
|
-
</pre>
|
191
|
-
</div>
|
192
|
-
</div>
|
193
|
-
</div>
|
194
|
-
|
195
|
-
<div id="method-M000021" class="method-detail">
|
196
|
-
<a name="M000021"></a>
|
197
|
-
|
198
|
-
<div class="method-heading">
|
199
|
-
<a href="#M000021" class="method-signature">
|
200
|
-
<span class="method-name">create_scanner</span><span class="method-args">(row=nil, *columns, &block)</span>
|
201
|
-
</a>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div class="method-description">
|
205
|
-
<p>
|
206
|
-
pass in no params to scan whole table
|
207
|
-
</p>
|
208
|
-
<p><a class="source-toggle" href="#"
|
209
|
-
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
210
|
-
<div class="method-source-code" id="M000021-source">
|
211
|
-
<pre>
|
212
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 49</span>
|
213
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_scanner</span>(<span class="ruby-identifier">row</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">columns</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
214
|
-
<span class="ruby-identifier">row</span> <span class="ruby-operator">||=</span> <span class="ruby-value str">""</span>
|
215
|
-
<span class="ruby-identifier">columns</span> = (<span class="ruby-identifier">columns</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">columns</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">column_families</span>.<span class="ruby-identifier">keys</span>
|
216
|
-
<span class="ruby-identifier">sid</span> = <span class="ruby-identifier">call</span> <span class="ruby-identifier">:scannerOpen</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">columns</span>
|
217
|
-
<span class="ruby-constant">Scanner</span>.<span class="ruby-identifier">new</span> <span class="ruby-ivar">@client</span>, <span class="ruby-identifier">sid</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
218
|
-
<span class="ruby-keyword kw">end</span>
|
219
|
-
</pre>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
<div id="method-M000017" class="method-detail">
|
225
|
-
<a name="M000017"></a>
|
226
|
-
|
227
|
-
<div class="method-heading">
|
228
|
-
<a href="#M000017" class="method-signature">
|
229
|
-
<span class="method-name">delete</span><span class="method-args">()</span>
|
230
|
-
</a>
|
231
|
-
</div>
|
232
|
-
|
233
|
-
<div class="method-description">
|
234
|
-
<p><a class="source-toggle" href="#"
|
235
|
-
onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
|
236
|
-
<div class="method-source-code" id="M000017-source">
|
237
|
-
<pre>
|
238
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 31</span>
|
239
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>
|
240
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:disableTable</span>
|
241
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:deleteTable</span>
|
242
|
-
<span class="ruby-keyword kw">end</span>
|
243
|
-
</pre>
|
244
|
-
</div>
|
245
|
-
</div>
|
246
|
-
</div>
|
247
|
-
|
248
|
-
<div id="method-M000019" class="method-detail">
|
249
|
-
<a name="M000019"></a>
|
250
|
-
|
251
|
-
<div class="method-heading">
|
252
|
-
<a href="#M000019" class="method-signature">
|
253
|
-
<span class="method-name">delete_cells</span><span class="method-args">(row, column)</span>
|
254
|
-
</a>
|
255
|
-
</div>
|
256
|
-
|
257
|
-
<div class="method-description">
|
258
|
-
<p><a class="source-toggle" href="#"
|
259
|
-
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
260
|
-
<div class="method-source-code" id="M000019-source">
|
261
|
-
<pre>
|
262
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 40</span>
|
263
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_cells</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
|
264
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:deleteAll</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">column</span>
|
265
|
-
<span class="ruby-keyword kw">end</span>
|
266
|
-
</pre>
|
267
|
-
</div>
|
268
|
-
</div>
|
269
|
-
</div>
|
270
|
-
|
271
|
-
<div id="method-M000018" class="method-detail">
|
272
|
-
<a name="M000018"></a>
|
273
|
-
|
274
|
-
<div class="method-heading">
|
275
|
-
<a href="#M000018" class="method-signature">
|
276
|
-
<span class="method-name">delete_row</span><span class="method-args">(row)</span>
|
277
|
-
</a>
|
278
|
-
</div>
|
279
|
-
|
280
|
-
<div class="method-description">
|
281
|
-
<p><a class="source-toggle" href="#"
|
282
|
-
onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
|
283
|
-
<div class="method-source-code" id="M000018-source">
|
284
|
-
<pre>
|
285
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 36</span>
|
286
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_row</span>(<span class="ruby-identifier">row</span>)
|
287
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:deleteAllRow</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>
|
288
|
-
<span class="ruby-keyword kw">end</span>
|
289
|
-
</pre>
|
290
|
-
</div>
|
291
|
-
</div>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
<div id="method-M000014" class="method-detail">
|
295
|
-
<a name="M000014"></a>
|
296
|
-
|
297
|
-
<div class="method-heading">
|
298
|
-
<a href="#M000014" class="method-signature">
|
299
|
-
<span class="method-name">get</span><span class="method-args">(row, column)</span>
|
300
|
-
</a>
|
301
|
-
</div>
|
302
|
-
|
303
|
-
<div class="method-description">
|
304
|
-
<p><a class="source-toggle" href="#"
|
305
|
-
onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
|
306
|
-
<div class="method-source-code" id="M000014-source">
|
307
|
-
<pre>
|
308
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 17</span>
|
309
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
|
310
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:get</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">column</span>
|
311
|
-
<span class="ruby-keyword kw">end</span>
|
312
|
-
</pre>
|
313
|
-
</div>
|
314
|
-
</div>
|
315
|
-
</div>
|
316
|
-
|
317
|
-
<div id="method-M000015" class="method-detail">
|
318
|
-
<a name="M000015"></a>
|
319
|
-
|
320
|
-
<div class="method-heading">
|
321
|
-
<a href="#M000015" class="method-signature">
|
322
|
-
<span class="method-name">get_last</span><span class="method-args">(row, column, default=nil)</span>
|
323
|
-
</a>
|
324
|
-
</div>
|
325
|
-
|
326
|
-
<div class="method-description">
|
327
|
-
<p>
|
328
|
-
<a href="Table.html#M000014">get</a> the last value for the given row /
|
329
|
-
column
|
330
|
-
</p>
|
331
|
-
<p><a class="source-toggle" href="#"
|
332
|
-
onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
|
333
|
-
<div class="method-source-code" id="M000015-source">
|
334
|
-
<pre>
|
335
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 22</span>
|
336
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_last</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>, <span class="ruby-identifier">default</span>=<span class="ruby-keyword kw">nil</span>)
|
337
|
-
<span class="ruby-identifier">r</span> = <span class="ruby-identifier">get</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">column</span>)
|
338
|
-
(<span class="ruby-identifier">r</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">value</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">default</span>
|
339
|
-
<span class="ruby-keyword kw">end</span>
|
340
|
-
</pre>
|
341
|
-
</div>
|
342
|
-
</div>
|
343
|
-
</div>
|
344
|
-
|
345
|
-
<div id="method-M000016" class="method-detail">
|
346
|
-
<a name="M000016"></a>
|
347
|
-
|
348
|
-
<div class="method-heading">
|
349
|
-
<a href="#M000016" class="method-signature">
|
350
|
-
<span class="method-name">get_row</span><span class="method-args">(row)</span>
|
351
|
-
</a>
|
352
|
-
</div>
|
353
|
-
|
354
|
-
<div class="method-description">
|
355
|
-
<p><a class="source-toggle" href="#"
|
356
|
-
onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
|
357
|
-
<div class="method-source-code" id="M000016-source">
|
358
|
-
<pre>
|
359
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 27</span>
|
360
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_row</span>(<span class="ruby-identifier">row</span>)
|
361
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:getRow</span>, <span class="ruby-identifier">row</span>.<span class="ruby-identifier">to_s</span>
|
362
|
-
<span class="ruby-keyword kw">end</span>
|
363
|
-
</pre>
|
364
|
-
</div>
|
365
|
-
</div>
|
366
|
-
</div>
|
367
|
-
|
368
|
-
<div id="method-M000022" class="method-detail">
|
369
|
-
<a name="M000022"></a>
|
370
|
-
|
371
|
-
<div class="method-heading">
|
372
|
-
<a href="#M000022" class="method-signature">
|
373
|
-
<span class="method-name">mutate_row</span><span class="method-args">(row, mutations)</span>
|
374
|
-
</a>
|
375
|
-
</div>
|
376
|
-
|
377
|
-
<div class="method-description">
|
378
|
-
<p>
|
379
|
-
mutations is a key / value pair to insert / update for the given row the
|
380
|
-
keys are in the form "family:column"
|
381
|
-
</p>
|
382
|
-
<p><a class="source-toggle" href="#"
|
383
|
-
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
384
|
-
<div class="method-source-code" id="M000022-source">
|
385
|
-
<pre>
|
386
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 58</span>
|
387
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mutate_row</span>(<span class="ruby-identifier">row</span>, <span class="ruby-identifier">mutations</span>)
|
388
|
-
<span class="ruby-identifier">mutations</span> = <span class="ruby-identifier">mutations</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</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">Mutation</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:column</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">k</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">v</span>) }
|
389
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:mutateRow</span>, <span class="ruby-identifier">row</span>, <span class="ruby-identifier">mutations</span>
|
390
|
-
<span class="ruby-keyword kw">end</span>
|
391
|
-
</pre>
|
392
|
-
</div>
|
393
|
-
</div>
|
394
|
-
</div>
|
395
|
-
|
396
|
-
<div id="method-M000013" class="method-detail">
|
397
|
-
<a name="M000013"></a>
|
398
|
-
|
399
|
-
<div class="method-heading">
|
400
|
-
<a href="#M000013" class="method-signature">
|
401
|
-
<span class="method-name">regions</span><span class="method-args">()</span>
|
402
|
-
</a>
|
403
|
-
</div>
|
404
|
-
|
405
|
-
<div class="method-description">
|
406
|
-
<p><a class="source-toggle" href="#"
|
407
|
-
onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
|
408
|
-
<div class="method-source-code" id="M000013-source">
|
409
|
-
<pre>
|
410
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 13</span>
|
411
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">regions</span>
|
412
|
-
<span class="ruby-identifier">call</span> <span class="ruby-identifier">:getTableRegions</span>
|
413
|
-
<span class="ruby-keyword kw">end</span>
|
414
|
-
</pre>
|
415
|
-
</div>
|
416
|
-
</div>
|
417
|
-
</div>
|
418
|
-
|
419
|
-
<div id="method-M000023" class="method-detail">
|
420
|
-
<a name="M000023"></a>
|
421
|
-
|
422
|
-
<div class="method-heading">
|
423
|
-
<a href="#M000023" class="method-signature">
|
424
|
-
<span class="method-name">to_s</span><span class="method-args">()</span>
|
425
|
-
</a>
|
426
|
-
</div>
|
427
|
-
|
428
|
-
<div class="method-description">
|
429
|
-
<p><a class="source-toggle" href="#"
|
430
|
-
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
431
|
-
<div class="method-source-code" id="M000023-source">
|
432
|
-
<pre>
|
433
|
-
<span class="ruby-comment cmt"># File lib/hbaserb/table.rb, line 63</span>
|
434
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
435
|
-
<span class="ruby-identifier">s</span> = <span class="ruby-value str">""</span>
|
436
|
-
<span class="ruby-identifier">create_scanner</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
|
437
|
-
<span class="ruby-identifier">cols</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">columns</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-node">"#{k}: #{v.value}"</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-value str">", "</span>)
|
438
|
-
<span class="ruby-identifier">s</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"#{r.row}: #{cols}\n"</span>
|
439
|
-
}
|
440
|
-
<span class="ruby-identifier">s</span>
|
441
|
-
<span class="ruby-keyword kw">end</span>
|
442
|
-
</pre>
|
443
|
-
</div>
|
444
|
-
</div>
|
445
|
-
</div>
|
446
|
-
|
447
|
-
|
448
|
-
</div>
|
449
|
-
|
450
|
-
|
451
|
-
</div>
|
452
|
-
|
453
|
-
|
454
|
-
<div id="validator-badges">
|
455
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
456
|
-
</div>
|
457
|
-
|
458
|
-
</body>
|
459
|
-
</html>
|