org.basex.core.proc
Class Insert
java.lang.Object
org.basex.core.Progress
org.basex.core.Process
org.basex.core.proc.Insert
public final class Insert
- extends Process
Evaluates the 'insert' command and inserts nodes into the database.
- Author:
- Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen
| Fields inherited from class org.basex.core.Process |
args |
|
Constructor Summary |
Insert(java.lang.Object type,
java.lang.String target,
int position,
java.lang.String... vals)
Default constructor. |
Insert(java.lang.Object type,
java.lang.String target,
java.lang.String... vals)
Constructor, using 0 as target position. |
|
Method Summary |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.basex.core.Process |
args, data, error, execute, execute, info, info, info, output, printing, result, updating |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Insert
public Insert(java.lang.Object type,
java.lang.String target,
int position,
java.lang.String... vals)
- Default constructor.
- Parameters:
type - node type, defined in Commands.CmdUpdateposition - target positiontarget - target queryvals - value(s) to update; two values are expected for
attributes and processing instructions
Insert
public Insert(java.lang.Object type,
java.lang.String target,
java.lang.String... vals)
- Constructor, using 0 as target position.
- Parameters:
type - node type, defined in Commands.CmdUpdate.target - target queryvals - value(s) to update; two values are expected for
attributes and processing instructions
toString
public java.lang.String toString()
- Description copied from class:
Process
- Returns a string representation of the object. In the client/server
architecture, the command string is sent to and reparsed by the server.
- Overrides:
toString in class Process
- Returns:
- string representation