Module: RDF::Indexable
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/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 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/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 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/mixin/indexable.rb', line 13 def indexed? false end |