public class AuroraPgDialect extends PgDialect implements TopologyDialect, AuroraLimitlessDialect, BlueGreenDialect
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
AURORA_UTILS_EXIST_QUERY |
protected static java.lang.String |
BG_STATUS_QUERY |
protected static java.lang.String |
BG_TOPOLOGY_EXISTS_QUERY |
protected static java.lang.String |
INSTANCE_ID_QUERY |
protected static java.lang.String |
LIMITLESS_ROUTER_ENDPOINT_QUERY |
protected static java.lang.String |
TOPOLOGY_EXISTS_QUERY |
protected static java.lang.String |
TOPOLOGY_QUERY |
protected static java.lang.String |
WRITER_ID_QUERY |
dialectUtils, HOST_ALIAS_QUERY, HOST_ID_EXPRESSION, HOST_ID_QUERY, IS_READER_QUERY, PG_PROC_EXISTS_QUERY, VERSION_QUERY| Constructor and Description |
|---|
AuroraPgDialect() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBlueGreenStatusQuery() |
java.util.List<java.lang.String> |
getDialectUpdateCandidates() |
@Nullable Pair<java.lang.String,java.lang.String> |
getHostId(java.sql.Connection connection) |
HostListProviderSupplier |
getHostListProviderSupplier() |
java.lang.String |
getLimitlessRouterEndpointQuery() |
java.lang.String |
getTopologyQuery() |
java.lang.String |
getWriterIdQuery() |
boolean |
isBlueGreenStatusAvailable(java.sql.Connection connection) |
boolean |
isDialect(java.sql.Connection connection) |
getDefaultPort, getExceptionHandler, getFailoverRestrictions, getHostAliasQuery, getHostRole, getServerVersionQuery, prepareConnectPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilterAvailableHosts, getDefaultPort, getExceptionHandler, getFailoverRestrictions, getHostAliasQuery, getHostRole, getServerVersionQuery, prepareConnectPropertiesprotected static final java.lang.String AURORA_UTILS_EXIST_QUERY
protected static final java.lang.String TOPOLOGY_EXISTS_QUERY
protected static final java.lang.String TOPOLOGY_QUERY
protected static final java.lang.String INSTANCE_ID_QUERY
protected static final java.lang.String WRITER_ID_QUERY
protected static final java.lang.String LIMITLESS_ROUTER_ENDPOINT_QUERY
protected static final java.lang.String BG_TOPOLOGY_EXISTS_QUERY
protected static final java.lang.String BG_STATUS_QUERY
public boolean isDialect(java.sql.Connection connection)
public java.util.List<java.lang.String> getDialectUpdateCandidates()
getDialectUpdateCandidates in interface DialectgetDialectUpdateCandidates in class PgDialectpublic HostListProviderSupplier getHostListProviderSupplier()
getHostListProviderSupplier in interface DialectgetHostListProviderSupplier in class PgDialectpublic java.lang.String getTopologyQuery()
getTopologyQuery in interface TopologyDialectpublic @Nullable Pair<java.lang.String,java.lang.String> getHostId(java.sql.Connection connection) throws java.sql.SQLException
public java.lang.String getWriterIdQuery()
getWriterIdQuery in interface TopologyDialectpublic java.lang.String getLimitlessRouterEndpointQuery()
getLimitlessRouterEndpointQuery in interface AuroraLimitlessDialectpublic boolean isBlueGreenStatusAvailable(java.sql.Connection connection)
isBlueGreenStatusAvailable in interface BlueGreenDialectpublic java.lang.String getBlueGreenStatusQuery()
getBlueGreenStatusQuery in interface BlueGreenDialect