Trait

com.eharmony.aloha.semantics.func

GenAggFunc

Related Doc: package func

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink

    Like Function1.andThen except it returns a GenAggFunc.

    Like Function1.andThen except it returns a GenAggFunc.

    C

    output type of the resulting function.

    g

    a function to execute after this

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

    Permalink
    Definition Classes
    Function1
  3. abstract val specification: String

    Permalink

    The specification of the function.

Concrete 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. def accessorOutput(a: A): Map[String, Try[Any]]

    Permalink

    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.

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

    Permalink

    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.

  6. def accessorOutputProblems(a: A): GenAggFuncAccessorProblems

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

    Permalink
  8. def accessors: List[GeneratedAccessor[A, _]]

    Permalink

    Get the accessors contained in the Function.

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

    Permalink

    Accessor names for accessors with errors.

    Accessor names for accessors with errors.

    ao

    output of accessorOutput applied to an input.

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

    Permalink

    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.

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

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

    Permalink

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

    Permalink
    Definition Classes
    Any
  14. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from (A) ⇒ B

Inherited from AnyRef

Inherited from Any

Ungrouped