public static class QueryDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QueryDetails |
build() |
QueryDetails.Builder |
compartmentId(String compartmentId)
Compartment OCID, to provide context for a table name in the given statement.
|
QueryDetails.Builder |
consistency(QueryDetails.Consistency consistency)
Consistency requirement for a read operation.
|
QueryDetails.Builder |
copy(QueryDetails model) |
QueryDetails.Builder |
isPrepared(Boolean isPrepared)
If true, the statement is a prepared statement.
|
QueryDetails.Builder |
maxReadInKBs(Integer maxReadInKBs)
A limit on the total amount of data read during this operation, in KB.
|
QueryDetails.Builder |
statement(String statement)
A NoSQL SQL query statement; or a Base64-encoded prepared statement.
|
QueryDetails.Builder |
timeoutInMs(Integer timeoutInMs)
Timeout setting for the query.
|
QueryDetails.Builder |
variables(Map<String,Object> variables)
A map of prepared statement variables to values.
|
public QueryDetails.Builder compartmentId(String compartmentId)
Compartment OCID, to provide context for a table name in the given statement.
compartmentId
- the value to setpublic QueryDetails.Builder statement(String statement)
A NoSQL SQL query statement; or a Base64-encoded prepared statement.
statement
- the value to setpublic QueryDetails.Builder isPrepared(Boolean isPrepared)
If true, the statement is a prepared statement.
isPrepared
- the value to setpublic QueryDetails.Builder consistency(QueryDetails.Consistency consistency)
Consistency requirement for a read operation.
consistency
- the value to setpublic QueryDetails.Builder maxReadInKBs(Integer maxReadInKBs)
A limit on the total amount of data read during this operation, in KB.
maxReadInKBs
- the value to setpublic QueryDetails.Builder variables(Map<String,Object> variables)
A map of prepared statement variables to values.
variables
- the value to setpublic QueryDetails.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for the query.
timeoutInMs
- the value to setpublic QueryDetails build()
public QueryDetails.Builder copy(QueryDetails model)
Copyright © 2016–2024. All rights reserved.