Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of implicitly built Criteria #366

Merged
merged 7 commits into from
May 20, 2019

Conversation

jtnelson
Copy link
Member

No description provided.

@jtnelson jtnelson merged commit a4cc5cb into develop May 20, 2019
@jtnelson jtnelson deleted the feature/improve-criteria-object branch May 20, 2019 17:53
jtnelson pushed a commit that referenced this pull request Jun 24, 2019
* Page builder

* Spotless apply

* Moved files to pagination package

* Added abstract methods definitions

* Added thrift methods

* Spotless apply

* Revert pagination merge

* Removed pagination methods

* Splotless apply

* DO NOT MERGE: slight refactor to Order class

* Improve handling of implicitly built Criteria (#366)

* Refactor Criteria to be an interface that applies to all buildable states

* Remove driver methods that took a generic Object criteria parameter. These are now unnecessary since the Criteria interface is implemented by BuiildableState

* update changelog

* fix formatting

* Deprecate Criteria#getCclString in favor of Criteria#ccl

* make method final

* Revert "make method final"

This reverts commit 367400b.

* add method stubs that take an Order specification

* fix formatting

* refactor Order logic to accept timestamps

* add constructs to convert between java and thrift order types

* add implementation stubs for driver methods

* generate plugin support for Order paraemter

* fix a bug in PrettyLinkedTableMap when printing null values

* add ManagedConcourseServer impl

* interim state

* doc update

* checkpoint

* fix formatting

* doc update

* set version number to 0.10.0

* another checkpoint

* fix formatting

* set accent4j dependency to release version

* new client side data collections must use linked collections to preserve order returned from server

* fix formatting

* use null to signal that Order.none() should be used

* Fix the project specicif gradlew scripts to properly accept flags

* CON-649: Prevent unreadable database state when stopping Concourse Server in the middle of indexing (#367)

* CON-649: Add unit test to attempt a repro

* add FileSystem#ls method that takes a Path paramter

* add factory methods that take a Path parameter

* detect when a Block is malformed (e.g. partially written to disk) and throw an Exception

* handle malformed Blocks

* fix formatting

* skip tests

* update changelog

* CON-654: Make background tasks responsive to Database shutdown request (#369)

* set version number to 0.10.0

* CON-654: Make database async tasks (loading, accepting and syncing writes) responsive to stop request.

Use traditional ExecutorService to signal that background threads should stop when Database is stopping. Also use a thread factory that doesn't categorize async threads as daemon threads

* compiler hints

* Fix unit test failure

* update changelog

* update unit test

* allow ete tests to run during build

* fix formatting

* Revert "allow ete tests to run during build"

This reverts commit bf58928.

* fix gradlew script

* Fix the project specicif gradlew scripts to properly accept flags

* make unit test more meaningful

* fix formatting

* Rename ResultIndex => DataIndex and ResultProjection => DataProjection

* make class private

* Use constant for null order

* add integration test for Order

* add more integration tests
jtnelson added a commit that referenced this pull request Jun 29, 2019
* CON-637: Create Order Builder (#360)

* created Order Builder

* Removed where chained call

* Fixed Order

* spotless apply

* Renamed classes

* Moved files to lang.sort package

* Added Sort alias for Order

* Spotless apply

* Readded removed line

* SpotlessApply

* Refactor Order builder a bit

* doc updates

* fix formatting

* add some syntactic sugar

* fix formatting

* CON-640: Concourse Drive Query Methods (#363)

* Page builder

* Spotless apply

* Moved files to pagination package

* Added abstract methods definitions

* Added thrift methods

* Spotless apply

* Revert pagination merge

* Removed pagination methods

* Splotless apply

* DO NOT MERGE: slight refactor to Order class

* Improve handling of implicitly built Criteria (#366)

* Refactor Criteria to be an interface that applies to all buildable states

* Remove driver methods that took a generic Object criteria parameter. These are now unnecessary since the Criteria interface is implemented by BuiildableState

* update changelog

* fix formatting

* Deprecate Criteria#getCclString in favor of Criteria#ccl

* make method final

* Revert "make method final"

This reverts commit 367400b.

* add method stubs that take an Order specification

* fix formatting

* refactor Order logic to accept timestamps

* add constructs to convert between java and thrift order types

* add implementation stubs for driver methods

* generate plugin support for Order paraemter

* fix a bug in PrettyLinkedTableMap when printing null values

* add ManagedConcourseServer impl

* interim state

* doc update

* checkpoint

* fix formatting

* doc update

* set version number to 0.10.0

* another checkpoint

* fix formatting

* set accent4j dependency to release version

* new client side data collections must use linked collections to preserve order returned from server

* fix formatting

* use null to signal that Order.none() should be used

* Fix the project specicif gradlew scripts to properly accept flags

* CON-649: Prevent unreadable database state when stopping Concourse Server in the middle of indexing (#367)

* CON-649: Add unit test to attempt a repro

* add FileSystem#ls method that takes a Path paramter

* add factory methods that take a Path parameter

* detect when a Block is malformed (e.g. partially written to disk) and throw an Exception

* handle malformed Blocks

* fix formatting

* skip tests

* update changelog

* CON-654: Make background tasks responsive to Database shutdown request (#369)

* set version number to 0.10.0

* CON-654: Make database async tasks (loading, accepting and syncing writes) responsive to stop request.

Use traditional ExecutorService to signal that background threads should stop when Database is stopping. Also use a thread factory that doesn't categorize async threads as daemon threads

* compiler hints

* Fix unit test failure

* update changelog

* update unit test

* allow ete tests to run during build

* fix formatting

* Revert "allow ete tests to run during build"

This reverts commit bf58928.

* fix gradlew script

* Fix the project specicif gradlew scripts to properly accept flags

* make unit test more meaningful

* fix formatting

* Rename ResultIndex => DataIndex and ResultProjection => DataProjection

* make class private

* Use constant for null order

* add integration test for Order

* add more integration tests

* don't run spotless task

* try again:

* more unit tests

* more unit tests and fixes

* add annotations back

* add delegate methods for Timestr

* more impl

* formatting

* docs

* fix some bugs

* implement findCriteriaOrder

* remove annotations

* implementation for findKeyOperatorValueOrder

* idk

* implement getCclTimeOrder

* more impls

* another checkpoint

* add implementations for all the get methods

* add docs

* sort

* make NoOrder a singleton

* doc update

* doc update

* bug fixes and doc updates

* add implementations for select methods

* slight refactor

* optimization

* add performance test and try to run ete test on circle ci

* formatting

* fix formatting

* try again...

* nvm

* refactor tests slightly

* update changelog

* fix typo

* add Order and Sort classes to ConcourseShell

* formatting

* add some more unit tests

* formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant