| Constructor and Description |
|---|
UnknownDialect() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
java.util.List<java.lang.String> |
getDialectUpdateCandidates() |
ExceptionHandler |
getExceptionHandler() |
java.util.EnumSet<FailoverRestriction> |
getFailoverRestrictions() |
java.lang.String |
getHostAliasQuery() |
@Nullable Pair<java.lang.String,java.lang.String> |
getHostId(java.sql.Connection connection) |
HostListProviderSupplier |
getHostListProviderSupplier() |
HostRole |
getHostRole(java.sql.Connection conn) |
java.lang.String |
getServerVersionQuery() |
boolean |
isDialect(java.sql.Connection connection) |
void |
prepareConnectProperties(@NonNull java.util.Properties connectProperties,
@NonNull java.lang.String protocol,
@NonNull HostSpec hostSpec) |
public int getDefaultPort()
getDefaultPort in interface Dialectpublic ExceptionHandler getExceptionHandler()
getExceptionHandler in interface Dialectpublic java.lang.String getHostAliasQuery()
getHostAliasQuery in interface Dialectpublic java.lang.String getServerVersionQuery()
getServerVersionQuery in interface Dialectpublic HostRole getHostRole(java.sql.Connection conn) throws java.sql.SQLException
getHostRole in interface Dialectjava.sql.SQLExceptionpublic @Nullable Pair<java.lang.String,java.lang.String> getHostId(java.sql.Connection connection) throws java.sql.SQLException
public boolean isDialect(java.sql.Connection connection)
public java.util.List<java.lang.String> getDialectUpdateCandidates()
getDialectUpdateCandidates in interface Dialectpublic HostListProviderSupplier getHostListProviderSupplier()
getHostListProviderSupplier in interface Dialectpublic void prepareConnectProperties(@NonNull java.util.Properties connectProperties,
@NonNull java.lang.String protocol,
@NonNull HostSpec hostSpec)
prepareConnectProperties in interface Dialectpublic java.util.EnumSet<FailoverRestriction> getFailoverRestrictions()
getFailoverRestrictions in interface Dialect