public class JavaCollation extends SqlCollation
Collator for comparison.SqlCollation.CoercibilityCOERCIBLE, collationName, IMPLICIT, locale, strength, wrappedCharset| Constructor and Description |
|---|
JavaCollation(SqlCollation.Coercibility coercibility,
Locale locale,
Charset charset,
int strength) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateCollationName(Charset charset) |
@Nullable Collator |
getCollator()
Returns the
Collator to compare values having the current
collation, or null if no specific Collator is needed, in
which case String.compareTo(java.lang.String) will be used. |
equals, getCharset, getCoercibility, getCoercibilityDyadic, getCoercibilityDyadicComparison, getCoercibilityDyadicOperator, getCoercibilityDyadicOperatorThrows, getCollationName, getLocale, hashCode, toString, unparsepublic JavaCollation(SqlCollation.Coercibility coercibility, Locale locale, Charset charset, int strength)
protected String generateCollationName(@UnderInitialization JavaCollation this, Charset charset)
generateCollationName in class SqlCollationpublic @Nullable Collator getCollator()
SqlCollationCollator to compare values having the current
collation, or null if no specific Collator is needed, in
which case String.compareTo(java.lang.String) will be used.getCollator in class SqlCollationCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.