|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.up.primitives.Operation
org.basex.query.up.primitives.BasicOperation
org.basex.query.up.primitives.DBRename
public final class DBRename
Update primitive for the Function._DB_RENAME
function.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.up.primitives.BasicOperation |
---|
BasicOperation.TYPE |
Field Summary |
---|
Fields inherited from class org.basex.query.up.primitives.BasicOperation |
---|
type |
Fields inherited from class org.basex.query.up.primitives.Operation |
---|
data, info |
Constructor Summary | |
---|---|
DBRename(Data d,
java.lang.String src,
java.lang.String trg,
InputInfo ii)
Constructor. |
Method Summary | |
---|---|
void |
apply()
Applies this operation. |
void |
merge(BasicOperation o)
Merges this operation with the given one. |
void |
prepare(MemData tmp)
Prepares this operation. |
int |
size()
Returns the total number of node operations. |
Methods inherited from class org.basex.query.up.primitives.BasicOperation |
---|
compareTo, getData, getInfo, getTargetNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBRename(Data d, java.lang.String src, java.lang.String trg, InputInfo ii)
d
- target datasrc
- source pathtrg
- target pathii
- input infoMethod Detail |
---|
public void merge(BasicOperation o) throws QueryException
BasicOperation
merge
in class BasicOperation
o
- operation to merge into this one
QueryException
- exceptionpublic void apply()
BasicOperation
apply
in class BasicOperation
public int size()
Operation
size
in class Operation
public void prepare(MemData tmp) throws QueryException
BasicOperation
prepare
in class BasicOperation
tmp
- temporary mem data
QueryException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |