org.apache.hadoop.chukwa
Class ChukwaArchiveKey
java.lang.Object
org.apache.hadoop.record.Record
org.apache.hadoop.chukwa.ChukwaArchiveKey
- All Implemented Interfaces:
- Cloneable, Comparable, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable
public class ChukwaArchiveKey
- extends org.apache.hadoop.record.Record
Methods inherited from class org.apache.hadoop.record.Record |
deserialize, readFields, serialize, toString, write |
ChukwaArchiveKey
public ChukwaArchiveKey()
ChukwaArchiveKey
public ChukwaArchiveKey(long timePartition,
String dataType,
String streamName,
long seqId)
getTypeInfo
public static org.apache.hadoop.record.meta.RecordTypeInfo getTypeInfo()
setTypeFilter
public static void setTypeFilter(org.apache.hadoop.record.meta.RecordTypeInfo rti)
getTimePartition
public long getTimePartition()
setTimePartition
public void setTimePartition(long timePartition)
getDataType
public String getDataType()
setDataType
public void setDataType(String dataType)
getStreamName
public String getStreamName()
setStreamName
public void setStreamName(String streamName)
getSeqId
public long getSeqId()
setSeqId
public void setSeqId(long seqId)
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