public static class InputFormats.DelimitedFormatDefn extends InputFormats.FlatTextFormatDefn
| Modifier and Type | Field and Description |
|---|---|
static String |
DELIMITER_FIELD |
static String |
DELIMITER_PARAMETER |
static String |
TYPE_KEY |
LIST_DELIMITER_PARAMETER, SKIP_ROWS_PARAMETER| Constructor and Description |
|---|
DelimitedFormatDefn() |
| Modifier and Type | Method and Description |
|---|---|
InputFormat |
convertFromArgs(Map<String,Object> args,
List<ColumnSpec> columns,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
Create an input format instance from the values provided as arguments that
correspond to the defined parameters.
|
protected Class<? extends InputFormat> |
inputFormatClass()
The target input format class for Jackson conversions.
|
String |
typeValue() |
adjustValues, convertFromTable, mapFromArgs, toMap, validateconvert, convertColumns, parameterspublic static final String TYPE_KEY
public static final String DELIMITER_PARAMETER
public static final String DELIMITER_FIELD
public String typeValue()
format
property for SQL functions.protected Class<? extends InputFormat> inputFormatClass()
InputFormats.BaseFormatDefninputFormatClass in class InputFormats.BaseFormatDefnpublic InputFormat convertFromArgs(Map<String,Object> args, List<ColumnSpec> columns, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
InputFormatDefnargs - the actual arguments for the defined parameterscolumns - the columns provided in SQL, typically via the `EXTEND` clause,
but perhaps from an the table spec, if the function is for
a partial tablejsonMapper - the mapper to use to perform conversionsCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.