Class

com.twitter.scalding.quotation

Property

Related Doc: package quotation

Permalink

final case class Property(path: Projection, accessor: Accessor, typeName: TypeName) extends Projection with Product with Serializable

A projection property (e.g. Person.name)

Linear Supertypes
Serializable, Serializable, Product, Equals, Projection, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Property
  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 Property(path: Projection, accessor: Accessor, 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. val accessor: Accessor

    Permalink
  5. def andThen(accessor: Accessor, typeName: TypeName): Projection

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

    Permalink
    Definition Classes
    Any
  7. 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
  8. 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
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val path: Projection

    Permalink
  18. def rootProjection: TypeReference

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

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

    Permalink
    Definition Classes
    Property → AnyRef → Any
  21. val typeName: TypeName

    Permalink
  22. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. 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