public static class StandardUnionObjectInspector.StandardUnion extends Object implements UnionObject
Modifier and Type | Field and Description |
---|---|
protected Object |
object |
protected byte |
tag |
Constructor and Description |
---|
StandardUnion() |
StandardUnion(byte tag,
Object object) |
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Get the Object.
|
byte |
getTag()
Get the tag of the union.
|
void |
setObject(Object o) |
void |
setTag(byte tag) |
String |
toString() |
protected byte tag
protected Object object
public StandardUnion()
public StandardUnion(byte tag, Object object)
public void setObject(Object o)
public void setTag(byte tag)
public Object getObject()
UnionObject
getObject
in interface UnionObject
public byte getTag()
UnionObject
getTag
in interface UnionObject
Copyright © 2021 The Apache Software Foundation. All rights reserved.