Package | Description |
---|---|
org.basex.build |
Classes for creating new database instances.
|
org.basex.build.csv | |
org.basex.build.html | |
org.basex.build.json | |
org.basex.build.text | |
org.basex.build.xml |
Classes for creating databases from XML documents.
|
org.basex.core |
Database core classes.
|
org.basex.core.cmd |
Database commands.
|
org.basex.data |
Database structures.
|
org.basex.index |
Database Index structures.
|
org.basex.index.ft | |
org.basex.index.name | |
org.basex.index.path | |
org.basex.index.resource | |
org.basex.index.value | |
org.basex.query |
XQuery implementation.
|
org.basex.query.func.http |
HTTP Functions.
|
org.basex.query.up.primitives | |
org.basex.query.value.node | |
org.basex.util.ft |
Full-text specific utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected MainOptions |
Parser.options
Main options.
|
Modifier and Type | Method and Description |
---|---|
static Parser |
Parser.emptyParser(MainOptions options)
Returns a parser instance for creating empty databases.
|
static SingleParser |
Parser.singleParser(IO source,
MainOptions options,
String target)
Returns a parser instance, based on the current options.
|
Constructor and Description |
---|
DirParser(IO source,
MainOptions options)
Constructor.
|
DirParser(IO source,
MainOptions options,
IOFile path)
Constructor.
|
DiskBuilder(String name,
Parser parser,
StaticOptions sopts,
MainOptions opts)
Constructor.
|
Parser(IO source,
MainOptions options)
Constructor.
|
Parser(String source,
MainOptions options)
Constructor.
|
SingleParser(IO source,
MainOptions opts)
Constructor.
|
Constructor and Description |
---|
CsvParser(IO source,
MainOptions opts)
Constructor.
|
Constructor and Description |
---|
HtmlParser(IO source,
MainOptions opts)
Constructor.
|
HtmlParser(IO source,
MainOptions opts,
HtmlOptions hopts)
Constructor.
|
Constructor and Description |
---|
JsonParser(IO source,
MainOptions opts)
Constructor.
|
JsonParser(IO source,
MainOptions opts,
JsonParserOptions jopts)
Constructor.
|
Constructor and Description |
---|
TextParser(IO source,
MainOptions opts)
Constructor.
|
Constructor and Description |
---|
DOMWrapper(Document doc,
String fn,
MainOptions opts)
Constructor.
|
SAXWrapper(IO source,
MainOptions opts)
Constructor.
|
XMLParser(IO source,
MainOptions opts)
Constructor.
|
XMLParser(IO source,
MainOptions opts,
boolean frag)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
MainOptions |
Context.options
Options.
|
protected MainOptions |
Command.options
Database options.
|
Modifier and Type | Method and Description |
---|---|
static MainOptions |
MainOptions.get()
Creates an options instance with whitespace chopping turned off.
|
Constructor and Description |
---|
MainOptions(MainOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Data |
CreateDB.create(String name,
Parser parser,
Context ctx,
MainOptions options)
Returns a database instance from the specified parser.
|
static Data |
CreateDB.create(String name,
Parser parser,
Context ctx,
MainOptions options,
boolean mem)
Creates a new database instance, using the specified parser.
|
static void |
Export.export(Data data,
String path,
MainOptions options,
Export export)
Exports the current database to the specified path.
|
static Data |
Open.open(String name,
Context context,
MainOptions options)
Opens the specified database.
|
static void |
Optimize.optimize(Data data,
MainOptions options,
boolean enforce,
boolean enforceFT,
Optimize cmd)
Optimizes the structures of a database.
|
static void |
Optimize.optimize(Data data,
MainOptions options,
Optimize cmd)
Optimizes the structures of a database.
|
static void |
OptimizeAll.optimizeAll(Data data,
Context context,
MainOptions options,
OptimizeAll cmd)
Optimizes all data structures and closes the database.
|
Modifier and Type | Method and Description |
---|---|
void |
MemData.createIndex(IndexType type,
MainOptions options,
Command cmd) |
void |
DiskData.createIndex(IndexType type,
MainOptions options,
Command cmd) |
abstract void |
Data.createIndex(IndexType type,
MainOptions options,
Command cmd)
Drops the specified index.
|
void |
MemData.finishUpdate(MainOptions opts) |
void |
DiskData.finishUpdate(MainOptions opts) |
abstract void |
Data.finishUpdate(MainOptions opts)
Finishes an update operation: removes the update file and the exclusive lock.
|
byte[] |
Data.info(IndexType type,
MainOptions options)
Returns info on the specified index structure.
|
void |
MemData.startUpdate(MainOptions opts) |
void |
DiskData.startUpdate(MainOptions opts) |
abstract void |
Data.startUpdate(MainOptions opts)
Starts an update operation: writes a file to disk to indicate that an update is
going on, and exclusively locks the table file.
|
Constructor and Description |
---|
MemData(Data data,
MainOptions options)
Light-weight constructor, adopting data structures from the specified database.
|
MemData(MainOptions opts)
Constructor, creating a new, empty database.
|
MemData(PathSummary paths,
Namespaces nspaces,
MainOptions opts)
Constructor.
|
MetaData(String name,
MainOptions options,
StaticOptions sopts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Index.info(MainOptions options)
Returns information on the index structure.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
FTIndex.info(MainOptions options) |
Constructor and Description |
---|
FTBuilder(Data data,
MainOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Names.info(MainOptions options) |
Modifier and Type | Method and Description |
---|---|
byte[] |
PathSummary.info(MainOptions options) |
Modifier and Type | Method and Description |
---|---|
byte[] |
Resources.info(MainOptions options) |
Modifier and Type | Method and Description |
---|---|
byte[] |
MemValues.info(MainOptions options) |
byte[] |
DiskValues.info(MainOptions options) |
Constructor and Description |
---|
DiskValuesBuilder(Data data,
MainOptions options,
boolean text)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static HashMap<String,String> |
QueryProcessor.bindings(MainOptions opts)
Returns a map with variable bindings.
|
Modifier and Type | Method and Description |
---|---|
static Value |
HttpPayload.value(IO in,
MainOptions opts,
String ctype,
String ext)
Returns an XQuery value for the specified content type.
|
Constructor and Description |
---|
HttpClient(InputInfo info,
MainOptions options)
Constructor.
|
HttpPayload(InputStream in,
boolean body,
InputInfo info,
MainOptions options)
Constructor.
|
HttpResponse(InputInfo info,
MainOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
DBNew.addDocs(MemData dt,
String name,
MainOptions options)
Inserts all documents to be added to a temporary database.
|
void |
DBOptions.assignTo(MainOptions opts)
Assigns runtime options to the specified main options.
|
Modifier and Type | Method and Description |
---|---|
DBNode |
DBNode.dbCopy(MainOptions opts) |
DBNode |
ANode.dbCopy(MainOptions opts)
Returns a database node representation of the node.
|
ANode |
FNode.deepCopy(MainOptions options) |
DBNode |
DBNode.deepCopy(MainOptions options) |
abstract ANode |
ANode.deepCopy(MainOptions opts)
Returns a deep copy of the node.
|
Modifier and Type | Method and Description |
---|---|
static Language |
Language.get(MainOptions opts)
Returns an instance for the current language option, or English as default language.
|
Constructor and Description |
---|
StopWords(Data data,
MainOptions options)
Constructor, reading stopword list from disk.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.