module RDF::Indexable

A mixin that can be used to mark RDF repository implementations as indexable.

@since 0.3.0

Public Instance Methods

index!() click to toggle source

Indexes `self`.

@abstract @return [self]

# File lib/rdf/mixin/indexable.rb, line 22
def index!
  raise NotImplementedError, "#{self.class}#index!"
end
indexed?() click to toggle source

Returns `true` if `self` is indexed at present.

@abstract @return [Boolean]

# File lib/rdf/mixin/indexable.rb, line 13
def indexed?
  false
end