trait OverrideTypeProvider extends AnyRef
Interface for all custom type providers.
- Alphabetic
- By Inheritance
- OverrideTypeProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def createInstance(c: Context)(tpe: scala.reflect.macros.blackbox.Context.Type, tree: scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.Context.Tree
Returns a
context.Tree
representing a new instance of whatever type is appropriate.Returns a
context.Tree
representing a new instance of whatever type is appropriate. This is called at macro expansion time. - abstract def getBigQueryType(tpe: scala.reflect.api.JavaUniverse.Type): String
Returns the
String
representation of the BigQuery column type.Returns the
String
representation of the BigQuery column type. This is called at runtime. - abstract def getScalaType(c: Context)(tfs: TableFieldSchema): scala.reflect.macros.blackbox.Context.Tree
Returns a
context.Tree
representing the Scala type.Returns a
context.Tree
representing the Scala type. This is called at macro expansion time. - abstract def initializeToTable(c: Context)(modifiers: scala.reflect.macros.Universe.Modifiers, variableName: scala.reflect.macros.Universe.TermName, tpe: scala.reflect.macros.Universe.Tree): Unit
Called when we need to initialize the
toTable
method using annotations.Called when we need to initialize the
toTable
method using annotations. This is called at macro expansion time. - abstract def shouldOverrideType(tpe: scala.reflect.api.JavaUniverse.Type): Boolean
Returns true if we should override default mapping.
Returns true if we should override default mapping. Uses runtime types.
- abstract def shouldOverrideType(c: Context)(tpe: scala.reflect.macros.blackbox.Context.Type): Boolean
Returns true if we should override default mapping.
Returns true if we should override default mapping. Uses compile time types.
- abstract def shouldOverrideType(tfs: TableFieldSchema): Boolean
Returns true if we should override default mapping.
Returns true if we should override default mapping. Uses schema directly from BigQuery loading.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()