Class XDevApiConnectionUrl

java.lang.Object
com.mysql.cj.conf.ConnectionUrl
com.mysql.cj.conf.url.XDevApiConnectionUrl
All Implemented Interfaces:
DatabaseUrlContainer

public class XDevApiConnectionUrl
extends ConnectionUrl
  • Constructor Details

  • Method Details

    • preprocessPerTypeHostProperties

      protected void preprocessPerTypeHostProperties​(java.util.Map<java.lang.String,​java.lang.String> hostProps)
      Description copied from class: ConnectionUrl
      Subclasses should override this to perform any required pre-processing on the host information properties.
      Overrides:
      preprocessPerTypeHostProperties in class ConnectionUrl
      Parameters:
      hostProps - the host properties map to process
    • getDefaultPort

      public int getDefaultPort()
      Description copied from class: ConnectionUrl
      Returns the default port. Subclasses must override this method if they have different default port value.
      Overrides:
      getDefaultPort in class ConnectionUrl
      Returns:
      the default port
    • fixProtocolDependencies

      protected void fixProtocolDependencies​(java.util.Map<java.lang.String,​java.lang.String> hostProps)
      Description copied from class: ConnectionUrl
      Fixes the protocol (TCP vs PIPE) dependencies for the given host properties map.
      Overrides:
      fixProtocolDependencies in class ConnectionUrl
      Parameters:
      hostProps - the host properties map to fix
    • getHostsList

      public java.util.List<HostInfo> getHostsList​(HostsListView view)
      Description copied from class: ConnectionUrl
      Returns a list of the hosts in this connection URL, filtered for the given view. By default returns all hosts. Subclasses should override this method in order to implement support for different views, usually by splitting the global hosts into smaller sub-lists.
      Overrides:
      getHostsList in class ConnectionUrl
      Parameters:
      view - the type of the view to use in the returned list of hosts. This argument is ignored in this implementation.
      Returns:
      the hosts list from this connection URL, filtered for the given view.