an Avro Schema that represents the data passed to models created by this factory.
A string representation of a com.eharmony.aloha.reflect.RefInfo
.
imports to be injected into feature functions synthesized by the factory.
a cache directory on the local machine used to cache class files of the created feature functions used in the models produced by the factory.
whether to treat the dereferencing of repeated variables as an optional type. This avoids index out of bounds exceptions and is safer but slightly slower.
A Try of a ModelFactory that creates models taking GenericRecord
instances as
input and returns com.eharmony.aloha.audit.impl.avro.Score
as output.
a cache directory on the local machine used to cache class files of the created feature functions used in the models produced by the factory.
whether to treat the dereferencing of repeated variables as an optional type.
whether to treat the dereferencing of repeated variables as an optional type. This avoids index out of bounds exceptions and is safer but slightly slower.
imports to be injected into feature functions synthesized by the factory.
A string representation of a com.eharmony.aloha.reflect.RefInfo
.
an Avro Schema that represents the data passed to models created by this factory.
Provides an easy interface for creating ModelFactory instances that both take and return Avro objects.
This is especially useful for creating factories in generic services because the
modelCodomainRefInfoStr
is a string rather thanRefInfo
so it can come from a property file.an Avro Schema that represents the data passed to models created by this factory.
A string representation of a
com.eharmony.aloha.reflect.RefInfo
.imports to be injected into feature functions synthesized by the factory.
a cache directory on the local machine used to cache class files of the created feature functions used in the models produced by the factory.
whether to treat the dereferencing of repeated variables as an optional type. This avoids index out of bounds exceptions and is safer but slightly slower.