| Constructor and Description |
|---|
Shell(PrintStream ps,
PrintStream errs) |
Shell(PrintWriter pw,
PrintWriter err) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone()
Creates and returns a copy of this
Object. |
void |
columns(String[] args)
Reports column names of the query result.
|
static void |
main(String[] args) |
boolean |
newrow(String[] args)
Reports row data of the query result.
|
static String |
sql_quote_dbl(String str) |
static String |
sql_quote(String str) |
void |
types(String[] args)
Reports type names of the columns of the query result.
|
public Shell(PrintWriter pw, PrintWriter err)
public Shell(PrintStream ps, PrintStream errs)
protected Object clone()
ObjectObject. The default
implementation returns a so-called "shallow" copy: It creates a new
instance of the same class and then copies the field values (including
object references) from this instance to the new instance. A "deep" copy,
in contrast, would also recursively clone nested objects. A subclass that
needs to implement this kind of cloning should call super.clone()
to create the new instance and then create deep copies of the nested,
mutable objects.public void columns(String[] args)
Callbackpublic void types(String[] args)
Callbackpublic boolean newrow(String[] args)
Callbackpublic static void main(String[] args)