In addition to built-in transformations, users can extend LAT by writing custom user-defined transformations (UDTs).Documentation Index
Fetch the complete documentation index at: https://docs.ocient.com/llms.txt
Use this file to discover all available pages before exploring further.
To bootstrap UDT development, contact Ocient Support.
UDT Interface
A UDT is implemented as a JMESPath Java Function. A Function is comprised of three elements:- name - the function’s name determines how it can be called in a user pipeline e.g.,
negate - arguments - what inputs the function expects to be called with
- body - the function’s implementation, including return value
Java
UDT Packaging
One or more UDTs can be packaged in a jar file for consumption by LAT. In addition to the UDT implementations themselves, the jar file must contain a services file containing a mapping of all the UDTs the jar should expose for use by LAT. This service file must be located atMETA-INF/services/io.burt.jmespath.function.Function in the resulting jar, and its contents should be as follows:
Text
The file at the path
META-INF/services/io.burt.jmespath.function.Function should include the fully qualified name of one or more UDTs contained within this jar to be used by LAT. Each UDT should be specified on its own line in the file.
