org.apache.hadoop.hive.ql.io.orc
Class OrcStruct
java.lang.Object
org.apache.hadoop.hive.ql.io.orc.OrcStruct
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public final class OrcStruct
- extends Object
- implements org.apache.hadoop.io.Writable
getNumFields
public int getNumFields()
setNumFields
public void setNumFields(int numFields)
- Change the number of fields in the struct. No effect if the number of
fields is the same. The old field values are copied to the new array.
- Parameters:
numFields
- the new number of fields
write
public void write(DataOutput dataOutput)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput dataInput)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
createObjectInspector
public static ObjectInspector createObjectInspector(TypeInfo info)
Copyright © 2014 The Apache Software Foundation. All rights reserved.