public class GlobalAuroraPgDialect extends AuroraPgDialect implements GlobalAuroraTopologyDialect
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
GLOBAL_INSTANCE_STATUS_FUNC_EXISTS_QUERY |
protected static java.lang.String |
GLOBAL_STATUS_FUNC_EXISTS_QUERY |
protected static java.lang.String |
GLOBAL_TOPOLOGY_QUERY |
protected RdsUtils |
rdsUtils |
protected static java.lang.String |
REGION_BY_INSTANCE_ID_QUERY |
protected static java.lang.String |
REGION_COUNT_QUERY |
AURORA_UTILS_EXIST_QUERY, BG_STATUS_QUERY, BG_TOPOLOGY_EXISTS_QUERY, INSTANCE_ID_QUERY, LIMITLESS_ROUTER_ENDPOINT_QUERY, TOPOLOGY_EXISTS_QUERY, TOPOLOGY_QUERY, WRITER_ID_QUERYdialectUtils, HOST_ALIAS_QUERY, HOST_ID_EXPRESSION, HOST_ID_QUERY, IS_READER_QUERY, PG_PROC_EXISTS_QUERY, VERSION_QUERY| Constructor and Description |
|---|
GlobalAuroraPgDialect() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<HostSpec> |
filterAvailableHosts(@NonNull java.util.List<HostSpec> hosts,
@Nullable java.util.Set<java.lang.String> accessibleRegions)
Filters the provided list of hosts by the set of accessible AWS regions.
|
java.util.List<java.lang.String> |
getDialectUpdateCandidates() |
HostListProviderSupplier |
getHostListProviderSupplier() |
java.lang.String |
getRegionByInstanceIdQuery() |
java.lang.String |
getTopologyQuery() |
boolean |
isDialect(java.sql.Connection connection) |
getBlueGreenStatusQuery, getHostId, getLimitlessRouterEndpointQuery, getWriterIdQuery, isBlueGreenStatusAvailablegetDefaultPort, getExceptionHandler, getFailoverRestrictions, getHostAliasQuery, getHostRole, getServerVersionQuery, prepareConnectPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWriterIdQuerygetDefaultPort, getExceptionHandler, getFailoverRestrictions, getHostAliasQuery, getHostId, getHostRole, getServerVersionQuery, prepareConnectPropertiesprotected final RdsUtils rdsUtils
protected static final java.lang.String GLOBAL_STATUS_FUNC_EXISTS_QUERY
protected static final java.lang.String GLOBAL_INSTANCE_STATUS_FUNC_EXISTS_QUERY
protected static final java.lang.String GLOBAL_TOPOLOGY_QUERY
protected static final java.lang.String REGION_COUNT_QUERY
protected static final java.lang.String REGION_BY_INSTANCE_ID_QUERY
public boolean isDialect(java.sql.Connection connection)
isDialect in interface DialectisDialect in class AuroraPgDialectpublic java.util.List<java.lang.String> getDialectUpdateCandidates()
getDialectUpdateCandidates in interface DialectgetDialectUpdateCandidates in class AuroraPgDialectpublic HostListProviderSupplier getHostListProviderSupplier()
getHostListProviderSupplier in interface DialectgetHostListProviderSupplier in class AuroraPgDialectpublic java.lang.String getTopologyQuery()
getTopologyQuery in interface TopologyDialectgetTopologyQuery in class AuroraPgDialectpublic java.lang.String getRegionByInstanceIdQuery()
getRegionByInstanceIdQuery in interface GlobalAuroraTopologyDialectpublic java.util.List<HostSpec> filterAvailableHosts(@NonNull java.util.List<HostSpec> hosts, @Nullable java.util.Set<java.lang.String> accessibleRegions)
DialectfilterAvailableHosts in interface Dialecthosts - the list of hosts to filteraccessibleRegions - the set of accessible AWS regions (lowercase), or null for no restriction