org.apache.predictionio.data.storage.jdbc

JDBCUtils

object JDBCUtils

JDBC related utilities

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JDBCUtils
  2. AnyRef
  3. 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 binaryColumnType(url: String): scalikejdbc.SQLSyntax

    Determines binary column type from JDBC URL

    Determines binary column type from JDBC URL

    url

    JDBC URL

    returns

    Binary column type as SQLSyntax, e.g. LONGBLOB

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def driverType(url: String): String

    Extract JDBC driver type from URL

    Extract JDBC driver type from URL

    url

    JDBC URL

    returns

    The driver type, e.g. postgresql

  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def eventTableName(namespace: String, appId: Int, channelId: Option[Int]): String

    Derive event table name

    Derive event table name

    namespace

    Namespace of event tables

    appId

    App ID

    channelId

    Optional channel ID

    returns

    Full event table name

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def generateId: String

    Generate 32-character random ID using UUID with - stripped

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def mapToString(m: Map[String, String]): String

    Converts Map of String to String to comma-separated list of key=value

    Converts Map of String to String to comma-separated list of key=value

    m

    Map of String to String

    returns

    Comma-separated list, e.g. FOO=BAR,X=Y,...

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def prefixTableName(prefix: String, table: String): scalikejdbc.SQLSyntax

    Prefix a table name

    Prefix a table name

    prefix

    Table prefix

    table

    Table name

    returns

    Prefixed table name

  23. def stringToMap(str: String): Map[String, String]

    Inverse of mapToString

    Inverse of mapToString

    str

    Comma-separated list, e.g. FOO=BAR,X=Y,...

    returns

    Map of String to String, e.g. Map("FOO" -> "BAR", "X" -> "Y", ...)

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

    Definition Classes
    AnyRef
  25. def timestampFunction(url: String): String

    Determines UNIX timestamp conversion function from JDBC URL

    Determines UNIX timestamp conversion function from JDBC URL

    url

    JDBC URL

    returns

    Timestamp conversion function, e.g. TO_TIMESTAMP

  26. def toString(): String

    Definition Classes
    AnyRef → Any
  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