Class/Object

io.getquill.ast

Property

Related Docs: object Property | package ast

Permalink

final class Property extends Ast

Properties generally represent column selection from a table or invocation of some kind of method from some other object. Typically, something like

`SELECT p.name FROM People p`
comes from something like
`Map(Entity("People"), Ident("p"), Property(Ident(p), "name"))`
Properties also have an Opinion about how the NamingStrategy affects their name. For example something like Property.Opinionated(Ident(p), "s_name", Fixed) will become p.s_name even if the NamingStrategy is UpperCase (whereas Property(Ident(p), "s_name") would become p.S_NAME). When Property is constructed without Opinionated being used, the default opinion ByStrategy is used.

SELECT p.name FROM People p something like

`Map(Entity("People"), Ident("p"), Property(Ident(p), "name"))`
Properties also have an Opinion about how the `NamingStrategy` affects their name. For example something like `Property.Opinionated(Ident(p), "s_name", Fixed)` will become `p.s_name` even if the `NamingStrategy` is `UpperCase` (whereas `Property(Ident(p), "s_name")` would become `p.S_NAME`). When Property is constructed without `Opinionated` being used, the default opinion `ByStrategy` is used.

Linear Supertypes
Ast, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Property
  2. Ast
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Property(ast: Ast, name: String)(renameable: Renameable, visibility: Visibility)

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

    Permalink
    Definition Classes
    Any
  5. val ast: Ast

    Permalink
  6. def bestQuat: Quat

    Permalink
    Definition Classes
    PropertyAst
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def copy(ast: Ast = this.ast, name: String = this.name): Property

    Permalink
  9. def countQuatFields: Int

    Permalink
    Definition Classes
    Ast
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Property → AnyRef → Any
  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
    Property → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val name: String

    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 prevName: Option[String]

    Permalink
  21. def quat: Quat

    Permalink
    Definition Classes
    PropertyAst
  22. val renameable: Renameable

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

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

    Permalink
    Definition Classes
    Ast → AnyRef → Any
  25. val visibility: Visibility

    Permalink
  26. final def wait(): Unit

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

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

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

Inherited from Ast

Inherited from AnyRef

Inherited from Any

Ungrouped