Returns the string representations of all of the data "variables" used by functions created from this Semantics object.
Returns the string representations of all of the data "variables" used by functions created from this Semantics object.
a com.eharmony.aloha.reflect.RefInfo for input type A.
Create a function from A to B.
Create a function from A to B. If provideSemanticsUdfException is false or the generated function is is com.eharmony.aloha.semantics.func.EnrichedErrorGenAggFunc return the function; otherwise, return the function wrapped in an com.eharmony.aloha.semantics.func.EnrichedErrorGenAggFunc. com.eharmony.aloha.semantics.func.GenAggFunc produced by the underlying semantics.
The return type of the function.
specification for a function to be produced by this semantics.
a default value in the case that the function would produce an optional type.
Only when this function returns true will the functions produced by this semantics be wrapped in a com.eharmony.aloha.semantics.func.EnrichedErrorGenAggFunc.
Only when this function returns true will the functions produced by this semantics be wrapped in a com.eharmony.aloha.semantics.func.EnrichedErrorGenAggFunc. The default for this function is true. Therefore, when mixing in this trait override this function if we don't want to always wrap the generated functions.
User-defined functions used in feature specifications can cause models to throw undesirable exceptions. This semantics mixin can allow the the exception to be caught, reformulated as a com.eharmony.aloha.semantics.SemanticsUdfException and rethrown. This has the distinct advantage of providing the caller with the exact feature specification that failed along with the features that were present and missing and the input data that caused the problem.
Example usage: Assume a we have an implementation UnsafeSemantics, implementing com.eharmony.aloha.semantics.Semantics\[Xyz\]. We can recast the errors by doing
the input type.