Packages

c

molecule.input.InputMolecule_1

InputMolecule_1_06

abstract class InputMolecule_1_06[I1, A, B, C, D, E, F] extends InputMolecule_1[I1]

Source
InputMolecule_1.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. InputMolecule_1_06
  2. InputMolecule_1
  3. InputMolecule
  4. MoleculeBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InputMolecule_1_06(_model: Model, queryData: (Query, Option[Query]))

Abstract Value Members

  1. abstract def apply(args: Seq[I1])(implicit conn: Conn): Molecule06[A, B, C, D, E, F]

    Apply Seq of input values with OR semantics to resolve input molecule.

    Apply Seq of input values with OR semantics to resolve input molecule.

    Resolve input molecule by applying a Set of values that the attribute is expected to have (OR semantics).

    // Input molecule awaiting name input
    val ageOfPersons = Person.name_(?).age
    
    // Apply Seq of one or more input value(s)
    ageOfPersons.apply(Seq("Ben", "Liz"))
    
    // Same as
    ageOfPersons(Set("Ben", "Liz"))
    ageOfPersons("Ben" or "Liz")
    ageOfPersons("Ben", "Liz")

    Querying the resolved molecule will match all entities having name set to the value(s) applied.

    returns

    Resolved molecule that can be queried

    Definition Classes
    InputMolecule_1_06InputMolecule_1
    Note

    Only distinct values are matched.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _model: Model

    Internal Model representation of molecule.

    Internal Model representation of molecule.

    Molecule transforms custom boilerplate DSL constructs to Datomic queries in 3 steps:

    Custom DSL molecule --> Model --> Query --> Datomic query string

    Definition Classes
    InputMolecule_1_06MoleculeBase
  5. val _nestedQuery: Option[Query]

    Internal optional Query representation of nested molecule with added entity search for each level.

    Internal optional Query representation of nested molecule with added entity search for each level.

    Molecule transforms custom boilerplate DSL constructs to Datomic queries in 3 steps:

    Custom DSL molecule --> Model --> Query --> Datomic query string

    Definition Classes
    InputMolecule_1_06MoleculeBase
  6. val _query: Query

    Internal Query representation of molecule.

    Internal Query representation of molecule.

    Molecule transforms custom boilerplate DSL constructs to Datomic queries in 3 steps:

    Custom DSL molecule --> Model --> Query --> Datomic query string

    Definition Classes
    InputMolecule_1_06MoleculeBase
  7. def addNilClause(clauses: Seq[Clause], e: Var, kw: KW, v0: Var): Seq[Clause]
    Attributes
    protected
    Definition Classes
    InputMolecule
  8. def apply(or: Or[I1])(implicit conn: Conn): Molecule06[A, B, C, D, E, F]

    Apply OR expression of input values to resolve input molecule.

    Apply OR expression of input values to resolve input molecule.

    Input value type matches attribute having ? marker.

    // Input molecule awaiting name input
    val ageOfPersons = Person.name_(?).age
    
    // Apply OR expression of two or more input values
    ageOfPersons.apply("Ben" or "Liz") // (one or more input values...)
    
    // Same as
    ageOfPersons("Ben", "Liz")
    ageOfPersons(Seq("Ben", "Liz"))
    ageOfPersons(Set("Ben", "Liz"))

    Querying the resolved molecule will match all entities having name set to the values applied.

    returns

    Resolved molecule that can be queried

    Definition Classes
    InputMolecule_1_06InputMolecule_1
    Note

    Only distinct values are matched.

  9. def apply(arg: I1, arg2: I1, moreArgs: I1*)(implicit conn: Conn): Molecule06[A, B, C, D, E, F]

    Apply one or more input values to resolve input molecule.

    Apply one or more input values to resolve input molecule.

    // Input molecule awaiting name input
    val ageOfPersons = Person.name_(?).age
    
    // Apply one or more input value(s)
    ageOfPersons.apply("Ben", "Liz") // (one or more input values...)
    
    // Same as
    ageOfPersons("Ben" or "Liz")
    ageOfPersons(Seq("Ben", "Liz"))
    ageOfPersons(Set("Ben", "Liz"))

    Querying the resolved molecule will match all entities having name set to the value(s) applied.

    returns

    Resolved molecule that can be queried

    Definition Classes
    InputMolecule_1_06InputMolecule_1
    Note

    Only distinct values are matched.

  10. def apply(arg: I1)(implicit conn: Conn): Molecule06[A, B, C, D, E, F]

    Apply one or more input values to resolve input molecule.

    Apply one or more input values to resolve input molecule.

    // Input molecule awaiting name input
    val ageOfPersons = Person.name_(?).age
    
    // Apply one or more input value(s)
    ageOfPersons.apply("Ben", "Liz") // (one or more input values...)
    
    // Same as
    ageOfPersons("Ben" or "Liz")
    ageOfPersons(Seq("Ben", "Liz"))
    ageOfPersons(Set("Ben", "Liz"))

    Querying the resolved molecule will match all entities having name set to the value(s) applied.

    returns

    Resolved molecule that can be queried

    Definition Classes
    InputMolecule_1_06InputMolecule_1
    Note

    Only distinct values are matched.

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def bindValues(query: Query, inputs0: Seq[I1]): Query
    Attributes
    protected
    Definition Classes
    InputMolecule_1
  13. def cardinality(nsFull: String, attr: String): Int
    Attributes
    protected
    Definition Classes
    InputMolecule
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. def dataClause(e: String, kw: KW, enumPrefix: Option[String], arg: Any, i: Int): Seq[Clause]
    Attributes
    protected
    Definition Classes
    InputMolecule
  16. def deepNil(args: Seq[Any]): Boolean
    Attributes
    protected
    Definition Classes
    InputMolecule
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def isExpression(nsFull: String, attr: String): Boolean
    Attributes
    protected
    Definition Classes
    InputMolecule
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isTacit(nsFull: String, attr: String): Boolean
    Attributes
    protected
    Definition Classes
    InputMolecule
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def pre[T](enumPrefix: Option[String], arg: T): Any
    Attributes
    protected
    Definition Classes
    InputMolecule
  29. def resolveInput[T](query: Query, ph: Placeholder, inputs: Seq[T], ruleName: String = "rule1", unifyRule: Boolean = false): Query
    Attributes
    protected
    Definition Classes
    InputMolecule
  30. def resolveOr[I1](or: Or[I1]): Seq[I1]
    Attributes
    protected
    Definition Classes
    InputMolecule
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def valueClauses[TT](e: String, kw: KW, enumPrefix: Option[String], args: TT): Seq[Clause]
    Attributes
    protected
    Definition Classes
    InputMolecule
  34. def varsAndPrefixes(query: Query): Seq[(Var, String)]
    Attributes
    protected
    Definition Classes
    InputMolecule
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from InputMolecule_1[I1]

Inherited from InputMolecule

Inherited from MoleculeBase

Inherited from AnyRef

Inherited from Any

internal

Ungrouped