|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector
org.apache.hadoop.hive.serde2.NullStructSerDe.NullStructSerDeObjectInspector
public static class NullStructSerDe.NullStructSerDeObjectInspector
A object inspector for null struct serde.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
ObjectInspector.Category |
Constructor Summary | |
---|---|
NullStructSerDe.NullStructSerDeObjectInspector()
|
Method Summary | |
---|---|
List<org.apache.hadoop.hive.serde2.NullStructSerDe.NullStructField> |
getAllStructFieldRefs()
Returns all the fields. |
ObjectInspector.Category |
getCategory()
An ObjectInspector must inherit from one of the following interfaces if getCategory() returns: PRIMITIVE: PrimitiveObjectInspector LIST: ListObjectInspector MAP: MapObjectInspector STRUCT: StructObjectInspector. |
Object |
getStructFieldData(Object data,
StructField fieldRef)
returns null for data = null. |
StructField |
getStructFieldRef(String fieldName)
Look up a field. |
List<Object> |
getStructFieldsDataAsList(Object data)
returns null for data = null. |
String |
getTypeName()
Returns the name of the data type that is inspected by this ObjectInspector. |
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector |
---|
isSettable, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NullStructSerDe.NullStructSerDeObjectInspector()
Method Detail |
---|
public String getTypeName()
ObjectInspector
public ObjectInspector.Category getCategory()
ObjectInspector
public StructField getStructFieldRef(String fieldName)
StructObjectInspector
getStructFieldRef
in class StructObjectInspector
public List<org.apache.hadoop.hive.serde2.NullStructSerDe.NullStructField> getAllStructFieldRefs()
StructObjectInspector
getAllStructFieldRefs
in class StructObjectInspector
public Object getStructFieldData(Object data, StructField fieldRef)
StructObjectInspector
getStructFieldData
in class StructObjectInspector
public List<Object> getStructFieldsDataAsList(Object data)
StructObjectInspector
getStructFieldsDataAsList
in class StructObjectInspector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |