Class

com.eharmony.aloha.semantics.func

OptionalFunc

Related Doc: package func

Permalink

case class OptionalFunc[-A, +B](function: GenAggFunc[A, Option[B]], default: B) extends GenAggFunc[A, B] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, GenAggFunc[A, B], (A) ⇒ B, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionalFunc
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GenAggFunc
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OptionalFunc(function: GenAggFunc[A, Option[B]], default: B)

    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. 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.

    Definition Classes
    GenAggFunc
  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.

    Definition Classes
    GenAggFunc
  6. def accessorOutputProblems(a: A): GenAggFuncAccessorProblems

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

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

    Permalink

    Get the accessors contained in the Function.

    Get the accessors contained in the Function.

    Definition Classes
    OptionalFuncGenAggFunc
  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]
    Definition Classes
    GenAggFunc
  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]
    Definition Classes
    GenAggFunc
  11. def andThen[A](g: (B) ⇒ A): (A) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. 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

    Definition Classes
    OptionalFuncGenAggFunc
  13. def apply(a: A): B

    Permalink
    Definition Classes
    OptionalFunc → Function1
    Annotations
    @inline()
  14. 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
    Definition Classes
    GenAggFunc
  15. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  18. val default: B

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. val function: GenAggFunc[A, Option[B]]

    Permalink
  22. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val specification: String

    Permalink

    The specification of the function.

    The specification of the function.

    Definition Classes
    OptionalFuncGenAggFunc
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    OptionalFuncGenAggFunc → Function1 → AnyRef → Any
  30. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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 GenAggFunc[A, B]

Inherited from (A) ⇒ B

Inherited from AnyRef

Inherited from Any

Ungrouped