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

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

public class ChukwaRecord
extends ChukwaRecordJT
implements Record


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT
ChukwaRecordJT.Comparator
 
Field Summary
 
Fields inherited from class org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT
mapFields, time
 
Fields inherited from interface org.apache.hadoop.chukwa.extraction.engine.Record
applicationField, bodyField, chunkDataField, chunkExceptionField, classField, logLevelField, sourceField, tagsField
 
Constructor Summary
ChukwaRecord()
           
 
Method Summary
 void add(String key, String value)
           
 boolean containsField(String field)
           
 String[] getFields()
           
 String getValue(String field)
           
 void removeValue(String field)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT
clone, compareTo, deserialize, equals, getMapFields, getTime, getTypeInfo, hashCode, serialize, setMapFields, setTime, setTypeFilter, signature
 
Methods inherited from class org.apache.hadoop.record.Record
deserialize, readFields, serialize, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.chukwa.extraction.engine.Record
getTime
 

Constructor Detail

ChukwaRecord

public ChukwaRecord()
Method Detail

add

public void add(String key,
                String value)
Specified by:
add in interface Record

getFields

public String[] getFields()
Specified by:
getFields in interface Record

getValue

public String getValue(String field)
Specified by:
getValue in interface Record

containsField

public boolean containsField(String field)

removeValue

public void removeValue(String field)

toString

public String toString()
Specified by:
toString in interface Record
Overrides:
toString in class org.apache.hadoop.record.Record


Copyright © 2011 Apache Software Foundation. All Rights Reserved.