Object/Class

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

JsonOutput

Related Docs: class JsonOutput | package sqlquery

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait PropertyNameMode extends AnyRef

    Permalink

    ADT specifying how to transform key names

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object AsIs extends PropertyNameMode with Product with Serializable

    Permalink

    Some_Column to Some_Column

  5. object CamelCase extends PropertyNameMode with Product with Serializable

    Permalink

    some_column to someColumn

  6. object LowerCase extends PropertyNameMode with Product with Serializable

    Permalink

    SomeColumn to somecolumn

  7. object PascalCase extends PropertyNameMode with Product with Serializable

    Permalink

    some_column to SomeColumn

  8. object SnakeCase extends PropertyNameMode with Product with Serializable

    Permalink

    SomeColumn to some_column

  9. object UpperCase extends PropertyNameMode with Product with Serializable

    Permalink

    SomeColumn to SOMECOLUMN

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

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

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

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

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    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

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

    Permalink

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

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

    Permalink

    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

  22. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. val parseObject: (AnyRef) ⇒ JValue

    Permalink

    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

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

    Permalink

    Map of datatypes to JSON-generator functions

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

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped