Package com.firebolt.jdbc.client.query
Class LocalhostQueryParameterProvider
java.lang.Object
com.firebolt.jdbc.client.query.LocalhostQueryParameterProvider
- All Implemented Interfaces:
QueryParameterProvider
This is the query parameter provider for the Dev testing of PackDb
-
Field Summary
Fields inherited from interface com.firebolt.jdbc.client.query.QueryParameterProvider
TAB_SEPARATED_WITH_NAMES_AND_TYPES_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAccountIdIfNeeded(Map<String, String> params, String accountId) protected voidaddCompress(Map<String, String> params, boolean isCompress) protected voidaddDatabaseIfNeeded(Map<String, String> params, String database) protected voidaddEngineIfNeeded(Map<String, String> params, String engine) protected voidaddQueryLabel(Map<String, String> params, FireboltProperties fireboltProperties, StatementInfoWrapper statementInfoWrapper) protected voidaddQueryParameterIfNeeded(Map<String, String> params, String queryParameters) protected voidaddQueryTimeoutIfNeeded(Map<String, String> params, int queryTimeout) protected voidaddServerAsyncIfNeeded(Map<String, String> params, boolean isServerAsync) getQueryParams(FireboltProperties fireboltProperties, StatementInfoWrapper statementInfoWrapper, int queryTimeout, boolean isServerAsync) Returns a map of parameters that will be added to the url and sent to the firebolt backend
-
Constructor Details
-
LocalhostQueryParameterProvider
public LocalhostQueryParameterProvider()
-
-
Method Details
-
getQueryParams
public Map<String,String> getQueryParams(FireboltProperties fireboltProperties, StatementInfoWrapper statementInfoWrapper, int queryTimeout, boolean isServerAsync) Description copied from interface:QueryParameterProviderReturns a map of parameters that will be added to the url and sent to the firebolt backend- Returns:
-
addQueryTimeoutIfNeeded
-
addServerAsyncIfNeeded
-
addCompress
-
addQueryLabel
protected void addQueryLabel(Map<String, String> params, FireboltProperties fireboltProperties, StatementInfoWrapper statementInfoWrapper) -
addEngineIfNeeded
-
addAccountIdIfNeeded
-
addQueryParameterIfNeeded
-
addDatabaseIfNeeded
-