public final class OrcStruct extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Method and Description |
|---|---|
static ObjectInspector |
createObjectInspector(TypeInfo info) |
boolean |
equals(Object other) |
int |
getNumFields() |
int |
hashCode() |
void |
readFields(DataInput dataInput) |
void |
setNumFields(int numFields)
Change the number of fields in the struct.
|
String |
toString() |
void |
write(DataOutput dataOutput) |
public int getNumFields()
public void setNumFields(int numFields)
numFields - the new number of fieldspublic void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic static ObjectInspector createObjectInspector(TypeInfo info)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.