public final class RecordWritableConverter extends Object
StructuredRecord.| Modifier and Type | Method and Description |
|---|---|
static co.cask.cdap.api.data.format.StructuredRecord |
convertToRecord(MapWritable input,
co.cask.cdap.api.data.schema.Schema schema) |
static MapWritable |
covertToWritable(co.cask.cdap.api.data.format.StructuredRecord record) |
public static MapWritable covertToWritable(co.cask.cdap.api.data.format.StructuredRecord record) throws IOException
IOExceptionpublic static co.cask.cdap.api.data.format.StructuredRecord convertToRecord(MapWritable input, co.cask.cdap.api.data.schema.Schema schema) throws IOException
IOExceptionCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.