public class Query
extends java.lang.Object
ByteBuffer.| Modifier and Type | Field and Description |
|---|---|
@Nullable OptArgs |
globalOptions |
@Nullable ReqlAst |
term |
long |
token |
@NotNull QueryType |
type |
| Constructor and Description |
|---|
Query(@NotNull QueryType type,
long token) |
Query(@NotNull QueryType type,
long token,
@Nullable ReqlAst term,
@Nullable OptArgs globalOptions) |
| Modifier and Type | Method and Description |
|---|---|
static Query |
createContinue(long token) |
static Query |
createNoreplyWait(long token) |
static Query |
createServerInfo(long token) |
static Query |
createStart(long token,
ReqlAst term,
OptArgs globalOptions) |
static Query |
createStop(long token) |
java.nio.ByteBuffer |
serialize() |
@NotNull public final @NotNull QueryType type
public final long token
@Nullable public final @Nullable ReqlAst term
@Nullable public final @Nullable OptArgs globalOptions
public Query(@NotNull
@NotNull QueryType type,
long token,
@Nullable
@Nullable ReqlAst term,
@Nullable
@Nullable OptArgs globalOptions)
public Query(@NotNull
@NotNull QueryType type,
long token)
public java.nio.ByteBuffer serialize()
public static Query createContinue(long token)
public static Query createStop(long token)
public static Query createNoreplyWait(long token)
public static Query createServerInfo(long token)