Writablepublic static class SequenceFile.Metadata extends java.lang.Object implements Writable
| Constructor | Description |
|---|---|
Metadata() |
|
Metadata(java.util.TreeMap<Text,Text> arg) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
boolean |
equals(SequenceFile.Metadata other) |
|
Text |
get(Text name) |
|
java.util.TreeMap<Text,Text> |
getMetadata() |
|
int |
hashCode() |
|
void |
readFields(java.io.DataInput in) |
Deserialize the fields of this object from
in. |
void |
set(Text name,
Text value) |
|
java.lang.String |
toString() |
|
void |
write(java.io.DataOutput out) |
Serialize the fields of this object to
out. |
public void write(java.io.DataOutput out)
throws java.io.IOException
Writableout.public void readFields(java.io.DataInput in)
throws java.io.IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.java.io.IOException - any other problem for readFields.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean equals(SequenceFile.Metadata other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.