com.eharmony.aloha.semantics.func

GenAggFunc

sealed trait GenAggFunc[-A, +B] extends (A) ⇒ B

A trait for generated functions that aggregate the values of other functions. NOTE: It is important that subclasses place the aggregated function first. This allows the accessors function to work properly. We seal this trait because the cast is dangerous if someone else improperly extends this trait.

A

input type of the function

B

output type of the function

Self Type
GenAggFunc[A, B] with Product
Linear Supertypes
(A) ⇒ B, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenAggFunc
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def andThenGenAggFunc[C](g: (B) ⇒ C): GenAggFunc[A, C]

    Like Function1.

    Like Function1.andThen except it returns a GenAggFunc.

    C

    output type of the resulting function.

    g

    a function to execute after this

    returns

  2. abstract def apply(v1: A): B

    Definition Classes
    Function1
  3. abstract val specification: String

    The specification of the function.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def accessorOutput(a: A): Map[String, Try[Any]]

    Produce a list of results by applying each accessor on the input.

    Produce a list of results by applying each accessor on the input.

    a

    the input

    returns

    a map from each accessor's descriptor to the value produced by the accessor.

  7. def accessorOutputMissing(a: A): List[String]

    Produce a list of accessor descriptors where the accessor results in missing data.

    Produce a list of accessor descriptors where the accessor results in missing data. This is determined applying accessorOutput and collecting keys whose values are None or Left(_).

    a

    input on which we are trying to report accessors with missing outputs.

    returns

  8. def accessorOutputProblems(a: A): GenAggFuncAccessorProblems

  9. def accessorOutputWithError(a: A): List[String]

  10. def accessors: List[GeneratedAccessor[A, _]]

    Get the accessors contained in the Function.

    Get the accessors contained in the Function.

    returns

  11. final def accessorsInErr(ao: Map[String, Try[Any]]): List[String]

    Accessor names for accessors with errors.

    Accessor names for accessors with errors.

    ao

    output of accessorOutput applied to an input.

    returns

    Attributes
    protected[this]
  12. final def accessorsWithMissing(ao: Map[String, Try[Any]]): List[String]

    Produce a list of accessor descriptors where the accessor results in missing data.

    Produce a list of accessor descriptors where the accessor results in missing data. This is determined applying accessorOutput and collecting keys whose values are None or Left(_).

    ao

    input on which we are trying to report accessors with missing outputs.

    returns

    Attributes
    protected[this]
  13. def andThen[A](g: (B) ⇒ A): (A) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  14. def arity: Int

    A convenience method providing the arity of the function.

    A convenience method providing the arity of the function. This is just:

    def arity = accessors.size
    returns

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def compose[A](g: (A) ⇒ A): (A) ⇒ B

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

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

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

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

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    GenAggFunc → Function1 → AnyRef → Any
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (A) ⇒ B

Inherited from AnyRef

Inherited from Any

Ungrouped