Interface for GenericPFAEnumSymbol all dynamically generated subclasses of PFAEnumSymbol.
Interface for GenericPFAFixed all dynamically generated subclasses of PFAFixed.
Interface for GenericPFARecord all dynamically generated subclasses of PFARecord.
Translates data created by the Avro library (generic or specific) into a form usable by a PFAEngine.
Output stream for Avro files (including header).
Comparison function for two Avro objects, specialized to a given schema
.
Max function for two Avro objects, specialized to a given schema
.
Min function for two Avro objects, specialized to a given schema
.
Comparison operator for two Avro objects, specialized to a given schema
.
Less than function for two Avro objects, specialized to a given schema
.
Output stream for CSV files.
Max function for two Avro objects, specialized to a given cmp
.
Min function for two Avro objects, specialized to a given cmp
.
Overrides Avro's data model with one designed for PFA.
Overrides Avro's data model with one designed for PFA.
PFA enum symbol with no dynamically generated code (used as an intermediate for data not assigned to any scoring engine).
PFA fixed with no dynamically generated code (used as an intermediate for data not assigned to any scoring engine).
PFA record with no dynamically generated code (used as an intermediate for data not assigned to any scoring engine).
Output stream for JSON files (each line of text is one JSON object).
Output for a stream of data objects.
Represents all arrays in PFA (generic or specific).
Translates data created by one PFAEngine into a form usable by another PFAEngine.
Overrides Avro's data model with one designed for PFA.
Overrides Avro's data model with one designed for PFA.
Abstract superclass for all dynamically generated enum classes.
Abstract superclass for all dynamically generated fixed classes.
Overrides Avro's data model with one designed for PFA.
Represents all maps in PFA (generic or specific).
Abstract superclass for all dynamically generated record classes.
Overrides Avro's data model with one designed for PFA with classes customized for each PFA engine.
Translates Scala data into a form usable by a PFAEngine.
Numerical comparison function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical equality function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical greater than or equal function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical greater than function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical less than or equal function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical less than function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical maximum function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical minimum function for two Avro numbers; applies the correct Avro rules for NaN
.
Numerical not equal function for two Avro numbers; applies the correct Avro rules for NaN
.
Create an Avro iterator (subclass of java.util.Iterator
) over Avro-serialized input data.
Create an Avro iterator (subclass of java.util.Iterator
) over Avro-serialized input data.
The objects produced by this iterator need to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
serialized data
input type
unserialized data
Create an output stream to an Avro file (including header).
Create an output stream to an Avro file (including header).
name of file to overwrite
datum type
Create an output stream to an Avro file (including header).
Create an output stream to an Avro file (including header).
file to overwrite
datum type
Create an output stream to an Avro file (including header).
Create an output stream to an Avro file (including header).
stream to write into
datum type
Create an iterator over CSV-serialized input data.
Create an iterator over CSV-serialized input data.
The objects produced by this iterator are need to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
Note that only records of primitives can be read from CSV because of the nature of the CSV format.
serialized data
input type
format description for Apache commons-csv
unserialized data
Create an output stream for CSV-serializing scoring engine output.
Create an output stream for CSV-serializing scoring engine output.
Return values from the action
method (or outputs captured by an emit
callback) are suitable for writing to this stream.
Note that only records of primitives can be written to CSV because of the nature of the CSV format.
the raw output stream onto which CSV bytes will be written.
format description for Apache commons-csv
Convert data from Avro to a generic PFA object.
Convert data from Avro to a generic PFA object.
Needs to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
Avro data
data type
PFA data
Convert data from Avro to a generic PFA object.
Convert data from Avro to a generic PFA object.
Needs to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
Avro data
Avro schema
PFA data
Convert data from JSON to a generic PFA object.
Convert data from JSON to a generic PFA object.
Needs to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
JSON data
data type
PFA data
Convert data from JSON to a generic PFA object.
Convert data from JSON to a generic PFA object.
Needs to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
JSON data
Avro schema
PFA data
Create an iterator over JSON-serialized input data.
Create an iterator over JSON-serialized input data.
The objects produced by this iterator need to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
iterator of Strings
, each containing a JSON object
input type
unserialized data
Create an iterator over JSON-serialized input data.
Create an iterator over JSON-serialized input data.
The objects produced by this iterator need to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
iterator of Strings
, each containing a JSON object
input type
unserialized data
Create an iterator over JSON-serialized input data.
Create an iterator over JSON-serialized input data.
The objects produced by this iterator need to be translated to a specific engine with a PFADataTranslator or the engine's fromPFAData
method.
serialized data
input type
unserialized data
Create an output stream to a JSON file (each line of text is one JSON object).
Create an output stream to a JSON file (each line of text is one JSON object).
name of file to overwrite
datum type
if true
, write the Avro schema as the first line of the file; if false
, write only data
Create an output stream to a JSON file (each line of text is one JSON object).
Create an output stream to a JSON file (each line of text is one JSON object).
file to overwrite
datum type
if true
, write the Avro schema as the first line of the file; if false
, write only data
Create an output stream to a JSON file (each line of text is one JSON object).
Create an output stream to a JSON file (each line of text is one JSON object).
stream to write into
datum type
if true
, write the Avro schema as the first line of the file; if false
, write only data
Convert data to Avro.
Convert data to Avro.
object reference
Avro bytes
Convert data to Avro.
Convert data to Avro.
object reference
Avro schema
Avro bytes
Convert data to JSON.
Convert data to JSON.
object reference
JSON string
Convert data to JSON.
Convert data to JSON.
object reference
Avro schema
JSON string
Convert a PFA object into an in-house JsonDom.
Convert a PFA object into an in-house JsonDom.
the object
its type
the JSON DOM that can be used in Scala pattern matching
Convert a PFA object into a Jackson JsonNode
.
Convert a PFA object into a Jackson JsonNode
.
the object
its type
the JSON DOM used by Jackson