Class/Object

io.getquill.ast

Property

Related Docs: object Property | package ast

Permalink

case class Property(ast: Ast, name: String) extends Ast with Product with Serializable

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
Serializable, Serializable, Product, Equals, Ast, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Property
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ast
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Property(ast: Ast, name: String)

    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 clone(): AnyRef

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

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

    Permalink
    Definition Classes
    Property → Equals → AnyRef → Any
  9. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  13. val name: String

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

    Permalink
    Definition Classes
    AnyRef
  15. def neutral: Property

    Permalink

    Return a copy of this AST element with any opinions that it may have set to their neutral position.

    Return a copy of this AST element with any opinions that it may have set to their neutral position. Return the object itself if it has no opinions.

    Definition Classes
    PropertyAst
  16. final def neutralize: Ast

    Permalink

    Set all opinions of this element and every element in the subtree to the neutral position.

    Set all opinions of this element and every element in the subtree to the neutral position.

    Definition Classes
    Ast
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. def renameable: Renameable

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

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

    Permalink
    Definition Classes
    Ast → AnyRef → Any
  22. def visibility: Visibility

    Permalink
  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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ast

Inherited from AnyRef

Inherited from Any

Ungrouped