Top Description Methods
org.springframework.r2dbc.core

public Interface QueryOperation

extends Supplier<String>
Known Direct Subinterfaces
org.springframework.r2dbc.core.PreparedOperation
Annotations
@FunctionalInterface
Imports
java.util.function.Supplier

Interface declaring a query operation that can be represented with a query string. This interface is typically implemented by classes representing an SQL operation such as SELECT, INSERT, and such.
Author
Mark Paluch
Since
5.3
See Also
PreparedOperation

Method Summary

Modifier and TypeMethod and Description
public default String
get()

Implements java.util.function.Supplier.get.

Gets a result.
public String

Returns:

the operation as SQL string
toQuery
()

Return the string-representation of this operation to be used with io.r2dbc.spi.Statement creation.

Method Detail

getback to summary
public default String get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

Returns:String

a result

Annotations
@Override
toQueryback to summary
public String toQuery()

Return the string-representation of this operation to be used with io.r2dbc.spi.Statement creation.

Returns:String

the operation as SQL string

See Also
io.r2dbc.spi.Connection#createStatement(String)