Package com.querydsl.couchbase.document
Class CouchbaseDocumentSerializer
java.lang.Object
com.querydsl.couchbase.document.CouchbaseDocumentSerializer
- Direct Known Subclasses:
SpringDataCouchbaseSerializer
public abstract class CouchbaseDocumentSerializer
extends Object
implements com.querydsl.core.types.Visitor<Object,Void>
Serializes the given Querydsl query to a Document query for Couchbase.
- Author:
- Michael Reiche
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
asDBKey
(com.querydsl.core.types.Operation<?> expr, int index) protected Object
asDBValue
(com.querydsl.core.types.Operation<?> expr, int index) protected QueryCriteriaDefinition
asDocument
(String key, Object value) protected abstract DBRef
asReference
(Object constant) protected DBRef
asReferenceKey
(Class<?> entity, Object id) protected String
getKeyForPath
(com.querydsl.core.types.Path<?> expr, com.querydsl.core.types.PathMetadata metadata) handle
(com.querydsl.core.types.Expression<?> expression) protected boolean
isId
(com.querydsl.core.types.Path<?> arg) protected boolean
protected abstract boolean
isReference
(com.querydsl.core.types.Path<?> arg)
-
Constructor Details
-
CouchbaseDocumentSerializer
public CouchbaseDocumentSerializer()
-
-
Method Details
-
handle
-
toSort
-
visit
-
visit
-
visit
-
asDBKey
-
asDBValue
-
asDocument
-
visit
-
isImplicitObjectIdConversion
protected boolean isImplicitObjectIdConversion() -
asReferenceKey
-
asReference
-
isReference
protected abstract boolean isReference(com.querydsl.core.types.Path<?> arg) -
isId
protected boolean isId(com.querydsl.core.types.Path<?> arg) -
visit
-
getKeyForPath
protected String getKeyForPath(com.querydsl.core.types.Path<?> expr, com.querydsl.core.types.PathMetadata metadata) -
visit
-
visit
-