com.github.mauricio.async.db.util

AbstractURIParser

abstract class AbstractURIParser extends AnyRef

Common parser assisting methods for PG and MySQL URI parsers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractURIParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractURIParser()

Abstract Value Members

  1. abstract val DEFAULT: Configuration

    The default for this particular URLParser, ie: appropriate and specific to PG or MySQL accordingly

  2. abstract val SCHEME: Regex

    A Regex that will match the base name of the driver scheme, minus jdbc:.

    A Regex that will match the base name of the driver scheme, minus jdbc:. Eg: postgres(?:ul)?

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def assembleConfiguration(properties: Map[String, String], charset: Charset): Configuration

    Assembles a configuration out of the provided property map.

    Assembles a configuration out of the provided property map. This is the generic form, subclasses may override to handle additional properties.

    properties

    the extracted properties from the URL.

    charset

    the charset passed in to parse or parseOrDie.

    returns

    Attributes
    protected
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def handleJDBC(uri: URI): Map[String, String]

    This method breaks out handling of the jdbc: prefixed uri's, allowing them to be handled differently without reimplementing all of parse.

    This method breaks out handling of the jdbc: prefixed uri's, allowing them to be handled differently without reimplementing all of parse.

    Attributes
    protected
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val logger: Logger

    Attributes
    protected
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def parse(uri: URI): Map[String, String]

    Attributes
    protected
  21. def parse(url: String, charset: Charset = DEFAULT.charset): Configuration

    Parses the provided url and returns a Configuration based upon it.

    Parses the provided url and returns a Configuration based upon it. On an error, a default configuration is returned.

    url

    the URL to parse.

    charset

    the charset to use.

    returns

    a Configuration.

  22. def parseOrDie(url: String, charset: Charset = DEFAULT.charset): Configuration

    Parses the provided url and returns a Configuration based upon it.

    Parses the provided url and returns a Configuration based upon it. On an error,

    url

    the URL to parse.

    charset

    the charset to use.

    returns

    a Configuration.

    Annotations
    @throws( ... )
  23. final def parseUserInfo(userInfo: Option[String]): (Option[String], Option[String])

    Parses out userInfo into a tuple of optional username and password

    Parses out userInfo into a tuple of optional username and password

    userInfo

    the optional user info string

    returns

    a tuple of optional username and password

    Attributes
    protected
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def unwrapIpv6address(server: String): String

    Attributes
    protected
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped