Uses of Interface
com.couchbase.client.java.query.Statement
-
Uses of Statement in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type Statement Modifier and Type Method Description rx.Observable<AsyncN1qlQueryResult>
AsyncBucket. query(Statement statement)
Queries a N1QL secondary index with a simpleStatement
.N1qlQueryResult
Bucket. query(Statement statement)
Queries a N1QL secondary index with thedefault query timeout
.N1qlQueryResult
Bucket. query(Statement statement, long timeout, TimeUnit timeUnit)
Queries a N1QL secondary index with a custom timeout.rx.Observable<AsyncN1qlQueryResult>
CouchbaseAsyncBucket. query(Statement statement)
N1qlQueryResult
CouchbaseBucket. query(Statement statement)
N1qlQueryResult
CouchbaseBucket. query(Statement statement, long timeout, TimeUnit timeUnit)
-
Uses of Statement in com.couchbase.client.java.query
Subinterfaces of Statement in com.couchbase.client.java.query Modifier and Type Interface Description interface
SerializableStatement
AStatement
that is also explicitlySerializable
.Classes in com.couchbase.client.java.query that implement Statement Modifier and Type Class Description class
PreparedPayload
The payload necessary to perform aPreparedN1qlQuery
, as returned when issuing aPrepareStatement
.class
PrepareStatement
A PREPAREStatement
that wraps another Statement in order to send it to the server and produce aPreparedPayload
.Methods in com.couchbase.client.java.query that return Statement Modifier and Type Method Description Statement
PrepareStatement. originalStatement()
Statement
AbstractN1qlQuery. statement()
abstract Statement
N1qlQuery. statement()
Returns theStatement
from this query.Methods in com.couchbase.client.java.query with parameters of type Statement Modifier and Type Method Description static ParameterizedN1qlQuery
N1qlQuery. parameterized(Statement statement, JsonArray positionalParams)
Create a new query with positional parameters.static ParameterizedN1qlQuery
N1qlQuery. parameterized(Statement statement, JsonArray positionalParams, N1qlParams params)
Create a new query with positionalParameters.static ParameterizedN1qlQuery
N1qlQuery. parameterized(Statement statement, JsonObject namedParams)
Create a new query with named parameters.static ParameterizedN1qlQuery
N1qlQuery. parameterized(Statement statement, JsonObject namedParams, N1qlParams params)
Create a new query with named parameters.static PrepareStatement
PrepareStatement. prepare(Statement statement)
Construct aPrepareStatement
from a select-likeStatement
.static PrepareStatement
PrepareStatement. prepare(Statement statement, String preparedName)
Construct aPrepareStatement
from a select-likeStatement
and give it a name.static SimpleN1qlQuery
N1qlQuery. simple(Statement statement)
static SimpleN1qlQuery
N1qlQuery. simple(Statement statement, N1qlParams params)
Constructors in com.couchbase.client.java.query with parameters of type Statement Constructor Description AbstractN1qlQuery(Statement statement, N1qlParams params)
PreparedPayload(Statement originalStatement, String preparedName, String encodedPlan)
-
Uses of Statement in com.couchbase.client.java.query.core
Methods in com.couchbase.client.java.query.core with parameters of type Statement Modifier and Type Method Description protected rx.Observable<PreparedPayload>
N1qlQueryExecutor. prepare(Statement statement)
Queries a N1QL secondary index and prepare an execution plan via the given statement inString
form. -
Uses of Statement in com.couchbase.client.java.query.dsl
Methods in com.couchbase.client.java.query.dsl with parameters of type Statement Modifier and Type Method Description static Expression
Expression. sub(Statement statement)
Creates an expression from a given sub-Statement
, wrapping it in parenthesis.static Expression
Expression. x(Statement statement)
Creates an expression for a givenStatement
, as is. -
Uses of Statement in com.couchbase.client.java.query.dsl.element
Constructors in com.couchbase.client.java.query.dsl.element with parameters of type Statement Constructor Description ExceptElement(boolean all, Statement with)
InsertSelectElement(Expression key, Expression value, Statement select)
IntersectElement(boolean all, Statement with)
UnionElement(boolean all, Statement with)
-
Uses of Statement in com.couchbase.client.java.query.dsl.path
Subinterfaces of Statement in com.couchbase.client.java.query.dsl.path Modifier and Type Interface Description interface
AsPath
.interface
DeleteUsePath
interface
FromPath
.interface
GroupByPath
.interface
HavingPath
.interface
HintPath
Hint clause (especially for specifying indexes to use) after a from clause.interface
InitialUpdateUnsetPath
interface
InsertValuesPath
interface
JoinPath
.interface
KeysPath
.interface
LetPath
interface
LettingPath
.interface
LimitPath
interface
MergeDeletePath
interface
MergeDeleteWherePath
interface
MergeInsertPath
interface
MergeInsertWherePath
interface
MergeUpdatePath
.interface
MergeUpdateSetOrUnsetPath
interface
MergeUpdateSetPath
interface
MergeUpdateUnsetPath
interface
MergeUpdateWherePath
interface
MutateLimitPath
interface
MutateWherePath
interface
NestPath
.interface
OffsetPath
.interface
OrderByPath
.interface
ReturningPath
interface
SelectResultPath
.interface
UnnestPath
.interface
UpdateSetOrUnsetPath
interface
UpdateSetPath
interface
UpdateUnsetPath
interface
UpdateUsePath
interface
WherePath
Filters resulting rows based on the given expression.Methods in com.couchbase.client.java.query.dsl.path that return Statement Modifier and Type Method Description Statement
DefaultOffsetPath. offset(int offset)
Statement
OffsetPath. offset(int offset)
Statement
DefaultReturningPath. returning(Expression expression)
Statement
DefaultReturningPath. returning(String expression)
Statement
ReturningPath. returning(Expression expression)
Statement
ReturningPath. returning(String expression)
Statement
DefaultReturningPath. returningElement(Expression expression)
Statement
DefaultReturningPath. returningElement(String expression)
Statement
ReturningPath. returningElement(Expression expression)
Statement
ReturningPath. returningElement(String expression)
Statement
DefaultReturningPath. returningRaw(Expression expression)
Statement
DefaultReturningPath. returningRaw(String expression)
Statement
ReturningPath. returningRaw(Expression expression)
Statement
ReturningPath. returningRaw(String expression)
Methods in com.couchbase.client.java.query.dsl.path with parameters of type Statement Modifier and Type Method Description ReturningPath
DefaultInitialInsertPath. select(Expression key, Expression value, Statement select)
ReturningPath
DefaultInitialInsertPath. select(Expression key, Statement select)
ReturningPath
DefaultInitialInsertPath. select(Expression key, String value, Statement select)
ReturningPath
DefaultInitialInsertPath. select(String key, Expression value, Statement select)
ReturningPath
DefaultInitialInsertPath. select(String key, Statement select)
ReturningPath
DefaultInitialInsertPath. select(String key, String value, Statement select)
ReturningPath
InitialInsertPath. select(Expression key, Expression value, Statement select)
ReturningPath
InitialInsertPath. select(Expression key, Statement select)
ReturningPath
InitialInsertPath. select(Expression key, String value, Statement select)
ReturningPath
InitialInsertPath. select(String key, Expression value, Statement select)
ReturningPath
InitialInsertPath. select(String key, Statement select)
ReturningPath
InitialInsertPath. select(String key, String value, Statement select)
-
Uses of Statement in com.couchbase.client.java.query.dsl.path.index
Subinterfaces of Statement in com.couchbase.client.java.query.dsl.path.index Modifier and Type Interface Description interface
DropPath
Initial path of the Index dropping DSL.interface
UsingPath
Using path of the Index dropping DSL.interface
UsingWithPath
Using path of the Index creation DSL.interface
WherePath
Where clause in the Index creation DSL.interface
WithPath
With path of the Index creation DSL (setting options).Classes in com.couchbase.client.java.query.dsl.path.index that implement Statement Modifier and Type Class Description class
DefaultDropPath
SeeDropPath
.class
DefaultUsingPath
SeeUsingPath
.class
DefaultUsingWithPath
SeeUsingWithPath
.class
DefaultWherePath
SeeWherePath
.class
DefaultWithPath
SeeWithPath
.Methods in com.couchbase.client.java.query.dsl.path.index that return Statement Modifier and Type Method Description Statement
DefaultUsingPath. using(IndexType indexType)
Statement
UsingPath. using(IndexType indexType)
Describes the type of index to drop.Statement
DefaultWithPath. withDefer()
Statement
WithPath. withDefer()
Specify that the index creation should be deferred to later, allowing to create multiple index and then build them all at once in one scan/swipe.Statement
DefaultWithPath. withDeferAndNode(String nodeName)
Statement
WithPath. withDeferAndNode(String nodeName)
Deprecated.Statement
DefaultWithPath. withDeferAndNodes(String... nodeNames)
Statement
DefaultWithPath. withDeferAndNodes(Collection<String> nodeNames)
Statement
WithPath. withDeferAndNodes(String... nodeNames)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node(s) on which to create a GSI index.Statement
WithPath. withDeferAndNodes(Collection<String> nodeNames)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node(s) on which to create a GSI index.Statement
DefaultWithPath. withNode(String nodeName)
Statement
WithPath. withNode(String nodeName)
Deprecated.you can callWithPath.withNodes(String...)
with a single entry instead.Statement
DefaultWithPath. withNodes(String... nodeNames)
Statement
DefaultWithPath. withNodes(Collection<String> nodeNames)
Statement
WithPath. withNodes(String... nodeNames)
Specify on which node(s) to create a GSI index.Statement
WithPath. withNodes(Collection<String> nodeNames)
Specify on which node(s) to create a GSI index.
WithPath.withDeferAndNodes(String...)
with a single entry instead.