Object

com.twitter.scalding.macros.impl

TypeDescriptorProviderImpl

Related Doc: package impl

Permalink

object TypeDescriptorProviderImpl

This class contains the core macro implementations. This is in a separate module to allow it to be in a separate compilation unit, which makes it easier to provide helper methods interfacing with macros.

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

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def caseClassTypeDescriptorCommonImpl[T](c: Context, allowUnknownTypes: Boolean)(implicit T: scala.reflect.macros.whitebox.Context.WeakTypeTag[T]): scala.reflect.macros.whitebox.Context.Expr[TypeDescriptor[T]]

    Permalink
  6. def caseClassTypeDescriptorImpl[T](c: Context)(implicit T: scala.reflect.macros.whitebox.Context.WeakTypeTag[T]): scala.reflect.macros.whitebox.Context.Expr[TypeDescriptor[T]]

    Permalink
  7. def caseClassTypeDescriptorWithUnknownImpl[T](c: Context)(implicit T: scala.reflect.macros.whitebox.Context.WeakTypeTag[T]): scala.reflect.macros.whitebox.Context.Expr[TypeDescriptor[T]]

    Permalink
  8. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def evidentColumn(c: Context, allowUnknown: Boolean = false)(tpe: scala.reflect.macros.Universe.Type): Option[Int]

    Permalink

    When flattening a nested structure with Options, the evidentColumn is a column, relative to the the first 0-offset column, that represents evidence of this T, and hence set of columns, are present or absent.

    When flattening a nested structure with Options, the evidentColumn is a column, relative to the the first 0-offset column, that represents evidence of this T, and hence set of columns, are present or absent. This is to handle Option types in text files such as CSV and TSV. a type T is evident if it the evidentColumn.exists

    primitive numbers are evident case classes are evident if they have at least one evident member.

    Strings are not evident (we can't distinguish Empty from "") Option[T] is not evident (we can't tell Some(None) from None).

  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. def isTuple[T](c: Context)(implicit T: scala.reflect.macros.whitebox.Context.WeakTypeTag[T]): Boolean

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def optionInner(c: Context)(opt: scala.reflect.macros.Universe.Type): Option[scala.reflect.macros.Universe.Type]

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped