public class LazyUnionObjectInspector extends Object implements UnionObjectInspector
LazyObjectInspectorFactory to create new
ObjectInspector objects, instead of directly creating an instance of this
class.ObjectInspector.Category| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
LazyUnionObjectInspector() |
protected |
LazyUnionObjectInspector(List<ObjectInspector> ois,
byte separator,
LazyObjectInspectorParameters lazyParams) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector.Category |
getCategory()
An ObjectInspector must inherit from one of the following interfaces if
getCategory() returns: PRIMITIVE: PrimitiveObjectInspector LIST:
ListObjectInspector MAP: MapObjectInspector STRUCT: StructObjectInspector.
|
byte |
getEscapeChar() |
Object |
getField(Object data)
Return the field based on the tag associated with the Object.
|
LazyObjectInspectorParameters |
getLazyParams() |
org.apache.hadoop.io.Text |
getNullSequence() |
List<ObjectInspector> |
getObjectInspectors()
Returns the array of ObjectInspectors that are for each of the tags.
|
byte |
getSeparator() |
byte |
getTag(Object data)
Return the tag of the object.
|
String |
getTypeName()
Returns the name of the data type that is inspected by this
ObjectInspector.
|
protected void |
init(List<ObjectInspector> ois,
byte separator,
LazyObjectInspectorParameters lazyParams) |
boolean |
isEscaped() |
protected LazyUnionObjectInspector()
protected LazyUnionObjectInspector(List<ObjectInspector> ois, byte separator, LazyObjectInspectorParameters lazyParams)
public String getTypeName()
ObjectInspectorgetTypeName in interface ObjectInspectorprotected void init(List<ObjectInspector> ois, byte separator, LazyObjectInspectorParameters lazyParams)
public final ObjectInspector.Category getCategory()
ObjectInspectorgetCategory in interface ObjectInspectorpublic byte getSeparator()
public org.apache.hadoop.io.Text getNullSequence()
public boolean isEscaped()
public byte getEscapeChar()
public LazyObjectInspectorParameters getLazyParams()
public Object getField(Object data)
UnionObjectInspectorgetField in interface UnionObjectInspectorpublic List<ObjectInspector> getObjectInspectors()
UnionObjectInspectorgetObjectInspectors in interface UnionObjectInspectorpublic byte getTag(Object data)
UnionObjectInspectorgetTag in interface UnionObjectInspectorCopyright © 2019 The Apache Software Foundation. All Rights Reserved.