Struct aws_sdk_neptunedata::operation::execute_open_cypher_query::builders::ExecuteOpenCypherQueryFluentBuilder
source · pub struct ExecuteOpenCypherQueryFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ExecuteOpenCypherQuery
.
Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information.
Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs.
The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license.
Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query:
Note also that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
Implementations§
source§impl ExecuteOpenCypherQueryFluentBuilder
impl ExecuteOpenCypherQueryFluentBuilder
sourcepub fn as_input(&self) -> &ExecuteOpenCypherQueryInputBuilder
pub fn as_input(&self) -> &ExecuteOpenCypherQueryInputBuilder
Access the ExecuteOpenCypherQuery as a reference.
sourcepub async fn send(
self
) -> Result<ExecuteOpenCypherQueryOutput, SdkError<ExecuteOpenCypherQueryError, HttpResponse>>
pub async fn send( self ) -> Result<ExecuteOpenCypherQueryOutput, SdkError<ExecuteOpenCypherQueryError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ExecuteOpenCypherQueryOutput, ExecuteOpenCypherQueryError, Self>
pub fn customize( self ) -> CustomizableOperation<ExecuteOpenCypherQueryOutput, ExecuteOpenCypherQueryError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn open_cypher_query(self, input: impl Into<String>) -> Self
pub fn open_cypher_query(self, input: impl Into<String>) -> Self
The openCypher query string to be executed.
sourcepub fn set_open_cypher_query(self, input: Option<String>) -> Self
pub fn set_open_cypher_query(self, input: Option<String>) -> Self
The openCypher query string to be executed.
sourcepub fn get_open_cypher_query(&self) -> &Option<String>
pub fn get_open_cypher_query(&self) -> &Option<String>
The openCypher query string to be executed.
sourcepub fn parameters(self, input: impl Into<String>) -> Self
pub fn parameters(self, input: impl Into<String>) -> Self
The openCypher query parameters for query execution. See Examples of openCypher parameterized queries for more information.
sourcepub fn set_parameters(self, input: Option<String>) -> Self
pub fn set_parameters(self, input: Option<String>) -> Self
The openCypher query parameters for query execution. See Examples of openCypher parameterized queries for more information.
sourcepub fn get_parameters(&self) -> &Option<String>
pub fn get_parameters(&self) -> &Option<String>
The openCypher query parameters for query execution. See Examples of openCypher parameterized queries for more information.
Trait Implementations§
source§impl Clone for ExecuteOpenCypherQueryFluentBuilder
impl Clone for ExecuteOpenCypherQueryFluentBuilder
source§fn clone(&self) -> ExecuteOpenCypherQueryFluentBuilder
fn clone(&self) -> ExecuteOpenCypherQueryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ExecuteOpenCypherQueryFluentBuilder
impl !RefUnwindSafe for ExecuteOpenCypherQueryFluentBuilder
impl Send for ExecuteOpenCypherQueryFluentBuilder
impl Sync for ExecuteOpenCypherQueryFluentBuilder
impl Unpin for ExecuteOpenCypherQueryFluentBuilder
impl !UnwindSafe for ExecuteOpenCypherQueryFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more