public class DXUtil extends Object
Constructor and Description |
---|
DXUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getJobInput(Class<T> valueType)
Obtains the job input and deserializes it to the specified class.
|
static void |
writeJobOutput(Object object)
Writes the job output.
|
public static <T> T getJobInput(Class<T> valueType)
valueType
- class to deserialize job input topublic static void writeJobOutput(Object object)
object
- object to be JSON serializedCopyright © 2023. All Rights Reserved.