public class OrcHadoopInputRowParser extends Object implements InputRowParser<org.apache.hadoop.hive.ql.io.orc.OrcStruct>
Constructor and Description |
---|
OrcHadoopInputRowParser(ParseSpec parseSpec,
String typeString) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ParseSpec |
getParseSpec() |
static Properties |
getTablePropertiesFromStructTypeInfo(org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo structTypeInfo) |
String |
getTypeString() |
InputRow |
parse(org.apache.hadoop.hive.ql.io.orc.OrcStruct input) |
static String |
typeStringFromParseSpec(ParseSpec parseSpec) |
InputRowParser |
withParseSpec(ParseSpec parseSpec) |
InputRowParser |
withTypeString(String typeString) |
public InputRow parse(org.apache.hadoop.hive.ql.io.orc.OrcStruct input)
parse
in interface InputRowParser<org.apache.hadoop.hive.ql.io.orc.OrcStruct>
public ParseSpec getParseSpec()
getParseSpec
in interface InputRowParser<org.apache.hadoop.hive.ql.io.orc.OrcStruct>
public String getTypeString()
public InputRowParser withParseSpec(ParseSpec parseSpec)
withParseSpec
in interface InputRowParser<org.apache.hadoop.hive.ql.io.orc.OrcStruct>
public InputRowParser withTypeString(String typeString)
public static Properties getTablePropertiesFromStructTypeInfo(org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo structTypeInfo)
Copyright © 2011–2017. All rights reserved.