public class DataNodeV1 extends Object implements org.apache.jute.Record
A data node contains a reference to its parent, a byte array as its data, an array of ACLs, a stat object, and a set of its children's paths.
| Modifier and Type | Field and Description |
|---|---|
StatPersistedV1 |
stat |
| Modifier and Type | Method and Description |
|---|---|
void |
copyStat(Stat to) |
void |
deserialize(org.apache.jute.InputArchive archive,
String tag) |
HashSet<String> |
getChildren()
convenience methods to get the children
|
void |
serialize(org.apache.jute.OutputArchive archive,
String tag) |
void |
setChildren(HashSet<String> children)
convenience method for creating DataNode
fully
|
public StatPersistedV1 stat
public void setChildren(HashSet<String> children)
children - public HashSet<String> getChildren()
public void copyStat(Stat to)
public void deserialize(org.apache.jute.InputArchive archive,
String tag)
throws IOException
deserialize in interface org.apache.jute.RecordIOExceptionpublic void serialize(org.apache.jute.OutputArchive archive,
String tag)
throws IOException
serialize in interface org.apache.jute.RecordIOExceptionCopyright © 2013 The Apache Software Foundation