public interface DriverConfig
It is composed of options, that are organized into profiles. There is a default profile that is always present, and additional, named profiles, that can override part of the options. Profiles can be used to categorize queries that use the same parameters (for example, an "analytics" profile vs. a "transactional" profile).
Modifier and Type | Method and Description |
---|---|
default DriverExecutionProfile |
getDefaultProfile()
Alias to get the default profile, which is stored under the name
DriverExecutionProfile.DEFAULT_NAME and always present. |
DriverExecutionProfile |
getProfile(String profileName) |
Map<String,? extends DriverExecutionProfile> |
getProfiles()
Returns an immutable view of all named profiles (including the default profile).
|
@NonNull default DriverExecutionProfile getDefaultProfile()
DriverExecutionProfile.DEFAULT_NAME
and always present.@NonNull DriverExecutionProfile getProfile(@NonNull String profileName)
IllegalArgumentException
- if there is no profile with this name.@NonNull Map<String,? extends DriverExecutionProfile> getProfiles()
Copyright © 2017–2024. All rights reserved.