Package com.firebolt.jdbc.statement
Class StatementInfoWrapper
java.lang.Object
com.firebolt.jdbc.statement.StatementInfoWrapper
This represents a statement that is ready to be sent to Firebolt or executed
internally to set a param
-
Constructor Summary
ConstructorsConstructorDescriptionStatementInfoWrapper
(String sql, StatementType type, Map.Entry<String, String> param, RawStatement initialStatement) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementInfoWrapper
of
(@NonNull RawStatement rawStatement) Creates a StatementInfoWrapper from theRawStatement
.
-
Constructor Details
-
StatementInfoWrapper
public StatementInfoWrapper(String sql, StatementType type, Map.Entry<String, String> param, RawStatement initialStatement)
-
-
Method Details
-
of
Creates a StatementInfoWrapper from theRawStatement
.- Parameters:
rawStatement
- the raw statement- Returns:
- the statement that will be sent to the server
-