Interface LocalStatement (0.6.1)

public interface LocalStatement

Interface for statements that are handled locally in PGAdapter instead of being sent to Connection API.

Methods

execute(Connection connection)

public abstract StatementResult execute(Connection connection)

Executes the local statement and returns the result.

Parameter
NameDescription
connectionConnection
Returns
TypeDescription
StatementResult

getSql()

public abstract String getSql()

Returns the static SQL string associated with this local statement.

Returns
TypeDescription
String