pho 0.7.8 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +8 -0
- data/Rakefile +4 -2
- data/doc/rdoc/classes/Pho.html +4 -0
- data/doc/rdoc/classes/Pho/CommandLine.html +114 -114
- data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
- data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
- data/doc/rdoc/classes/Pho/Etags.html +36 -36
- data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
- data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
- data/doc/rdoc/classes/Pho/FieldPredicateMap.html +102 -102
- data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
- data/doc/rdoc/classes/Pho/FileManagement.html +16 -0
- data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +168 -108
- data/doc/rdoc/classes/Pho/FileManagement/BNodeRewritingHandler.html +226 -0
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +48 -35
- data/doc/rdoc/classes/Pho/FileManagement/FileSplitter.html +291 -0
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +22 -22
- data/doc/rdoc/classes/Pho/FileManagement/StatementHandler.html +152 -0
- data/doc/rdoc/classes/Pho/FileManagement/Util.html +212 -0
- data/doc/rdoc/classes/Pho/Job.html +64 -64
- data/doc/rdoc/classes/Pho/Jobs.html +60 -60
- data/doc/rdoc/classes/Pho/OAI/Record.html +6 -6
- data/doc/rdoc/classes/Pho/OAI/Records.html +24 -24
- data/doc/rdoc/classes/Pho/OAI/Statistics.html +12 -12
- data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
- data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
- data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
- data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
- data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +74 -74
- data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -78
- data/doc/rdoc/classes/Pho/Status.html +26 -26
- data/doc/rdoc/classes/Pho/Store.html +215 -215
- data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
- data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
- data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
- data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +6 -6
- data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
- data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
- data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
- data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
- data/doc/rdoc/classes/String.html +1 -1
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +13 -1
- data/doc/rdoc/files/lib/pho/file_management_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/file_manager_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +1 -1
- data/doc/rdoc/files/lib/pho/upload_rb.html +101 -0
- data/doc/rdoc/files/lib/pho_rb.html +4 -2
- data/doc/rdoc/fr_class_index.html +4 -0
- data/doc/rdoc/fr_file_index.html +1 -0
- data/doc/rdoc/fr_method_index.html +228 -218
- data/lib/pho.rb +4 -1
- data/lib/pho/file_management.rb +30 -1
- data/lib/pho/file_manager.rb +7 -0
- data/lib/pho/rdf_collection.rb +4 -4
- data/lib/pho/upload.rb +156 -0
- data/tests/tc_bnodehandler.rb +42 -0
- data/tests/tc_filesplitter.rb +51 -0
- data/tests/ts_pho.rb +3 -1
- metadata +56 -8
@@ -86,7 +86,7 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
89
|
+
<a href="#M000089">new</a>
|
90
90
|
</div>
|
91
91
|
</div>
|
92
92
|
|
@@ -126,19 +126,19 @@
|
|
126
126
|
<div id="methods">
|
127
127
|
<h3 class="section-bar">Public Class methods</h3>
|
128
128
|
|
129
|
-
<div id="method-
|
130
|
-
<a name="
|
129
|
+
<div id="method-M000089" class="method-detail">
|
130
|
+
<a name="M000089"></a>
|
131
131
|
|
132
132
|
<div class="method-heading">
|
133
|
-
<a href="#
|
133
|
+
<a href="#M000089" class="method-signature">
|
134
134
|
<span class="method-name">new</span><span class="method-args">(identifier, datestamp)</span>
|
135
135
|
</a>
|
136
136
|
</div>
|
137
137
|
|
138
138
|
<div class="method-description">
|
139
139
|
<p><a class="source-toggle" href="#"
|
140
|
-
onclick="toggleCode('
|
141
|
-
<div class="method-source-code" id="
|
140
|
+
onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
|
141
|
+
<div class="method-source-code" id="M000089-source">
|
142
142
|
<pre>
|
143
143
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 36</span>
|
144
144
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">identifier</span>, <span class="ruby-identifier">datestamp</span>)
|
@@ -92,10 +92,10 @@ Collection of records
|
|
92
92
|
<h3 class="section-bar">Methods</h3>
|
93
93
|
|
94
94
|
<div class="name-list">
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
95
|
+
<a href="#M000085">new</a>
|
96
|
+
<a href="#M000086">parse</a>
|
97
|
+
<a href="#M000087">read_from_store</a>
|
98
|
+
<a href="#M000088">read_next_records</a>
|
99
99
|
</div>
|
100
100
|
</div>
|
101
101
|
|
@@ -160,19 +160,19 @@ Collection of records
|
|
160
160
|
<div id="methods">
|
161
161
|
<h3 class="section-bar">Public Class methods</h3>
|
162
162
|
|
163
|
-
<div id="method-
|
164
|
-
<a name="
|
163
|
+
<div id="method-M000085" class="method-detail">
|
164
|
+
<a name="M000085"></a>
|
165
165
|
|
166
166
|
<div class="method-heading">
|
167
|
-
<a href="#
|
167
|
+
<a href="#M000085" class="method-signature">
|
168
168
|
<span class="method-name">new</span><span class="method-args">(responseDate, from, to, records=[], token=nil, list_size=nil, cursor=nil)</span>
|
169
169
|
</a>
|
170
170
|
</div>
|
171
171
|
|
172
172
|
<div class="method-description">
|
173
173
|
<p><a class="source-toggle" href="#"
|
174
|
-
onclick="toggleCode('
|
175
|
-
<div class="method-source-code" id="
|
174
|
+
onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
|
175
|
+
<div class="method-source-code" id="M000085-source">
|
176
176
|
<pre>
|
177
177
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 48</span>
|
178
178
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">responseDate</span>, <span class="ruby-identifier">from</span>, <span class="ruby-identifier">to</span>, <span class="ruby-identifier">records</span>=[], <span class="ruby-identifier">token</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">list_size</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">cursor</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -189,19 +189,19 @@ Collection of records
|
|
189
189
|
</div>
|
190
190
|
</div>
|
191
191
|
|
192
|
-
<div id="method-
|
193
|
-
<a name="
|
192
|
+
<div id="method-M000086" class="method-detail">
|
193
|
+
<a name="M000086"></a>
|
194
194
|
|
195
195
|
<div class="method-heading">
|
196
|
-
<a href="#
|
196
|
+
<a href="#M000086" class="method-signature">
|
197
197
|
<span class="method-name">parse</span><span class="method-args">(response)</span>
|
198
198
|
</a>
|
199
199
|
</div>
|
200
200
|
|
201
201
|
<div class="method-description">
|
202
202
|
<p><a class="source-toggle" href="#"
|
203
|
-
onclick="toggleCode('
|
204
|
-
<div class="method-source-code" id="
|
203
|
+
onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
|
204
|
+
<div class="method-source-code" id="M000086-source">
|
205
205
|
<pre>
|
206
206
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 58</span>
|
207
207
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Records</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">response</span>)
|
@@ -238,11 +238,11 @@ Collection of records
|
|
238
238
|
</div>
|
239
239
|
</div>
|
240
240
|
|
241
|
-
<div id="method-
|
242
|
-
<a name="
|
241
|
+
<div id="method-M000087" class="method-detail">
|
242
|
+
<a name="M000087"></a>
|
243
243
|
|
244
244
|
<div class="method-heading">
|
245
|
-
<a href="#
|
245
|
+
<a href="#M000087" class="method-signature">
|
246
246
|
<span class="method-name">read_from_store</span><span class="method-args">(store, from=nil, to=nil, resumption_token=nil)</span>
|
247
247
|
</a>
|
248
248
|
</div>
|
@@ -252,8 +252,8 @@ Collection of records
|
|
252
252
|
List records from a store
|
253
253
|
</p>
|
254
254
|
<p><a class="source-toggle" href="#"
|
255
|
-
onclick="toggleCode('
|
256
|
-
<div class="method-source-code" id="
|
255
|
+
onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
|
256
|
+
<div class="method-source-code" id="M000087-source">
|
257
257
|
<pre>
|
258
258
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 89</span>
|
259
259
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Records</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">from</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">to</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">resumption_token</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -268,11 +268,11 @@ List records from a store
|
|
268
268
|
</div>
|
269
269
|
</div>
|
270
270
|
|
271
|
-
<div id="method-
|
272
|
-
<a name="
|
271
|
+
<div id="method-M000088" class="method-detail">
|
272
|
+
<a name="M000088"></a>
|
273
273
|
|
274
274
|
<div class="method-heading">
|
275
|
-
<a href="#
|
275
|
+
<a href="#M000088" class="method-signature">
|
276
276
|
<span class="method-name">read_next_records</span><span class="method-args">(store, resumption_token)</span>
|
277
277
|
</a>
|
278
278
|
</div>
|
@@ -301,8 +301,8 @@ iterator, e.g:
|
|
301
301
|
</td></tr>
|
302
302
|
</table>
|
303
303
|
<p><a class="source-toggle" href="#"
|
304
|
-
onclick="toggleCode('
|
305
|
-
<div class="method-source-code" id="
|
304
|
+
onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
|
305
|
+
<div class="method-source-code" id="M000088-source">
|
306
306
|
<pre>
|
307
307
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 109</span>
|
308
308
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Records</span>.<span class="ruby-identifier">read_next_records</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">resumption_token</span>)
|
@@ -93,8 +93,8 @@ interface
|
|
93
93
|
<h3 class="section-bar">Methods</h3>
|
94
94
|
|
95
95
|
<div class="name-list">
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
96
|
+
<a href="#M000090">last_updated</a>
|
97
|
+
<a href="#M000091">num_of_entities</a>
|
98
98
|
</div>
|
99
99
|
</div>
|
100
100
|
|
@@ -116,11 +116,11 @@ interface
|
|
116
116
|
<div id="methods">
|
117
117
|
<h3 class="section-bar">Public Class methods</h3>
|
118
118
|
|
119
|
-
<div id="method-
|
120
|
-
<a name="
|
119
|
+
<div id="method-M000090" class="method-detail">
|
120
|
+
<a name="M000090"></a>
|
121
121
|
|
122
122
|
<div class="method-heading">
|
123
|
-
<a href="#
|
123
|
+
<a href="#M000090" class="method-signature">
|
124
124
|
<span class="method-name">last_updated</span><span class="method-args">(store)</span>
|
125
125
|
</a>
|
126
126
|
</div>
|
@@ -134,8 +134,8 @@ This reads the <a href="../OAI.html">OAI</a>-PMH interface and retrieves
|
|
134
134
|
the datestamp of the most recently updated item
|
135
135
|
</p>
|
136
136
|
<p><a class="source-toggle" href="#"
|
137
|
-
onclick="toggleCode('
|
138
|
-
<div class="method-source-code" id="
|
137
|
+
onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
|
138
|
+
<div class="method-source-code" id="M000090-source">
|
139
139
|
<pre>
|
140
140
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 13</span>
|
141
141
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Statistics</span>.<span class="ruby-identifier">last_updated</span>(<span class="ruby-identifier">store</span>)
|
@@ -147,11 +147,11 @@ the datestamp of the most recently updated item
|
|
147
147
|
</div>
|
148
148
|
</div>
|
149
149
|
|
150
|
-
<div id="method-
|
151
|
-
<a name="
|
150
|
+
<div id="method-M000091" class="method-detail">
|
151
|
+
<a name="M000091"></a>
|
152
152
|
|
153
153
|
<div class="method-heading">
|
154
|
-
<a href="#
|
154
|
+
<a href="#M000091" class="method-signature">
|
155
155
|
<span class="method-name">num_of_entities</span><span class="method-args">(store)</span>
|
156
156
|
</a>
|
157
157
|
</div>
|
@@ -162,8 +162,8 @@ Number of entities in the store. This includes all resources in both the
|
|
162
162
|
metabox AND the contentbox
|
163
163
|
</p>
|
164
164
|
<p><a class="source-toggle" href="#"
|
165
|
-
onclick="toggleCode('
|
166
|
-
<div class="method-source-code" id="
|
165
|
+
onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
|
166
|
+
<div class="method-source-code" id="M000091-source">
|
167
167
|
<pre>
|
168
168
|
<span class="ruby-comment cmt"># File lib/pho/oai.rb, line 20</span>
|
169
169
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Statistics</span>.<span class="ruby-identifier">num_of_entities</span>(<span class="ruby-identifier">store</span>)
|
@@ -98,17 +98,17 @@ href="Store.html">Store</a> methods.
|
|
98
98
|
<h3 class="section-bar">Methods</h3>
|
99
99
|
|
100
100
|
<div class="name-list">
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
101
|
+
<a href="#M000151"><<</a>
|
102
|
+
<a href="#M000149">create_weighting</a>
|
103
|
+
<a href="#M000152">get_by_name</a>
|
104
|
+
<a href="#M000156">mapped_name?</a>
|
105
|
+
<a href="#M000150">new</a>
|
106
|
+
<a href="#M000148">read_from_store</a>
|
107
|
+
<a href="#M000154">remove</a>
|
108
|
+
<a href="#M000155">remove_all</a>
|
109
|
+
<a href="#M000153">remove_by_name</a>
|
110
|
+
<a href="#M000157">to_rdf</a>
|
111
|
+
<a href="#M000158">upload</a>
|
112
112
|
</div>
|
113
113
|
</div>
|
114
114
|
|
@@ -162,11 +162,11 @@ URI for this resource
|
|
162
162
|
<div id="methods">
|
163
163
|
<h3 class="section-bar">Public Class methods</h3>
|
164
164
|
|
165
|
-
<div id="method-
|
166
|
-
<a name="
|
165
|
+
<div id="method-M000149" class="method-detail">
|
166
|
+
<a name="M000149"></a>
|
167
167
|
|
168
168
|
<div class="method-heading">
|
169
|
-
<a href="#
|
169
|
+
<a href="#M000149" class="method-signature">
|
170
170
|
<span class="method-name">create_weighting</span><span class="method-args">(store, name, weight)</span>
|
171
171
|
</a>
|
172
172
|
</div>
|
@@ -189,8 +189,8 @@ according to the Platform naming rules
|
|
189
189
|
</td></tr>
|
190
190
|
</table>
|
191
191
|
<p><a class="source-toggle" href="#"
|
192
|
-
onclick="toggleCode('
|
193
|
-
<div class="method-source-code" id="
|
192
|
+
onclick="toggleCode('M000149-source');return false;">[Source]</a></p>
|
193
|
+
<div class="method-source-code" id="M000149-source">
|
194
194
|
<pre>
|
195
195
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 89</span>
|
196
196
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">QueryProfile</span>.<span class="ruby-identifier">create_weighting</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">weight</span>)
|
@@ -207,19 +207,19 @@ according to the Platform naming rules
|
|
207
207
|
</div>
|
208
208
|
</div>
|
209
209
|
|
210
|
-
<div id="method-
|
211
|
-
<a name="
|
210
|
+
<div id="method-M000150" class="method-detail">
|
211
|
+
<a name="M000150"></a>
|
212
212
|
|
213
213
|
<div class="method-heading">
|
214
|
-
<a href="#
|
214
|
+
<a href="#M000150" class="method-signature">
|
215
215
|
<span class="method-name">new</span><span class="method-args">(uri, label, field_weights=Array.new)</span>
|
216
216
|
</a>
|
217
217
|
</div>
|
218
218
|
|
219
219
|
<div class="method-description">
|
220
220
|
<p><a class="source-toggle" href="#"
|
221
|
-
onclick="toggleCode('
|
222
|
-
<div class="method-source-code" id="
|
221
|
+
onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
|
222
|
+
<div class="method-source-code" id="M000150-source">
|
223
223
|
<pre>
|
224
224
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 99</span>
|
225
225
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">label</span>, <span class="ruby-identifier">field_weights</span>=<span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>)
|
@@ -232,19 +232,19 @@ according to the Platform naming rules
|
|
232
232
|
</div>
|
233
233
|
</div>
|
234
234
|
|
235
|
-
<div id="method-
|
236
|
-
<a name="
|
235
|
+
<div id="method-M000148" class="method-detail">
|
236
|
+
<a name="M000148"></a>
|
237
237
|
|
238
238
|
<div class="method-heading">
|
239
|
-
<a href="#
|
239
|
+
<a href="#M000148" class="method-signature">
|
240
240
|
<span class="method-name">read_from_store</span><span class="method-args">(store)</span>
|
241
241
|
</a>
|
242
242
|
</div>
|
243
243
|
|
244
244
|
<div class="method-description">
|
245
245
|
<p><a class="source-toggle" href="#"
|
246
|
-
onclick="toggleCode('
|
247
|
-
<div class="method-source-code" id="
|
246
|
+
onclick="toggleCode('M000148-source');return false;">[Source]</a></p>
|
247
|
+
<div class="method-source-code" id="M000148-source">
|
248
248
|
<pre>
|
249
249
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 53</span>
|
250
250
|
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">QueryProfile</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>)
|
@@ -283,19 +283,19 @@ according to the Platform naming rules
|
|
283
283
|
|
284
284
|
<h3 class="section-bar">Public Instance methods</h3>
|
285
285
|
|
286
|
-
<div id="method-
|
287
|
-
<a name="
|
286
|
+
<div id="method-M000151" class="method-detail">
|
287
|
+
<a name="M000151"></a>
|
288
288
|
|
289
289
|
<div class="method-heading">
|
290
|
-
<a href="#
|
290
|
+
<a href="#M000151" class="method-signature">
|
291
291
|
<span class="method-name"><<</span><span class="method-args">(weight)</span>
|
292
292
|
</a>
|
293
293
|
</div>
|
294
294
|
|
295
295
|
<div class="method-description">
|
296
296
|
<p><a class="source-toggle" href="#"
|
297
|
-
onclick="toggleCode('
|
298
|
-
<div class="method-source-code" id="
|
297
|
+
onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
|
298
|
+
<div class="method-source-code" id="M000151-source">
|
299
299
|
<pre>
|
300
300
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 105</span>
|
301
301
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">weight</span>)
|
@@ -306,11 +306,11 @@ according to the Platform naming rules
|
|
306
306
|
</div>
|
307
307
|
</div>
|
308
308
|
|
309
|
-
<div id="method-
|
310
|
-
<a name="
|
309
|
+
<div id="method-M000152" class="method-detail">
|
310
|
+
<a name="M000152"></a>
|
311
311
|
|
312
312
|
<div class="method-heading">
|
313
|
-
<a href="#
|
313
|
+
<a href="#M000152" class="method-signature">
|
314
314
|
<span class="method-name">get_by_name</span><span class="method-args">(name)</span>
|
315
315
|
</a>
|
316
316
|
</div>
|
@@ -320,8 +320,8 @@ according to the Platform naming rules
|
|
320
320
|
Retrieve a FieldWeighing by name
|
321
321
|
</p>
|
322
322
|
<p><a class="source-toggle" href="#"
|
323
|
-
onclick="toggleCode('
|
324
|
-
<div class="method-source-code" id="
|
323
|
+
onclick="toggleCode('M000152-source');return false;">[Source]</a></p>
|
324
|
+
<div class="method-source-code" id="M000152-source">
|
325
325
|
<pre>
|
326
326
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 110</span>
|
327
327
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -332,11 +332,11 @@ Retrieve a FieldWeighing by name
|
|
332
332
|
</div>
|
333
333
|
</div>
|
334
334
|
|
335
|
-
<div id="method-
|
336
|
-
<a name="
|
335
|
+
<div id="method-M000156" class="method-detail">
|
336
|
+
<a name="M000156"></a>
|
337
337
|
|
338
338
|
<div class="method-heading">
|
339
|
-
<a href="#
|
339
|
+
<a href="#M000156" class="method-signature">
|
340
340
|
<span class="method-name">mapped_name?</span><span class="method-args">(name)</span>
|
341
341
|
</a>
|
342
342
|
</div>
|
@@ -346,8 +346,8 @@ Retrieve a FieldWeighing by name
|
|
346
346
|
Is there a field weighting for a property with this name?
|
347
347
|
</p>
|
348
348
|
<p><a class="source-toggle" href="#"
|
349
|
-
onclick="toggleCode('
|
350
|
-
<div class="method-source-code" id="
|
349
|
+
onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
|
350
|
+
<div class="method-source-code" id="M000156-source">
|
351
351
|
<pre>
|
352
352
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 133</span>
|
353
353
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mapped_name?</span>(<span class="ruby-identifier">name</span>)
|
@@ -358,11 +358,11 @@ Is there a field weighting for a property with this name?
|
|
358
358
|
</div>
|
359
359
|
</div>
|
360
360
|
|
361
|
-
<div id="method-
|
362
|
-
<a name="
|
361
|
+
<div id="method-M000154" class="method-detail">
|
362
|
+
<a name="M000154"></a>
|
363
363
|
|
364
364
|
<div class="method-heading">
|
365
|
-
<a href="#
|
365
|
+
<a href="#M000154" class="method-signature">
|
366
366
|
<span class="method-name">remove</span><span class="method-args">(fw)</span>
|
367
367
|
</a>
|
368
368
|
</div>
|
@@ -373,8 +373,8 @@ Remove a <a href="FieldWeighting.html">FieldWeighting</a> from the
|
|
373
373
|
collection
|
374
374
|
</p>
|
375
375
|
<p><a class="source-toggle" href="#"
|
376
|
-
onclick="toggleCode('
|
377
|
-
<div class="method-source-code" id="
|
376
|
+
onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
|
377
|
+
<div class="method-source-code" id="M000154-source">
|
378
378
|
<pre>
|
379
379
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 123</span>
|
380
380
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">fw</span>)
|
@@ -385,11 +385,11 @@ collection
|
|
385
385
|
</div>
|
386
386
|
</div>
|
387
387
|
|
388
|
-
<div id="method-
|
389
|
-
<a name="
|
388
|
+
<div id="method-M000155" class="method-detail">
|
389
|
+
<a name="M000155"></a>
|
390
390
|
|
391
391
|
<div class="method-heading">
|
392
|
-
<a href="#
|
392
|
+
<a href="#M000155" class="method-signature">
|
393
393
|
<span class="method-name">remove_all</span><span class="method-args">()</span>
|
394
394
|
</a>
|
395
395
|
</div>
|
@@ -399,8 +399,8 @@ collection
|
|
399
399
|
Remove all field weights
|
400
400
|
</p>
|
401
401
|
<p><a class="source-toggle" href="#"
|
402
|
-
onclick="toggleCode('
|
403
|
-
<div class="method-source-code" id="
|
402
|
+
onclick="toggleCode('M000155-source');return false;">[Source]</a></p>
|
403
|
+
<div class="method-source-code" id="M000155-source">
|
404
404
|
<pre>
|
405
405
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 128</span>
|
406
406
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_all</span>()
|
@@ -411,11 +411,11 @@ Remove all field weights
|
|
411
411
|
</div>
|
412
412
|
</div>
|
413
413
|
|
414
|
-
<div id="method-
|
415
|
-
<a name="
|
414
|
+
<div id="method-M000153" class="method-detail">
|
415
|
+
<a name="M000153"></a>
|
416
416
|
|
417
417
|
<div class="method-heading">
|
418
|
-
<a href="#
|
418
|
+
<a href="#M000153" class="method-signature">
|
419
419
|
<span class="method-name">remove_by_name</span><span class="method-args">(name)</span>
|
420
420
|
</a>
|
421
421
|
</div>
|
@@ -425,8 +425,8 @@ Remove all field weights
|
|
425
425
|
Remove a <a href="FieldWeighting.html">FieldWeighting</a> by name
|
426
426
|
</p>
|
427
427
|
<p><a class="source-toggle" href="#"
|
428
|
-
onclick="toggleCode('
|
429
|
-
<div class="method-source-code" id="
|
428
|
+
onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
|
429
|
+
<div class="method-source-code" id="M000153-source">
|
430
430
|
<pre>
|
431
431
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 115</span>
|
432
432
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove_by_name</span>(<span class="ruby-identifier">name</span>)
|
@@ -440,11 +440,11 @@ Remove a <a href="FieldWeighting.html">FieldWeighting</a> by name
|
|
440
440
|
</div>
|
441
441
|
</div>
|
442
442
|
|
443
|
-
<div id="method-
|
444
|
-
<a name="
|
443
|
+
<div id="method-M000157" class="method-detail">
|
444
|
+
<a name="M000157"></a>
|
445
445
|
|
446
446
|
<div class="method-heading">
|
447
|
-
<a href="#
|
447
|
+
<a href="#M000157" class="method-signature">
|
448
448
|
<span class="method-name">to_rdf</span><span class="method-args">()</span>
|
449
449
|
</a>
|
450
450
|
</div>
|
@@ -455,8 +455,8 @@ Dump this object to an RDF/XML representation suitable for submitting to
|
|
455
455
|
the Platform
|
456
456
|
</p>
|
457
457
|
<p><a class="source-toggle" href="#"
|
458
|
-
onclick="toggleCode('
|
459
|
-
<div class="method-source-code" id="
|
458
|
+
onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
|
459
|
+
<div class="method-source-code" id="M000157-source">
|
460
460
|
<pre>
|
461
461
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 138</span>
|
462
462
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>
|
@@ -487,11 +487,11 @@ the Platform
|
|
487
487
|
</div>
|
488
488
|
</div>
|
489
489
|
|
490
|
-
<div id="method-
|
491
|
-
<a name="
|
490
|
+
<div id="method-M000158" class="method-detail">
|
491
|
+
<a name="M000158"></a>
|
492
492
|
|
493
493
|
<div class="method-heading">
|
494
|
-
<a href="#
|
494
|
+
<a href="#M000158" class="method-signature">
|
495
495
|
<span class="method-name">upload</span><span class="method-args">(store)</span>
|
496
496
|
</a>
|
497
497
|
</div>
|
@@ -502,8 +502,8 @@ Upload an RDF/XML presentation of this object to the provided Platform <a
|
|
502
502
|
href="Store.html">Store</a>
|
503
503
|
</p>
|
504
504
|
<p><a class="source-toggle" href="#"
|
505
|
-
onclick="toggleCode('
|
506
|
-
<div class="method-source-code" id="
|
505
|
+
onclick="toggleCode('M000158-source');return false;">[Source]</a></p>
|
506
|
+
<div class="method-source-code" id="M000158-source">
|
507
507
|
<pre>
|
508
508
|
<span class="ruby-comment cmt"># File lib/pho/query_profile.rb, line 163</span>
|
509
509
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">store</span>)
|