org.apache.hadoop.hive.ql.io
Class RecordTestObj

java.lang.Object
  extended by org.apache.hadoop.record.Record
      extended by org.apache.hadoop.hive.ql.io.RecordTestObj
All Implemented Interfaces:
Cloneable, Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable

public class RecordTestObj
extends org.apache.hadoop.record.Record


Nested Class Summary
static class RecordTestObj.Comparator
           
 
Constructor Summary
RecordTestObj()
           
RecordTestObj(String s, long num)
           
 
Method Summary
 Object clone()
           
 int compareTo(Object _rio_peer_)
           
 void deserialize(org.apache.hadoop.record.RecordInput _rio_a, String _rio_tag)
           
 boolean equals(Object _rio_peer_)
           
 long getNum()
           
 String getS()
           
static org.apache.hadoop.record.meta.RecordTypeInfo getTypeInfo()
           
 int hashCode()
           
 void serialize(org.apache.hadoop.record.RecordOutput _rio_a, String _rio_tag)
           
 void setNum(long num)
           
 void setS(String s)
           
static void setTypeFilter(org.apache.hadoop.record.meta.RecordTypeInfo rti)
           
static String signature()
           
 
Methods inherited from class org.apache.hadoop.record.Record
deserialize, readFields, serialize, toString, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordTestObj

public RecordTestObj()

RecordTestObj

public RecordTestObj(String s,
                     long num)
Method Detail

getTypeInfo

public static org.apache.hadoop.record.meta.RecordTypeInfo getTypeInfo()

setTypeFilter

public static void setTypeFilter(org.apache.hadoop.record.meta.RecordTypeInfo rti)

getS

public String getS()

setS

public void setS(String s)

getNum

public long getNum()

setNum

public void setNum(long num)

serialize

public void serialize(org.apache.hadoop.record.RecordOutput _rio_a,
                      String _rio_tag)
               throws IOException
Specified by:
serialize in class org.apache.hadoop.record.Record
Throws:
IOException

deserialize

public void deserialize(org.apache.hadoop.record.RecordInput _rio_a,
                        String _rio_tag)
                 throws IOException
Specified by:
deserialize in class org.apache.hadoop.record.Record
Throws:
IOException

compareTo

public int compareTo(Object _rio_peer_)
              throws ClassCastException
Specified by:
compareTo in interface Comparable
Specified by:
compareTo in class org.apache.hadoop.record.Record
Throws:
ClassCastException

equals

public boolean equals(Object _rio_peer_)
Overrides:
equals in class Object

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

signature

public static String signature()


Copyright © 2011 The Apache Software Foundation