com.twitter.finagle.exp

Mysql

object Mysql extends MysqlClient

Example:
  1. val client = Mysql
    .withCredentials("", "")
    .withDatabase("db")
    .newRichClient("inet!localhost:3306")
Linear Supertypes
MysqlClient, MysqlRichClient, StackClientLike[Request, Result, Packet, Packet, MysqlClient], Client[Request, Result], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mysql
  2. MysqlClient
  3. MysqlRichClient
  4. StackClientLike
  5. Client
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def configured[P](p: P)(implicit arg0: Param[P]): MysqlClient

    Definition Classes
    StackClientLike
  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 hashCode(): Int

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

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def newClient(dest: Name, label: String): ServiceFactory[Request, Result]

    Definition Classes
    StackClientLike → Client
  17. final def newClient(dest: String, label: String): ServiceFactory[Request, Result]

    Definition Classes
    Client
  18. final def newClient(dest: String): ServiceFactory[Request, Result]

    Definition Classes
    Client
  19. def newInstance(client: StackClient[Request, Result, Packet, Packet]): MysqlClient

    Attributes
    protected
    Definition Classes
    MysqlClient → StackClientLike
  20. def newRichClient(dest: String): mysql.Client

    Creates a new RichClient connected to the logical destination described by dest.

    Creates a new RichClient connected to the logical destination described by dest.

    Definition Classes
    MysqlRichClient
  21. def newRichClient(dest: Name, label: String): mysql.Client

    Creates a new RichClient connected to the logical destination described by dest with the assigned label.

    Creates a new RichClient connected to the logical destination described by dest with the assigned label. The label is used to scope client stats.

    Definition Classes
    MysqlRichClient
  22. final def newService(dest: String): Service[Request, Result]

    Definition Classes
    Client
  23. final def newService(dest: Name, label: String): Service[Request, Result]

    Definition Classes
    Client
  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. val stack: Stack[ServiceFactory[Request, Result]]

    Definition Classes
    StackClientLike
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def transformed(f: (Stack[ServiceFactory[Request, Result]]) ⇒ Stack[ServiceFactory[Request, Result]]): MysqlClient

    Attributes
    protected
    Definition Classes
    StackClientLike
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withCharset(charset: Short): MysqlClient

    The default character set used when establishing a new session.

    The default character set used when establishing a new session.

    Definition Classes
    MysqlClient
  34. def withCredentials(u: String, p: String): MysqlClient

    The credentials to use when authenticating a new session.

    The credentials to use when authenticating a new session.

    Definition Classes
    MysqlClient
  35. def withDatabase(db: String): MysqlClient

    Database to use when this client establishes a new session.

    Database to use when this client establishes a new session.

    Definition Classes
    MysqlClient

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[Request, Result]

    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. final def newService(dest: Group[SocketAddress]): Service[Request, Result]

    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

Inherited from MysqlClient

Inherited from MysqlRichClient

Inherited from StackClientLike[Request, Result, Packet, Packet, MysqlClient]

Inherited from Client[Request, Result]

Inherited from AnyRef

Inherited from Any

Ungrouped