Class

com.twitter.scalding.quotation

TypeReference

Related Doc: package quotation

Permalink

final case class TypeReference(typeName: TypeName) extends Projection with Product with Serializable

A reference of a type. If not nested within a Property, it means that all fields are used.

Linear Supertypes
Serializable, Serializable, Product, Equals, Projection, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeReference
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Projection
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeReference(typeName: TypeName)

    Permalink

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. def andThen(accessor: Accessor, typeName: TypeName): Projection

    Permalink
    Definition Classes
    Projection
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def basedOn(base: Projection): Option[Projection]

    Permalink

    Given a base projection, returns the projection based on it if applicable.

    Given a base projection, returns the projection based on it if applicable.

    For instance, given a quoted function val contact = Quoted.function { (c: Contact) => c.contact } and a call (p: Person) => contact(p.name) produces the projection Person.name.contact

    Definition Classes
    Projection
  7. def bySuperClass(superClass: Class[_]): Option[Projection]

    Permalink

    Limits projections to only values of superClass.

    Limits projections to only values of superClass. Example:

    case class Person(name: String, contact: Contact) extends ThriftObject case class Contact(phone: Phone) extends ThriftObject case class Phone(number: String)

    For the super class ThriftObject, it produces the transformations:

    Person.contact.phone => Some(Person.contact.phone) Person.contact.phone.number => Some(Person.contact.phone) Person.name.isEmpty => Some(Person.name) Phone.number => None

    Definition Classes
    Projection
  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 finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def rootProjection: TypeReference

    Permalink
    Definition Classes
    Projection
  17. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    TypeReference → AnyRef → Any
  19. val typeName: TypeName

    Permalink
  20. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Projection

Inherited from AnyRef

Inherited from Any

Ungrouped