Package com.firebolt.jdbc.client.query
Class QueryLabelResolver
java.lang.Object
com.firebolt.jdbc.client.query.QueryLabelResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getQueryLabel
(FireboltProperties sessionProperties, StatementInfoWrapper statementInfoWrapper) Resolves a query label.
-
Constructor Details
-
QueryLabelResolver
public QueryLabelResolver()
-
-
Method Details
-
getQueryLabel
public static String getQueryLabel(FireboltProperties sessionProperties, StatementInfoWrapper statementInfoWrapper) Resolves a query label. If there is already one set on the session properties use that one. If not use the one from the statement- Parameters:
sessionProperties
-statementInfoWrapper
-- Returns:
-