Modifier and Type | Method and Description |
---|---|
N1qlQueryResult |
CouchbaseBucket.query(Statement statement) |
Observable<AsyncN1qlQueryResult> |
CouchbaseAsyncBucket.query(Statement statement) |
N1qlQueryResult |
Bucket.query(Statement statement)
Experimental: Queries a N1QL secondary index with the
default query timeout . |
Observable<AsyncN1qlQueryResult> |
AsyncBucket.query(Statement statement)
Experimental: Queries a N1QL secondary index with a simple
Statement . |
N1qlQueryResult |
CouchbaseBucket.query(Statement statement,
long timeout,
TimeUnit timeUnit) |
N1qlQueryResult |
Bucket.query(Statement statement,
long timeout,
TimeUnit timeUnit)
Experimental: Queries a N1QL secondary index with a custom timeout.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SerializableStatement
A
Statement that is also explicitly Serializable . |
Modifier and Type | Class and Description |
---|---|
class |
PreparedPayload
The payload necessary to perform a
PreparedN1qlQuery , as returned when issuing a PrepareStatement . |
class |
PrepareStatement
A PREPARE
Statement that wraps another Statement in order to send it to the server and produce a PreparedPayload . |
Modifier and Type | Method and Description |
---|---|
Statement |
PrepareStatement.originalStatement() |
abstract Statement |
N1qlQuery.statement()
Returns the
Statement from this query. |
Statement |
AbstractN1qlQuery.statement() |
Modifier and Type | Method and 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 a
PrepareStatement from a select-like Statement . |
static PrepareStatement |
PrepareStatement.prepare(Statement statement,
String preparedName)
Construct a
PrepareStatement from a select-like Statement and give it a name. |
static SimpleN1qlQuery |
N1qlQuery.simple(Statement statement)
|
static SimpleN1qlQuery |
N1qlQuery.simple(Statement statement,
N1qlParams params)
|
Constructor and Description |
---|
AbstractN1qlQuery(Statement statement,
N1qlParams params) |
PreparedPayload(Statement originalStatement,
String preparedName,
String encodedPlan) |
Modifier and Type | Method and Description |
---|---|
protected Observable<PreparedPayload> |
N1qlQueryExecutor.prepare(Statement statement)
Experimental: Queries a N1QL secondary index and prepare an execution plan via the given statement in
String form. |
Modifier and Type | Method and 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 given
Statement , as is. |
Constructor and Description |
---|
InsertSelectElement(Expression key,
Expression value,
Statement select) |
Modifier and Type | Interface and 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 |
Modifier and Type | Method and Description |
---|---|
Statement |
OffsetPath.offset(int offset) |
Statement |
DefaultOffsetPath.offset(int offset) |
Statement |
ReturningPath.returning(Expression expression) |
Statement |
DefaultReturningPath.returning(Expression expression) |
Statement |
ReturningPath.returning(String expression) |
Statement |
DefaultReturningPath.returning(String expression) |
Statement |
ReturningPath.returningElement(Expression expression) |
Statement |
DefaultReturningPath.returningElement(Expression expression) |
Statement |
ReturningPath.returningElement(String expression) |
Statement |
DefaultReturningPath.returningElement(String expression) |
Statement |
ReturningPath.returningRaw(Expression expression) |
Statement |
DefaultReturningPath.returningRaw(Expression expression) |
Statement |
ReturningPath.returningRaw(String expression) |
Statement |
DefaultReturningPath.returningRaw(String expression) |
Modifier and Type | Method and Description |
---|---|
ReturningPath |
InitialInsertPath.select(Expression key,
Expression value,
Statement select) |
ReturningPath |
DefaultInitialInsertPath.select(Expression key,
Expression value,
Statement select) |
ReturningPath |
InitialInsertPath.select(Expression key,
Statement select) |
ReturningPath |
DefaultInitialInsertPath.select(Expression key,
Statement select) |
ReturningPath |
InitialInsertPath.select(Expression key,
String value,
Statement select) |
ReturningPath |
DefaultInitialInsertPath.select(Expression key,
String value,
Statement select) |
ReturningPath |
InitialInsertPath.select(String key,
Expression value,
Statement select) |
ReturningPath |
DefaultInitialInsertPath.select(String key,
Expression value,
Statement select) |
ReturningPath |
InitialInsertPath.select(String key,
Statement select) |
ReturningPath |
DefaultInitialInsertPath.select(String key,
Statement select) |
ReturningPath |
InitialInsertPath.select(String key,
String value,
Statement select) |
ReturningPath |
DefaultInitialInsertPath.select(String key,
String value,
Statement select) |
Modifier and Type | Interface and 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).
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDropPath
See
DropPath . |
class |
DefaultUsingPath
See
UsingPath . |
class |
DefaultUsingWithPath
See
UsingWithPath . |
class |
DefaultWithPath
See
WithPath . |
Modifier and Type | Method and Description |
---|---|
Statement |
UsingPath.using(IndexType indexType)
Describes the type of index to drop.
|
Statement |
DefaultUsingPath.using(IndexType indexType) |
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.withDefer() |
Statement |
WithPath.withDeferAndNode(String nodeName)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node on which to create a GSI index.
|
Statement |
DefaultWithPath.withDeferAndNode(String nodeName) |
Statement |
WithPath.withNode(String nodeName)
Specify on which node to create a GSI index.
|
Statement |
DefaultWithPath.withNode(String nodeName) |
Copyright © 2015 Couchbase, Inc.