@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public abstract class Record extends Object implements WritableComparable, Cloneable
| コンストラクタと説明 | 
|---|
| Record()非推奨です。  | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| abstract int | compareTo(Object peer)非推奨です。  | 
| void | deserialize(RecordInput rin)非推奨です。  Deserialize a record without a tag | 
| abstract void | deserialize(RecordInput rin,
           String tag)非推奨です。  Deserialize a record with a tag (usually field name) | 
| void | readFields(DataInput din)非推奨です。  Deserialize the fields of this object from  in. | 
| void | serialize(RecordOutput rout)非推奨です。  Serialize a record without a tag | 
| abstract void | serialize(RecordOutput rout,
         String tag)非推奨です。  Serialize a record with tag (ususally field name) | 
| String | toString()非推奨です。  | 
| void | write(DataOutput out)非推奨です。  Serialize the fields of this object to  out. | 
public Record()
public abstract void serialize(RecordOutput rout, String tag) throws IOException
rout - Record output destinationtag - record tag (Used only in tagged serialization e.g. XML)IOExceptionpublic abstract void deserialize(RecordInput rin, String tag) throws IOException
rin - Record input sourcetag - Record tag (Used only in tagged serialization e.g. XML)IOExceptionpublic abstract int compareTo(Object peer) throws ClassCastException
compareTo インタフェース内 ComparableClassCastExceptionpublic void serialize(RecordOutput rout) throws IOException
rout - Record output destinationIOExceptionpublic void deserialize(RecordInput rin) throws IOException
rin - Record input sourceIOExceptionpublic void write(DataOutput out) throws IOException
Writableout.write インタフェース内 Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput din) throws IOException
Writablein.  
 
 For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields インタフェース内 Writabledin - DataInput to deseriablize this object from.IOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.