org.basex.core.proc
Class InfoDB
java.lang.Object
org.basex.core.Progress
org.basex.core.Proc
org.basex.core.proc.AInfo
org.basex.core.proc.InfoDB
public final class InfoDB
- extends AInfo
Evaluates the 'info database' command and returns information on the
currently opened database.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Constructor Summary |
InfoDB()
Default constructor. |
Method Summary |
static byte[] |
db(MetaData meta,
boolean bold,
boolean index,
boolean create)
Creates a database information string. |
String |
toString()
Returns a string representation of the process. |
Methods inherited from class org.basex.core.proc.AInfo |
flag |
InfoDB
public InfoDB()
- Default constructor.
db
public static byte[] db(MetaData meta,
boolean bold,
boolean index,
boolean create)
- Creates a database information string.
- Parameters:
meta
- meta databold
- header bold header flagindex
- add index informationcreate
- create permissions
- Returns:
- info string
toString
public String toString()
- Description copied from class:
Proc
- Returns a string representation of the process. In the client/server
architecture, this string is sent to and reparsed by the server.
- Overrides:
toString
in class Proc
- Returns:
- string representation