Package ch.autumo.commons.database
Class H2Url
java.lang.Object
ch.autumo.commons.database.H2Url
H2 database URl for further processing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCASE_INSENSITIVE_IDENTIFIERS feature default value.static final StringDATABASE_TO_LOWER feature default value.static final StringMODE feature default value.static final StringKEYWORDS feature default value.static final StringCASE_INSENSITIVE_IDENTIFIERS feature.static final StringDATABASE_TO_LOWER feature.static final StringMODE feature.static final StringNON_KEYWORDS feature.protected static final org.slf4j.LoggerLogger.static final StringThe H2 URL separator separates the URL from the features. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet features only.getUrl()Get new enriched H2 URL.Get H2 URL without any features.
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOGLogger. -
URL_SEPARATOR
The H2 URL separator separates the URL from the features.- See Also:
-
FEAT_MODE
MODE feature.- See Also:
-
FEAT_DATABASE_TO_LOWER
DATABASE_TO_LOWER feature.- See Also:
-
FEAT_CASE_INSENSITIVE_IDENTIFIERS
CASE_INSENSITIVE_IDENTIFIERS feature.- See Also:
-
FEAT_NON_KEYWORDS
NON_KEYWORDS feature.- See Also:
-
DEF_VAL_MODE
MODE feature default value.- See Also:
-
DEF_VAL_DB2LOWER
DATABASE_TO_LOWER feature default value.- See Also:
-
DEF_VAL_CASE
CASE_INSENSITIVE_IDENTIFIERS feature default value.- See Also:
-
DEF_VAL_NON_KEYWORDS
KEYWORDS feature default value.- See Also:
-
-
Constructor Details
-
H2Url
Constructor with original URL as configured.- Parameters:
originalUrl- originalUrl- Throws:
UtilsException- exception when the H2 URL cannot be created
-
-
Method Details
-
getUrl
Get new enriched H2 URL.- Returns:
- new H2 URL
-
getFeatures
Get features only.- Returns:
- features only
-
getUrlNoFeatures
Get H2 URL without any features.- Returns:
- new H2 URL without features
-