Class: Valkyrie::Persistence::Postgres::MetadataAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/valkyrie/persistence/postgres/metadata_adapter.rb

Instance Method Summary collapse

Instance Method Details

#persisterClass

Returns Persister.

Returns:


7
8
9
# File 'lib/valkyrie/persistence/postgres/metadata_adapter.rb', line 7

def persister
  Valkyrie::Persistence::Postgres::Persister.new(adapter: self)
end

#query_serviceClass

Returns QueryService.

Returns:


12
13
14
# File 'lib/valkyrie/persistence/postgres/metadata_adapter.rb', line 12

def query_service
  @query_service ||= Valkyrie::Persistence::Postgres::QueryService.new(adapter: self)
end

#resource_factoryObject


16
17
18
# File 'lib/valkyrie/persistence/postgres/metadata_adapter.rb', line 16

def resource_factory
  Valkyrie::Persistence::Postgres::ResourceFactory
end