public final class InfoDB extends Command
Constructor and Description |
---|
InfoDB()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(CmdBuilder cb)
Builds a string representation from the command.
|
void |
databases(LockResult lr)
Adds the names of the databases that may be touched by the process.
|
static String |
db(MetaData meta,
boolean bold,
boolean index,
boolean create)
Creates a database information string.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
close, databases, error, execute, execute, finish, finishUpdate, getOption, getOption, info, info, init, newData, run, run, setInput, setInput, startUpdate, stoppable, supportsProg, toString, toString, updated, updating
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
protected boolean run() throws IOException
Command
run
in class Command
IOException
- I/O exceptionpublic void databases(LockResult lr)
Proc
public static String db(MetaData meta, boolean bold, boolean index, boolean create)
meta
- meta databold
- header bold header flagindex
- add index informationcreate
- create permissionspublic void build(CmdBuilder cb)
Command
Copyright © 2005–2015 BaseX Team. All rights reserved.