|
||||||||||
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.DBNew
org.basex.query.up.primitives.DBAdd
public final class DBAdd
Add primitive.
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.DBNew |
---|
B_OPT, inputs, K_B_OPT, K_N_OPT, K_S_OPT, md, N_OPT, options, qc, S_OPT |
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 | |
---|---|
DBAdd(Data d,
NewInput it,
QueryContext c,
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. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.up.primitives.DBNew |
---|
addDocs, assignOptions, check, resetOptions, set |
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, wait, wait, wait |
Constructor Detail |
---|
public DBAdd(Data d, NewInput it, QueryContext c, InputInfo ii)
d
- target databaseit
- document to add (IO or ANode instance)c
- database contextii
- input infoMethod Detail |
---|
public void merge(BasicOperation o)
BasicOperation
merge
in class BasicOperation
o
- operation to merge into this onepublic void apply()
BasicOperation
apply
in class BasicOperation
public void prepare(MemData tmp) throws QueryException
BasicOperation
prepare
in class BasicOperation
tmp
- temporary mem data
QueryException
- exceptionpublic int size()
Operation
size
in class Operation
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |