Interface IPrepareViewForQueryParams<ConnectionConfig, QueryConfig>
- Type Parameters:
QueryConfig- Type of the configuration object that is used to store the query's properties.
public interface IPrepareViewForQueryParams<ConnectionConfig, QueryConfig>
Parameters passed to a
prompt query bean when a query is selected, see
prepareViewForQuery.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the configuration object that contains the properties of the connection that was selected for the query.Gets the storage that can be used to store temporary files, such as files uploaded by the user.Gets the configuration object that contains the properties of the query.
-
Method Details
-
connectionConfig
ConnectionConfig connectionConfig()Gets the configuration object that contains the properties of the connection that was selected for the query. You may need this data when the query configuration depends on the settings in the connection configuration. This should be treated as read-only. Any modifications to this object will not be persisted.- Returns:
- The configuration object that contains the properties of the connection.
-
fileStorage
IPromptFileStorage fileStorage()Gets the storage that can be used to store temporary files, such as files uploaded by the user.- Returns:
- A supplier that provides the path to the temporary folder.
-
queryConfig
QueryConfig queryConfig()Gets the configuration object that contains the properties of the query.- Returns:
- The configuration object that contains the properties of the query.
-