package types
- Source
- package.scala
- Alphabetic
- By Inheritance
- types
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class BigNumeric extends Product with Serializable
Case class to serve as BigNumeric type to distinguish them from Numeric.
Case class to serve as BigNumeric type to distinguish them from Numeric.
See also https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#numeric_types
- class BigQueryTag extends Annotation with StaticAnnotation with Serializable
- class BigQueryType[T] extends AnyRef
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.
- case class Geography(wkt: String) extends Product with Serializable
Case class to serve as raw type for Geography instances to distinguish them from Strings.
Case class to serve as raw type for Geography instances to distinguish them from Strings.
See also https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#geography_type
- wkt
Well Known Text formatted string that BigQuery displays for Geography
- case class Json(wkt: String) extends Product with Serializable
Case class to serve as raw type for Json instances to distinguish them from Strings.
Case class to serve as raw type for Json instances to distinguish them from Strings.
See also https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#json_type
- wkt
Well Known Text formatted string that BigQuery displays for Json
- final class description extends Annotation with StaticAnnotation with Serializable
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)
- Annotations
- @nowarn()
Value Members
- object BigNumeric extends Serializable
- object BigQueryType
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
NUMERIC
NUMERIC
BigDecimal
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
- object ConverterUtil
- object SchemaUtil
Utility for BigQuery schemas.