public class GroupImpl extends AbstractNode implements Group
AbstractNode.AttributesLazyInitializer
address, attributes, header, name, parent
Modifier and Type | Method and Description |
---|---|
Node |
getByPath(java.lang.String path)
Gets a
Node by path. |
Node |
getChild(java.lang.String name)
Gets a child of this group by name.
|
java.util.Map<java.lang.String,Node> |
getChildren()
Gets the children in this group, i.e other groups and datasets contained
inside this group.
|
Dataset |
getDatasetByPath(java.lang.String path)
Gets a
Dataset by path. |
java.lang.String |
getPath()
Gets the absolute path within the file of this node including the nodes name.
|
NodeType |
getType()
Gets the type of this
Node . |
boolean |
isLinkCreationOrderTracked()
If
true the insertion order of links into this Group is
tracked (recorded) in the file. |
java.util.Iterator<Node> |
iterator() |
java.lang.String |
toString() |
getAddress, getAttribute, getAttributes, getFile, getFileAsPath, getHdfFile, getHeader, getHeaderMessage, getName, getParent, isAttributeCreationOrderTracked, isGroup, isLink
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAddress, getAttribute, getAttributes, getFile, getFileAsPath, getHdfFile, getName, getParent, isAttributeCreationOrderTracked, isGroup, isLink
public java.util.Map<java.lang.String,Node> getChildren()
Group
getChildren
in interface Group
Node
of this groups childrenpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPath()
Node
getPath
in interface Node
getPath
in class AbstractNode
public NodeType getType()
Node
Node
.public java.util.Iterator<Node> iterator()
iterator
in interface java.lang.Iterable<Node>
public Node getChild(java.lang.String name)
Group
Group.getChildren()
.get(name).public Node getByPath(java.lang.String path)
Group
Node
by path. The path given will be relative to this node.public Dataset getDatasetByPath(java.lang.String path)
Group
Dataset
by path. The path given will be relative to this node.getDatasetByPath
in interface Group
path
- the path to the requested datasetpublic boolean isLinkCreationOrderTracked()
Group
true
the insertion order of links into this Group
is
tracked (recorded) in the file.isLinkCreationOrderTracked
in interface Group
true
if link creation order is tracked,
false
otherwise