org.basex.core.proc
Class Insert
java.lang.Object
org.basex.core.Progress
org.basex.core.AbstractProcess
org.basex.core.Process
org.basex.core.proc.Insert
public final class Insert
- extends Process
Inserts an element into the database.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen
Fields inherited from class org.basex.core.Process |
args |
Method Summary |
static boolean |
check(byte[] name)
Checks the validity of the specified name. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.core.Process |
args, data, error, execute, execute, info, info, info, name, output, printing, result, updating |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Insert
public Insert(Commands.CmdUpdate t,
java.lang.String... a)
- Constructor.
- Parameters:
t
- insertion typea
- arguments
Insert
public Insert(boolean g,
Commands.CmdUpdate t,
java.lang.String... a)
- Constructor for GUI updates.
- Parameters:
g
- gui flagt
- insertion typea
- arguments
toString
public java.lang.String toString()
- Overrides:
toString
in class Process
check
public static boolean check(byte[] name)
- Checks the validity of the specified name.
- Parameters:
name
- name to be checked
- Returns:
- result of check