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.N1qlQueryResultBucket. query(Statement statement)Queries a N1QL secondary index with thedefault query timeout.N1qlQueryResultBucket. query(Statement statement, long timeout, TimeUnit timeUnit)Queries a N1QL secondary index with a custom timeout.rx.Observable<AsyncN1qlQueryResult>CouchbaseAsyncBucket. query(Statement statement)N1qlQueryResultCouchbaseBucket. query(Statement statement)N1qlQueryResultCouchbaseBucket. 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 interfaceSerializableStatementAStatementthat is also explicitlySerializable.Classes in com.couchbase.client.java.query that implement Statement Modifier and Type Class Description classPreparedPayloadThe payload necessary to perform aPreparedN1qlQuery, as returned when issuing aPrepareStatement.classPrepareStatementA PREPAREStatementthat 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 StatementPrepareStatement. originalStatement()StatementAbstractN1qlQuery. statement()abstract StatementN1qlQuery. statement()Returns theStatementfrom this query.Methods in com.couchbase.client.java.query with parameters of type Statement Modifier and Type Method Description static ParameterizedN1qlQueryN1qlQuery. parameterized(Statement statement, JsonArray positionalParams)Create a new query with positional parameters.static ParameterizedN1qlQueryN1qlQuery. parameterized(Statement statement, JsonArray positionalParams, N1qlParams params)Create a new query with positionalParameters.static ParameterizedN1qlQueryN1qlQuery. parameterized(Statement statement, JsonObject namedParams)Create a new query with named parameters.static ParameterizedN1qlQueryN1qlQuery. parameterized(Statement statement, JsonObject namedParams, N1qlParams params)Create a new query with named parameters.static PrepareStatementPrepareStatement. prepare(Statement statement)Construct aPrepareStatementfrom a select-likeStatement.static PrepareStatementPrepareStatement. prepare(Statement statement, String preparedName)Construct aPrepareStatementfrom a select-likeStatementand give it a name.static SimpleN1qlQueryN1qlQuery. simple(Statement statement)static SimpleN1qlQueryN1qlQuery. 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 inStringform. -
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 ExpressionExpression. sub(Statement statement)Creates an expression from a given sub-Statement, wrapping it in parenthesis.static ExpressionExpression. 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 interfaceAsPath.interfaceDeleteUsePathinterfaceFromPath.interfaceGroupByPath.interfaceHavingPath.interfaceHintPathHint clause (especially for specifying indexes to use) after a from clause.interfaceInitialUpdateUnsetPathinterfaceInsertValuesPathinterfaceJoinPath.interfaceKeysPath.interfaceLetPathinterfaceLettingPath.interfaceLimitPathinterfaceMergeDeletePathinterfaceMergeDeleteWherePathinterfaceMergeInsertPathinterfaceMergeInsertWherePathinterfaceMergeUpdatePath.interfaceMergeUpdateSetOrUnsetPathinterfaceMergeUpdateSetPathinterfaceMergeUpdateUnsetPathinterfaceMergeUpdateWherePathinterfaceMutateLimitPathinterfaceMutateWherePathinterfaceNestPath.interfaceOffsetPath.interfaceOrderByPath.interfaceReturningPathinterfaceSelectResultPath.interfaceUnnestPath.interfaceUpdateSetOrUnsetPathinterfaceUpdateSetPathinterfaceUpdateUnsetPathinterfaceUpdateUsePathinterfaceWherePathFilters resulting rows based on the given expression.Methods in com.couchbase.client.java.query.dsl.path that return Statement Modifier and Type Method Description StatementDefaultOffsetPath. offset(int offset)StatementOffsetPath. offset(int offset)StatementDefaultReturningPath. returning(Expression expression)StatementDefaultReturningPath. returning(String expression)StatementReturningPath. returning(Expression expression)StatementReturningPath. returning(String expression)StatementDefaultReturningPath. returningElement(Expression expression)StatementDefaultReturningPath. returningElement(String expression)StatementReturningPath. returningElement(Expression expression)StatementReturningPath. returningElement(String expression)StatementDefaultReturningPath. returningRaw(Expression expression)StatementDefaultReturningPath. returningRaw(String expression)StatementReturningPath. returningRaw(Expression expression)StatementReturningPath. returningRaw(String expression)Methods in com.couchbase.client.java.query.dsl.path with parameters of type Statement Modifier and Type Method Description ReturningPathDefaultInitialInsertPath. select(Expression key, Expression value, Statement select)ReturningPathDefaultInitialInsertPath. select(Expression key, Statement select)ReturningPathDefaultInitialInsertPath. select(Expression key, String value, Statement select)ReturningPathDefaultInitialInsertPath. select(String key, Expression value, Statement select)ReturningPathDefaultInitialInsertPath. select(String key, Statement select)ReturningPathDefaultInitialInsertPath. select(String key, String value, Statement select)ReturningPathInitialInsertPath. select(Expression key, Expression value, Statement select)ReturningPathInitialInsertPath. select(Expression key, Statement select)ReturningPathInitialInsertPath. select(Expression key, String value, Statement select)ReturningPathInitialInsertPath. select(String key, Expression value, Statement select)ReturningPathInitialInsertPath. select(String key, Statement select)ReturningPathInitialInsertPath. 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 interfaceDropPathInitial path of the Index dropping DSL.interfaceUsingPathUsing path of the Index dropping DSL.interfaceUsingWithPathUsing path of the Index creation DSL.interfaceWherePathWhere clause in the Index creation DSL.interfaceWithPathWith 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 classDefaultDropPathSeeDropPath.classDefaultUsingPathSeeUsingPath.classDefaultUsingWithPathSeeUsingWithPath.classDefaultWherePathSeeWherePath.classDefaultWithPathSeeWithPath.Methods in com.couchbase.client.java.query.dsl.path.index that return Statement Modifier and Type Method Description StatementDefaultUsingPath. using(IndexType indexType)StatementUsingPath. using(IndexType indexType)Describes the type of index to drop.StatementDefaultWithPath. withDefer()StatementWithPath. 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.StatementDefaultWithPath. withDeferAndNode(String nodeName)StatementWithPath. withDeferAndNode(String nodeName)Deprecated.you can callWithPath.withDeferAndNodes(String...)with a single entry instead.StatementDefaultWithPath. withDeferAndNodes(String... nodeNames)StatementDefaultWithPath. withDeferAndNodes(Collection<String> nodeNames)StatementWithPath. 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.StatementWithPath. 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.StatementDefaultWithPath. withNode(String nodeName)StatementWithPath. withNode(String nodeName)Deprecated.you can callWithPath.withNodes(String...)with a single entry instead.StatementDefaultWithPath. withNodes(String... nodeNames)StatementDefaultWithPath. withNodes(Collection<String> nodeNames)StatementWithPath. withNodes(String... nodeNames)Specify on which node(s) to create a GSI index.StatementWithPath. withNodes(Collection<String> nodeNames)Specify on which node(s) to create a GSI index.
-