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
FieldsModifier and TypeFieldDescriptionfinal Stringfinal Stringfinal String#{"#n1ql.delete"}.final Stringfinal String#{"#n1ql.filter"}.final Stringfinal Stringfinal String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
selectEntity
#{"#n1ql.selectEntity". selectEntitywill be replaced by the SELECT-FROM clause corresponding to the entity. Use once at the beginning. -
fields
#{"#n1ql.fields". fieldswill be replaced by the list of N1QL fields allowing to reconstruct the entity. -
bucket
#{"#n1ql.bucket". bucketwill be replaced by (escaped) bucket name in which the entity is stored. -
scope
#{"#n1ql.scope". bucketwill be replaced by (escaped) scope name in which the entity is stored. -
collection
#{"#n1ql.collection". bucketwill be replaced by (escaped) collection name in which the entity is stored. -
filter
#{"#n1ql.filter"}. filterwill be replaced by an expression allowing to select only entries matching the entity in a WHERE clause. -
delete
#{"#n1ql.delete"}. deletewill be replaced by a delete expression. -
returning
#{"#n1ql.returning"}. returningwill be replaced by a returning expression allowing to return the entity and meta information on deletes.
-
-
Constructor Details
-
N1qlSpelValues
-