public class LazySimpleStructObjectInspector extends BaseStructObjectInspector
BaseStructObjectInspector.MyField
ObjectInspector.Category
fields
Modifier | Constructor and Description |
---|---|
protected |
LazySimpleStructObjectInspector() |
protected |
LazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
|
LazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
LazyObjectInspectorParameters lazyParams) |
|
LazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte |
getEscapeChar() |
boolean |
getLastColumnTakesRest() |
LazyObjectInspectorParameters |
getLazyParams() |
org.apache.hadoop.io.Text |
getNullSequence() |
byte |
getSeparator() |
Object |
getStructFieldData(Object data,
StructField fieldRef)
returns null for data = null.
|
List<Object> |
getStructFieldsDataAsList(Object data)
returns null for data = null.
|
protected void |
init(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
LazyObjectInspectorParameters lazyParams) |
protected void |
init(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar) |
boolean |
isEscaped() |
createField, getAllStructFieldRefs, getCategory, getStructFieldRef, getTypeName, init, init
isSettable, toString
protected LazySimpleStructObjectInspector()
@Deprecated protected LazySimpleStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, byte separator, org.apache.hadoop.io.Text nullSequence, boolean lastColumnTakesRest, boolean escaped, byte escapeChar)
@Deprecated public LazySimpleStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, List<String> structFieldComments, byte separator, org.apache.hadoop.io.Text nullSequence, boolean lastColumnTakesRest, boolean escaped, byte escapeChar)
public LazySimpleStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, List<String> structFieldComments, byte separator, LazyObjectInspectorParameters lazyParams)
protected void init(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, List<String> structFieldComments, byte separator, org.apache.hadoop.io.Text nullSequence, boolean lastColumnTakesRest, boolean escaped, byte escapeChar)
protected void init(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, List<String> structFieldComments, byte separator, LazyObjectInspectorParameters lazyParams)
public Object getStructFieldData(Object data, StructField fieldRef)
StructObjectInspector
getStructFieldData
in class StructObjectInspector
public List<Object> getStructFieldsDataAsList(Object data)
StructObjectInspector
getStructFieldsDataAsList
in class StructObjectInspector
public byte getSeparator()
public org.apache.hadoop.io.Text getNullSequence()
public boolean getLastColumnTakesRest()
public boolean isEscaped()
public byte getEscapeChar()
public LazyObjectInspectorParameters getLazyParams()
Copyright © 2017 The Apache Software Foundation. All rights reserved.