public class ConfCdbUpgradePath extends ConfPath
Class Representing a KeyPath path.
This is a simplified variant of ConfPath
for use with
CdbUpgradeSession
.
During a cdb upgrade, it may be necessary to migrate data from nodes that
are about to be deleted. As these nodes are not present in the maapi
schema, they cannot safely be represented by standard ConfPath objects.
Instead use ConfCdbUpgradePath which relies only on ConfNamespace instances
and thus allows deleted paths to be referenced as long as the namespace has
been reinstalled.
Constructor and Description |
---|
ConfCdbUpgradePath(List<com.tailf.conf.gen.PathParser.PathElement> pl) |
ConfCdbUpgradePath(String fmt,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
ConfCdbUpgradePath |
append(String s)
Appends suffix path to existing keypath
|
Object |
clone()
Clones the ConfCdbUpgradePath
|
ConfCdbUpgradePath |
copyAppend(String s)
CopyAppends to the keypath
|
ConfCdbUpgradePath |
copyPop()
Creates a new ConfCdbUpgradePath with the current path minus the last
element including list keys.
|
String |
toXPathString()
A ConfCdbUpgradePath cannot be converted to an xpath string as this
requires access to the schema.
|
atoString, encode, encodeIKP, equals, getCSNode, getKP, getLatestMountId, getMountIdGetter, hashCode, isKey, isParsingDeferred, isRel, setMountIdGetter
public ConfCdbUpgradePath(String fmt, Object... arguments) throws ConfException
ConfException
public ConfCdbUpgradePath(List<com.tailf.conf.gen.PathParser.PathElement> pl)
public ConfCdbUpgradePath append(String s) throws ConfException
append
in class ConfPath
ConfException
public ConfCdbUpgradePath copyAppend(String s) throws ConfException
copyAppend
in class ConfPath
ConfException
public ConfCdbUpgradePath copyPop() throws ConfException
copyPop
in class ConfPath
ConfException
public String toXPathString()
toXPathString
in class ConfPath