Package com.databend.jdbc
Class StatementInfoWrapper
java.lang.Object
com.databend.jdbc.StatementInfoWrapper
This represents a statement that is ready to be sent to Databend or executed
internally to set a param
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementInfoWrapperof(@NonNull RawStatement rawStatement) Creates a StatementInfoWrapper from theRawStatement.static StatementInfoWrapperof(@NonNull RawStatement rawStatement, String id) Creates a StatementInfoWrapper from theRawStatement.
-
Constructor Details
-
StatementInfoWrapper
public StatementInfoWrapper()
-
-
Method Details
-
of
Creates a StatementInfoWrapper from theRawStatement.- Parameters:
rawStatement- the raw statement- Returns:
- the statement that will be sent to the server
-
of
Creates a StatementInfoWrapper from theRawStatement.- Parameters:
rawStatement- the raw statementid- the id of the statement to execute- Returns:
- the statement that will be sent to the server
-