-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add builder pattern to build queries
- Loading branch information
Sükein Alex
committed
Jun 5, 2017
1 parent
458aea4
commit 3805b94
Showing
14 changed files
with
366 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
src/main/java/com/wanari/utils/couchbase/CouchbaseFilter.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/main/java/com/wanari/utils/couchbase/CouchbaseFilterConditions.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/main/java/com/wanari/utils/couchbase/CouchbaseFilterEntry.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/main/java/com/wanari/utils/couchbase/exceptions/NonUniqueResultException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package com.wanari.utils.couchbase.exceptions; | ||
|
||
import com.couchbase.client.java.document.json.JsonObject; | ||
import com.wanari.utils.couchbase.parameter.Parameters; | ||
|
||
public class NonUniqueResultException extends RuntimeException { | ||
public NonUniqueResultException(JsonObject params) { | ||
super("More than one document found with params: " + params.toString()); | ||
public NonUniqueResultException(Parameters params) { | ||
super("More than one document found with params: " + params.toJsonObject().toString()); | ||
} | ||
} |
Oops, something went wrong.