public class DataNodeV1
extends java.lang.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,
java.lang.String tag) |
java.util.HashSet<java.lang.String> |
getChildren()
convenience methods to get the children
|
void |
serialize(org.apache.jute.OutputArchive archive,
java.lang.String tag) |
void |
setChildren(java.util.HashSet<java.lang.String> children)
convenience method for creating DataNode
fully
|
public StatPersistedV1 stat
public void setChildren(java.util.HashSet<java.lang.String> children)
children - public java.util.HashSet<java.lang.String> getChildren()
public void copyStat(Stat to)
public void deserialize(org.apache.jute.InputArchive archive,
java.lang.String tag)
throws java.io.IOException
deserialize in interface org.apache.jute.Recordjava.io.IOExceptionpublic void serialize(org.apache.jute.OutputArchive archive,
java.lang.String tag)
throws java.io.IOException
serialize in interface org.apache.jute.Recordjava.io.IOExceptionCopyright © 2016 The Apache Software Foundation