@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @Documented public @interface Query
StringN1qlQueryCreator
Using it without parameter will resolve the query from the method name. Providing a value (an inline N1QL statement) will execute that statement instead.
In this case, one can use a placeholder notation of ?0
, ?1
and so on.
Also, SpEL in the form #{spelExpression}
is supported, including the following N1QL variables that will
be replaced by the underlying CouchbaseTemplate
associated information:
public abstract String value
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.