summaryrefslogtreecommitdiffstats
path: root/common/query.h
Commit message (Collapse)AuthorAge
* Implement Overlap queriesRémi Nicole2018-06-19
| | | | | | | | | | | | | | | | | | | | Summary: Notes: - Introduces the concept of queries on multiple properties (which meant changing query's internals a bit) - Dates are stored as well as the "reference" in the index to allow quick filtering without fetching the whole entity - Buckets are weeks starting on Monday (guaranteed by the use of the Julian calendar) - Some size improvements are definitely possible (dates are padded numbers again, not using integer databases, Julian calendar starts at a very old date, etc.) Test Plan: Tested in querytest Reviewers: cmollekopf Reviewed By: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D13477
* Implement ranged queriesRémi Nicole2018-05-28
| | | | | | | | | | | | | | | Summary: Notes: - For now, only for QDateTime indexes - Invalid QDateTimes are stored in the index (subject to change) - Should be a drop-in replacement from ValueIndexes (except for `In` and `Contains` queries) Reviewers: cmollekopf Tags: #sink Differential Revision: https://phabricator.kde.org/D13105
* CleanupChristian Mollekopf2018-04-20
|
* Fixed a bunch of exportsChristian Mollekopf2018-04-20
|
* Some helper functions to avoid hardcoding collected property namesChristian Mollekopf2018-02-22
|
* Support reductions in the list commandChristian Mollekopf2018-02-21
|
* Xapian based fulltext indexingChristian Mollekopf2018-02-11
| | | | | This cuts into the sync performance by about 40%, but gives us fast fulltext searching for all local content.
* Implemented notification support in the model.Christian Mollekopf2017-03-24
| | | | | | | | This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this.
* We need the resource filter API also for SyncScopeChristian Mollekopf2017-03-19
|
* Fixed query flags.Christian Mollekopf2017-02-13
|
* SINK_EXPORT for free functions needs to go to the beginningChristian Mollekopf2017-01-26
|
* Constructor to sync a single entityChristian Mollekopf2017-01-10
|
* Better query debug outputChristian Mollekopf2016-12-22
|
* Wrap references in a Reerence type.Christian Mollekopf2016-12-08
| | | | | | | | This allows us to make sure that references are not taken out of context (the resource). Because we need to use the type-specific accessors more we also ran into a problem that we cannot "downcast" a reference with the change recording still working, for that we have the cast<T>() operator now.
* Fix copy constructor of SyncScopeChristian Mollekopf2016-12-06
| | | | | We used to loose the resource list and thus erroneously sync all available resources.
* We need the default constructor.Christian Mollekopf2016-12-02
|
* Added the flush command.Christian Mollekopf2016-11-25
| | | | | | | Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything.
* Query::setTypeChristian Mollekopf2016-11-14
|
* Hide Query::parentPropertyChristian Mollekopf2016-11-14
|
* Hide the Query::limitChristian Mollekopf2016-11-14
|
* Query::setLimitChristian Mollekopf2016-11-14
|
* CleanupChristian Mollekopf2016-11-14
|
* Prepared new query based synchronization APIChristian Mollekopf2016-11-11
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* Fixed flag testingChristian Mollekopf2016-11-07
|
* Query serialization.Christian Mollekopf2016-11-06
|
* User querybaseChristian Mollekopf2016-11-04
|
* Don't expose the live query flag directly.Christian Mollekopf2016-11-04
|
* Separated the base filter from the rest of the query.Christian Mollekopf2016-11-04
|
* count as a first aggregation functionChristian Mollekopf2016-10-06
|
* Moved standard quries to a separate header.Christian Mollekopf2016-10-06
|
* A query for outgoing mailsChristian Mollekopf2016-10-05
|
* A better resource filter apiChristian Mollekopf2016-10-05
|
* Specify base set as part of the filter stages in the query.Christian Mollekopf2016-10-05
|
* Support for subqueries.Christian Mollekopf2016-10-04
| | | | | | This allows us to match properties from a subquery. Unfortunately this also means that DataStoreQuery needs access to all type implementations to issue the subquery (for potentially another type).
* Use the Query::filter api.Christian Mollekopf2016-09-27
|
* Don't access the propertyFilter list directly.Christian Mollekopf2016-09-27
|
* New query apiChristian Mollekopf2016-09-27
|
* BloomingChristian Mollekopf2016-09-26
|
* A first draft of the threading algorithm.Christian Mollekopf2016-09-20
|
* Avoid clearing the liveQuery flag.Christian Mollekopf2016-06-15
|
* Synchronous APIChristian Mollekopf2016-06-15
|
* Moved query logic to EntityReader to make it reusable in the resource.Christian Mollekopf2016-06-09
|
* Some query API for use with property definitionsChristian Mollekopf2016-05-10
|
* Resource factory methods and capability filter.Christian Mollekopf2016-05-09
|
* Filtering on empty identifiers is an errorChristian Mollekopf2016-05-09
|
* Avoid accidental implicit conversionsChristian Mollekopf2016-05-02
|
* Account filter for resources and contains comparator in queryChristian Mollekopf2016-05-01
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* CleanupChristian Mollekopf2016-02-20
|