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

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

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


Nested Class Summary
static class ChukwaRecordKey.Comparator
           
 
Constructor Summary
ChukwaRecordKey()
           
ChukwaRecordKey(String reduceType, String key)
           
 
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_)
           
 String getKey()
           
 String getReduceType()
           
static org.apache.hadoop.record.meta.RecordTypeInfo getTypeInfo()
           
 int hashCode()
           
 void serialize(org.apache.hadoop.record.RecordOutput _rio_a, String _rio_tag)
           
 void setKey(String key)
           
 void setReduceType(String reduceType)
           
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

ChukwaRecordKey

public ChukwaRecordKey()

ChukwaRecordKey

public ChukwaRecordKey(String reduceType,
                       String key)
Method Detail

getTypeInfo

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

setTypeFilter

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

getReduceType

public String getReduceType()

setReduceType

public void setReduceType(String reduceType)

getKey

public String getKey()

setKey

public void setKey(String key)

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 Apache Software Foundation. All Rights Reserved.