Module: RDF::Indexable
- Defined in:
- lib/rdf/mixin/indexable.rb
Overview
A mixin that can be used to mark RDF repository implementations as indexable.
Instance Method Summary collapse
-
#index! ⇒ self
abstract
Indexes
self
. -
#indexed? ⇒ Boolean
abstract
Returns
true
ifself
is indexed at present.
Instance Method Details
#index! ⇒ self
This method is abstract.
Indexes self
.
22 23 24 |
# File 'lib/rdf/mixin/indexable.rb', line 22 def index! raise NotImplementedError, "#{self.class}#index!" end |
#indexed? ⇒ Boolean
This method is abstract.
Returns true
if self
is indexed at present.
13 14 15 |
# File 'lib/rdf/mixin/indexable.rb', line 13 def indexed? false end |