Interface ExecuteQueryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExecuteQueryRequest.Builder,
,ExecuteQueryRequest> NeptuneGraphRequest.Builder
,SdkBuilder<ExecuteQueryRequest.Builder,
,ExecuteQueryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExecuteQueryRequest
-
Method Summary
Modifier and TypeMethodDescriptionexplainMode
(String explainMode) The explain mode parameter returns a query explain instead of the actual query results.explainMode
(ExplainMode explainMode) The explain mode parameter returns a query explain instead of the actual query results.graphIdentifier
(String graphIdentifier) The unique identifier of the Neptune Analytics graph.The query language the query is written in.language
(QueryLanguage language) The query language the query is written in.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Map<String, Document> parameters) The data parameters the query can use in JSON format.Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query.planCache
(PlanCacheType planCache) Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query.queryString
(String queryString) The query string to be executed.queryTimeoutMilliseconds
(Integer queryTimeoutMilliseconds) Specifies the query timeout duration, in milliseconds.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
graphIdentifier
The unique identifier of the Neptune Analytics graph.
- Parameters:
graphIdentifier
- The unique identifier of the Neptune Analytics graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
The query string to be executed.
- Parameters:
queryString
- The query string to be executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
The query language the query is written in. Currently only openCypher is supported.
- Parameters:
language
- The query language the query is written in. Currently only openCypher is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
language
The query language the query is written in. Currently only openCypher is supported.
- Parameters:
language
- The query language the query is written in. Currently only openCypher is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
The data parameters the query can use in JSON format. For example: {"name": "john", "age": 20}. (optional)
- Parameters:
parameters
- The data parameters the query can use in JSON format. For example: {"name": "john", "age": 20}. (optional)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planCache
Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query. This reduces query latency, and works for both
READ
andUPDATE
queries. The plan cache is an LRU cache with a 5 minute TTL and a capacity of 1000.- Parameters:
planCache
- Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query. This reduces query latency, and works for bothREAD
andUPDATE
queries. The plan cache is an LRU cache with a 5 minute TTL and a capacity of 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
planCache
Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query. This reduces query latency, and works for both
READ
andUPDATE
queries. The plan cache is an LRU cache with a 5 minute TTL and a capacity of 1000.- Parameters:
planCache
- Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query. This reduces query latency, and works for bothREAD
andUPDATE
queries. The plan cache is an LRU cache with a 5 minute TTL and a capacity of 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
explainMode
The explain mode parameter returns a query explain instead of the actual query results. A query explain can be used to gather insights about the query execution such as planning decisions, time spent on each operator, solutions flowing etc.
- Parameters:
explainMode
- The explain mode parameter returns a query explain instead of the actual query results. A query explain can be used to gather insights about the query execution such as planning decisions, time spent on each operator, solutions flowing etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
explainMode
The explain mode parameter returns a query explain instead of the actual query results. A query explain can be used to gather insights about the query execution such as planning decisions, time spent on each operator, solutions flowing etc.
- Parameters:
explainMode
- The explain mode parameter returns a query explain instead of the actual query results. A query explain can be used to gather insights about the query execution such as planning decisions, time spent on each operator, solutions flowing etc.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryTimeoutMilliseconds
Specifies the query timeout duration, in milliseconds. (optional)
- Parameters:
queryTimeoutMilliseconds
- Specifies the query timeout duration, in milliseconds. (optional)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExecuteQueryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExecuteQueryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-