|
||||||||||
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.Put
public final class Put
Fn:put operation primitive.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.up.primitives.BasicOperation |
---|
BasicOperation.TYPE |
Field Summary | |
---|---|
int |
nodeid
Node id of the target node. |
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 | |
---|---|
Put(InputInfo i,
int id,
Data d,
java.lang.String u)
Constructor. |
Method Summary | |
---|---|
void |
apply()
Applies this operation. |
DBNode |
getTargetNode()
Returns the target node of 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. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.up.primitives.BasicOperation |
---|
compareTo, getData, getInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int nodeid
Constructor Detail |
---|
public Put(InputInfo i, int id, Data d, java.lang.String u)
i
- input infoid
- target node idd
- target data referenceu
- location path URIMethod Detail |
---|
public void apply() throws QueryException
BasicOperation
apply
in class BasicOperation
QueryException
- exceptionpublic void merge(BasicOperation o) throws QueryException
BasicOperation
merge
in class BasicOperation
o
- operation to merge into this one
QueryException
- exceptionpublic int size()
Operation
size
in class Operation
public java.lang.String toString()
toString
in class java.lang.Object
public void prepare(MemData tmp) throws QueryException
BasicOperation
prepare
in class BasicOperation
tmp
- temporary mem data
QueryException
- exceptionpublic DBNode getTargetNode()
Operation
getTargetNode
in class BasicOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |