public final class BeamTableUtils
extends java.lang.Object
BeamTable
.
TODO: Does not yet support nested types.
Constructor and Description |
---|
BeamTableUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
autoCastField(Schema.Field field,
java.lang.Object rawObj) |
static java.lang.String |
beamRow2CsvLine(Row row,
org.apache.commons.csv.CSVFormat csvFormat) |
static Row |
csvLine2BeamRow(org.apache.commons.csv.CSVFormat csvFormat,
java.lang.String line,
Schema schema) |
public static Row csvLine2BeamRow(org.apache.commons.csv.CSVFormat csvFormat, java.lang.String line, Schema schema)
public static java.lang.String beamRow2CsvLine(Row row, org.apache.commons.csv.CSVFormat csvFormat)
public static java.lang.Object autoCastField(Schema.Field field, java.lang.Object rawObj)