org.apache.hadoop.chukwa.extraction.engine
Class ChukwaRecordJT

java.lang.Object
  extended by org.apache.hadoop.record.Record
      extended by org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT
All Implemented Interfaces:
Cloneable, Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable
Direct Known Subclasses:
ChukwaRecord

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


Nested Class Summary
static class ChukwaRecordJT.Comparator
           
 
Field Summary
protected  TreeMap<String,org.apache.hadoop.record.Buffer> mapFields
           
protected  long time
           
 
Constructor Summary
ChukwaRecordJT()
           
ChukwaRecordJT(long time, TreeMap<String,org.apache.hadoop.record.Buffer> mapFields)
           
 
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_)
           
 TreeMap<String,org.apache.hadoop.record.Buffer> getMapFields()
           
 long getTime()
           
static org.apache.hadoop.record.meta.RecordTypeInfo getTypeInfo()
           
 int hashCode()
           
 void serialize(org.apache.hadoop.record.RecordOutput _rio_a, String _rio_tag)
           
 void setMapFields(TreeMap<String,org.apache.hadoop.record.Buffer> mapFields)
           
 void setTime(long time)
           
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
 

Field Detail

time

protected long time

mapFields

protected TreeMap<String,org.apache.hadoop.record.Buffer> mapFields
Constructor Detail

ChukwaRecordJT

public ChukwaRecordJT()

ChukwaRecordJT

public ChukwaRecordJT(long time,
                      TreeMap<String,org.apache.hadoop.record.Buffer> mapFields)
Method Detail

getTypeInfo

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

setTypeFilter

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

getTime

public long getTime()

setTime

public void setTime(long time)

getMapFields

public TreeMap<String,org.apache.hadoop.record.Buffer> getMapFields()

setMapFields

public void setMapFields(TreeMap<String,org.apache.hadoop.record.Buffer> mapFields)

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 © ${year} The Apache Software Foundation