Package

com.spotify.scio.bigquery

types

Permalink

package types

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class BigQueryTag extends Annotation with StaticAnnotation

    Permalink
  2. class BigQueryType[T] extends AnyRef

    Permalink

    Type class for case class T annotated for BigQuery IO.

    Type class for case class T annotated for BigQuery IO.

    This decouples generated fields and methods from macro expansion to keep core macro free.

  3. class description extends Annotation with StaticAnnotation

    Permalink

    Case class field annotation for BigQuery field description.

    Case class field annotation for BigQuery field description.

    To be used with case class fields annotated with BigQueryType.toTable, For example:

    @BigQueryType.toTable
    case class User(@description("user name") name: String,
                    @description("user age") age: Int)

Value Members

  1. object BigQueryType

    Permalink

    Macro annotations and converter generators for BigQuery types.

    Macro annotations and converter generators for BigQuery types.

    The following table lists each legacy SQL data type, its standard SQL equivalent and Scala type.

    Legacy SQL      Standard SQL    Scala type
    BOOLEAN         BOOL            Boolean
    INTEGER         INT64           Long, Int
    FLOAT           FLOAT64         Double, Float
    STRING          STRING          String
    BYTES           BYTES           com.google.protobuf.ByteString, Array[Byte]
    RECORD          STRUCT          Nested case class
    REPEATED        ARRAY           List[T]
    TIMESTAMP       TIMESTAMP       org.joda.time.Instant
    DATE            DATE            org.joda.time.LocalDate
    TIME            TIME            org.joda.time.LocalTime
    DATETIME        DATETIME        org.joda.time.LocalDateTime
  2. object ConverterUtil

    Permalink
  3. object SchemaUtil

    Permalink

    Utility for BigQuery schemas.

Inherited from AnyRef

Inherited from Any

Ungrouped