classfromTable extends Annotation with StaticAnnotation
Macro annotation for a BigQuery table.
Generate case classes for a BigQuery table. Note that tableSpec must be a string literal in
the form of project:dataset.table with optional .stripMargin at the end. For example:
@BigQueryType.fromTable("project:dataset.table") class MyRecord
Also generate a companion object with convenience methods.
Macro annotation for a BigQuery table.
Generate case classes for a BigQuery table. Note that
tableSpec
must be a string literal in the form ofproject:dataset.table
with optional.stripMargin
at the end. For example:Also generate a companion object with convenience methods.