All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
Group.Builder |
addAttribute(Attribute att) |
Group.Builder |
addAttributes(Iterable<Attribute> atts) |
Group.Builder |
addDimension(Dimension dim) |
boolean |
addDimensionIfNotExists(Dimension dim) |
Group.Builder |
addDimensions(Collection<Dimension> dims) |
Group.Builder |
addEnumTypedef(EnumTypedef typedef) |
Group.Builder |
addEnumTypedefs(Collection<EnumTypedef> typedefs) |
Group.Builder |
addGroup(Group.Builder nested)
Add a nested Group.
|
Group.Builder |
addGroups(Collection<Group.Builder> groups) |
Group.Builder |
addVariable(Variable.Builder<?> variable)
Add a Variable, replacing one of same name if its exists.
|
Group.Builder |
addVariables(Collection<Variable.Builder<?>> vars) |
Group |
build(Group parent)
Normally this is called by NetcdfFile.build()
|
Group.Builder |
commonParent(Group.Builder other) |
Optional<Dimension> |
findDimension(String name) |
Optional<Dimension> |
findDimensionLocal(String name) |
Optional<EnumTypedef> |
findEnumTypedef(String name) |
Optional<Group.Builder> |
findGroup(String name) |
EnumTypedef |
findOrAddEnumTypedef(String name,
Map<Integer,String> map)
Add a EnumTypedef if it does not already exist.
|
Optional<Variable.Builder<?>> |
findVariable(String name) |
AttributeContainerMutable |
getAttributeContainer() |
Iterable<Dimension> |
getDimensions() |
NetcdfFile |
getNcfile()
Deprecated.
|
boolean |
isParent(Group.Builder other) |
void |
makeDimensionMap(Group.Builder parent,
com.google.common.collect.Multimap<Dimension,Variable.Builder<?>> dimUsedMap)
Make a multimap of Dimensions and all the variables that reference them, in this group and its nested groups.
|
com.google.common.collect.ImmutableList<Dimension> |
makeDimensionsList(String dimString) |
boolean |
removeDimension(String name)
Remove dimension, if it exists.
|
void |
removeFromAny(Group.Builder group,
Dimension want) |
boolean |
removeGroup(String name)
Remove group, if it exists.
|
boolean |
removeVariable(String name)
Remove variable, if it exists.
|
boolean |
replaceDimension(Dimension dim)
Replace dimension of same name, if it exists, else just add it.
|
boolean |
replaceVariable(Variable.Builder<?> vb)
Replace variable of same name, if it exists, else just add it.
|
Group.Builder |
setName(String shortName) |
Group.Builder |
setNcfile(NetcdfFile ncfile) |
Group.Builder |
setParentGroup(Group.Builder parentGroup) |