From 71a0167e0216f84588b492c84e92667847fbe5a5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 18 Oct 2016 12:44:12 +0200 Subject: Use the ApplicationDomainType in the queries as well. We have to access properties, so we need the mapper anyways, and the ApplicationDomainType type shouldn't be a large overhead anyways. --- common/domain/event.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'common/domain/event.h') diff --git a/common/domain/event.h b/common/domain/event.h index ce9691d..18e0f20 100644 --- a/common/domain/event.h +++ b/common/domain/event.h @@ -56,8 +56,6 @@ public: typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; static void configureIndex(TypeIndex &index); static QSet indexedProperties(); - static QSharedPointer prepareQuery(const Sink::Query &query, Sink::Storage::EntityStore::Ptr store); - static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction); static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction); static QSharedPointer > initializeReadPropertyMapper(); -- cgit v1.2.3