com.snowplowanalytics.snowplow.enrich.common.enrichments.registry.sqlquery

JsonOutput

object JsonOutput extends Serializable

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

Type Members

  1. sealed trait PropertyNameMode extends AnyRef

    ADT specifying how to transform key names

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. object AsIs extends PropertyNameMode with Product with Serializable

    Some_Column to Some_Column

  7. object CamelCase extends PropertyNameMode with Product with Serializable

    some_column to someColumn

  8. object LowerCase extends PropertyNameMode with Product with Serializable

    SomeColumn to somecolumn

  9. object PascalCase extends PropertyNameMode with Product with Serializable

    some_column to SomeColumn

  10. object SnakeCase extends PropertyNameMode with Product with Serializable

    SomeColumn to some_column

  11. object UpperCase extends PropertyNameMode with Product with Serializable

    SomeColumn to SOMECOLUMN

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  18. def getColumnCount(rsMeta: ResultSetMetaData): ThrowableXor[Int]

    Lift failing ResultSetMetaData#getColumnCount into scalaz disjunction with Throwable as left-side

  19. def getColumnLabel(column: Int, rsMeta: ResultSetMetaData): ThrowableXor[String]

    Lift failing ResultSetMetaData#getColumnLabel into scalaz disjunction with Throwable as left-side

  20. def getColumnType(column: Int, rsMeta: ResultSetMetaData): ThrowableXor[String]

    Lift failing ResultSetMetaData#getColumnClassName into scalaz disjunction with Throwable as left-side

  21. def getColumnValue(datatype: String, columnIdx: Int, rs: ResultSet): ThrowableXor[JValue]

    Get value from ResultSet using column number

    Get value from ResultSet using column number

    datatype

    stringified type representing real type

    columnIdx

    column's number in table

    rs

    result set fetched from DB

    returns

    JSON in case of success or Throwable in case of SQL error

  22. def getMetaData(rs: ResultSet): ThrowableXor[ResultSetMetaData]

    Lift failing ResultSet#getMetaData into scalaz disjunction with Throwable as left-side

  23. def getValue(anyRef: AnyRef, datatype: String): JValue

    Transform value from AnyRef using stringified type hint

    Transform value from AnyRef using stringified type hint

    anyRef

    AnyRef extracted from ResultSet

    datatype

    stringified type representing AnyRef's real type

    returns

    AnyRef converted to JSON

  24. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  29. val parseObject: (AnyRef) ⇒ JValue

    Default method to parse unknown column type First try to parse as JSON Object (PostgreSQL JSON doesn't have a loader for JSON) if not successful parse as JSON String

  30. val resultsetGetters: Map[String, (AnyRef) ⇒ JValue]

    Map of datatypes to JSON-generator functions

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

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped