Class H2Url
java.lang.Object
ch.autumo.beetroot.utils.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
-
FEAT_DATABASE_TO_LOWER
-
FEAT_CASE_INSENSITIVE_IDENTIFIERS
CASE_INSENSITIVE_IDENTIFIERS feature.- See Also:
-
FEAT_NON_KEYWORDS
-
DEF_VAL_MODE
-
DEF_VAL_DB2LOWER
-
DEF_VAL_CASE
CASE_INSENSITIVE_IDENTIFIERS feature default value.- See Also:
-
DEF_VAL_NON_KEYWORDS
-
-
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
-
getFeatures
-
getUrlNoFeatures
Get H2 URL without any features.- Returns:
- new H2 URL without features
-