public class StructuredToRowTransformer extends Object
StructuredRecord to Row| Modifier and Type | Method and Description |
|---|---|
static Object |
getValue(io.cdap.cdap.api.data.format.StructuredRecord input,
String fieldName)
Get the field value from the given record
|
static Row |
transform(io.cdap.cdap.api.data.format.StructuredRecord record)
Get the row from the given transform.
|
public static Row transform(io.cdap.cdap.api.data.format.StructuredRecord record)
record - the record to transform@Nullable public static Object getValue(io.cdap.cdap.api.data.format.StructuredRecord input, String fieldName)
input - input recordfieldName - field name to get value fromCopyright © 2022 CDAP Licensed under the Apache License, Version 2.0.