Class StringBasedN1qlQueryParser.N1qlSpelValues
java.lang.Object
org.springframework.data.couchbase.repository.query.StringBasedN1qlQueryParser.N1qlSpelValues
- Enclosing class:
- StringBasedN1qlQueryParser
This class is exposed to SpEL parsing through the variable
#"n1ql"
. Use the attributes
in your SpEL expressions: selectEntity
, fields
, bucket
and filter
.-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final String
final String
#{"#n1ql.delete"}.
final String
final String
#{"#n1ql.filter"}.
final String
final String
final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
selectEntity
#{"#n1ql.selectEntity". selectEntity
will be replaced by the SELECT-FROM clause corresponding to the entity. Use once at the beginning. -
fields
#{"#n1ql.fields". fields
will be replaced by the list of N1QL fields allowing to reconstruct the entity. -
bucket
#{"#n1ql.bucket". bucket
will be replaced by (escaped) bucket name in which the entity is stored. -
scope
#{"#n1ql.scope". bucket
will be replaced by (escaped) scope name in which the entity is stored. -
collection
#{"#n1ql.collection". bucket
will be replaced by (escaped) collection name in which the entity is stored. -
filter
#{"#n1ql.filter"}. filter
will be replaced by an expression allowing to select only entries matching the entity in a WHERE clause. -
delete
#{"#n1ql.delete"}. delete
will be replaced by a delete expression. -
returning
#{"#n1ql.returning"}. returning
will be replaced by a returning expression allowing to return the entity and meta information on deletes.
-
-
Constructor Details
-
N1qlSpelValues
-