Modifier and Type | Method and Description |
---|---|
abstract Data |
Builder.build()
Builds the database.
|
Data |
MemBuilder.data()
Returns the data reference.
|
Modifier and Type | Method and Description |
---|---|
Data |
Context.data()
Returns the current data reference.
|
Data |
Datas.pin(String db)
Pins and returns an existing data reference for the specified database, or
returns
null . |
Modifier and Type | Method and Description |
---|---|
void |
Datas.add(Data data)
Adds an already pinned data reference to the pool.
|
protected boolean |
Command.finishUpdate(Data data)
Finalizes an update operation.
|
void |
Context.openDB(Data dt)
Sets the specified data instance as current database.
|
void |
Datas.pin(Data data)
Pins a data reference.
|
protected boolean |
Command.startUpdate(Data data)
Starts an update operation.
|
boolean |
Datas.unpin(Data data)
Unpins a data reference.
|
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 Data |
Open.open(String name,
Context context,
MainOptions options)
Opens the specified database.
|
Modifier and Type | Method and Description |
---|---|
static void |
Close.close(Data data,
Context ctx)
Closes the specified database.
|
static void |
Delete.delete(Data data,
String res)
Deletes the specified resources.
|
static void |
Export.export(Data data,
String path,
MainOptions options,
Export export)
Exports the current database to the specified path.
|
static void |
Export.export(Data data,
String path,
SerializerOptions sopts,
Export export)
Exports the current database to the specified path.
|
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.
|
static byte[] |
InfoStorage.table(Data data,
int start,
int end)
Prints the specified range of the table.
|
static String |
Rename.target(Data data,
int pre,
String src,
String trg)
Generates a target path for the specified document.
|
Modifier and Type | Class and Description |
---|---|
class |
DiskData
This class stores and organizes the database table and the index structures
for textual content in a compressed disk structure.
|
class |
MemData
This class stores and organizes the database table and the index structures
for textual content in a compressed memory structure.
|
Modifier and Type | Field and Description |
---|---|
Data |
DBNodes.data
Root node.
|
Modifier and Type | Method and Description |
---|---|
void |
FTPosData.add(Data data,
int pre,
FTMatches all)
Adds position data.
|
int |
Namespaces.add(int pre,
int par,
byte[] pref,
byte[] uri,
Data data)
Adds a namespace for the specified pre value.
|
FTPos |
FTPosData.get(Data data,
int pre)
Gets full-text data from the container.
|
int |
Namespaces.uri(byte[] name,
int pre,
Data data)
Returns the namespace URI reference for the specified name and pre value,
or
0 if namespace cannot be found. |
Constructor and Description |
---|
DBNodes(Data data,
FTPosData ftpos,
int... pres)
Constructor, specifying a database, pre values and full-text positions.
|
DBNodes(Data data,
int... pres)
Constructor, specifying a database and pre values.
|
MemData(Data data,
MainOptions options)
Light-weight constructor, adopting data structures from the specified database.
|
Modifier and Type | Field and Description |
---|---|
Data |
DataClip.data
Data reference.
|
Data |
AtomicUpdateCache.data
Target data reference.
|
Modifier and Type | Method and Description |
---|---|
BasicUpdate |
BasicUpdate.merge(Data data,
BasicUpdate bu)
Merges the given update and this update if possible.
|
Constructor and Description |
---|
AtomicUpdateCache(Data data)
Constructor.
|
DataClip(Data data)
Constructor.
|
DataClip(Data data,
int start,
int end)
Constructor.
|
Constructor and Description |
---|
TreeFolder(byte[] nm,
byte[] pth,
BaseXTree t,
Data d)
Constructor.
|
TreeLeaf(byte[] nm,
byte[] pth,
boolean rw,
boolean ab,
BaseXTree bxt,
Data d)
Constructor.
|
TreeRootFolder(byte[] nm,
byte[] pth,
BaseXTree bxt,
Data d)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
ViewData.content(Data data,
int p,
boolean s)
Returns the contents of the specified node.
|
static boolean |
ViewData.leaf(GUIOptions opts,
Data d,
int pre)
Checks if the specified node is a text node.
|
static byte[] |
ViewData.name(GUIOptions opts,
Data data,
int pre)
Returns the name of the specified element.
|
static int |
ViewData.nameID(Data data)
Returns the name id of the specified node.
|
static int |
ViewData.parent(Data data,
int pre)
Returns the parent for the specified node.
|
static byte[] |
ViewData.path(Data data,
int pre)
Returns path for the specified pre value.
|
static int |
ViewData.size(Data data,
int pre)
Returns the size for the specified node.
|
static int |
ViewData.sizeID(Data data)
Returns the size id of the specified node.
|
Modifier and Type | Field and Description |
---|---|
protected Data |
IndexBuilder.data
Data reference.
|
Constructor and Description |
---|
IndexBuilder(Data data,
int max)
Constructor.
|
Constructor and Description |
---|
FTBuilder(Data data,
MainOptions options)
Constructor.
|
FTIndex(Data d)
Constructor, initializing the index structure.
|
Modifier and Type | Method and Description |
---|---|
void |
PathSummary.data(Data dt)
Sets the data reference.
|
byte[] |
PathNode.token(Data data)
Returns a readable representation of this node.
|
Constructor and Description |
---|
PathSummary(Data data)
Constructor, specifying a data reference.
|
PathSummary(Data data,
DataInput in)
Constructor, specifying an input file.
|
Constructor and Description |
---|
Resources(Data d)
Constructor.
|
Constructor and Description |
---|
DiskValues(Data data,
boolean text)
Constructor, initializing the index structure.
|
DiskValuesBuilder(Data data,
MainOptions options,
boolean text)
Constructor.
|
MemValues(Data data,
boolean updindex)
Constructor.
|
UpdatableDiskValues(Data data,
boolean text)
Constructor, initializing the index structure.
|
Modifier and Type | Method and Description |
---|---|
Data |
QueryContext.data()
Returns the current data reference of the context value or
null . |
Data |
QueryResources.database(String name,
InputInfo info)
Opens a new database or returns a reference to an already opened database.
|
Constructor and Description |
---|
QuerySuggest(String query,
QueryContext qc,
Data data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Data |
Expr.data()
Returns the data reference bound to this expression.
|
Constructor and Description |
---|
FTWords(InputInfo info,
Data data,
Value query,
FTMode mode)
Constructor for index-based evaluation.
|
Modifier and Type | Method and Description |
---|---|
Data |
Path.data() |
Modifier and Type | Method and Description |
---|---|
protected Data |
StandardFunc.checkData(QueryContext qc)
Returns a database instance for the first string argument of the function.
|
Modifier and Type | Method and Description |
---|---|
static Iter |
IndexFn.entries(Data data,
IndexEntries entries,
StandardFunc call)
Returns all entries of the specified value index.
|
Modifier and Type | Method and Description |
---|---|
HashSet<Data> |
Updates.prepare(QueryContext qc)
Prepares update operations.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformModifier.addData(Data d)
Adds a data reference to list which keeps track of the nodes copied
within a transform expression.
|
Modifier and Type | Field and Description |
---|---|
Data |
DBNew.data
Insertion sequence.
|
protected Data |
DataUpdate.data
Target data reference.
|
Modifier and Type | Method and Description |
---|---|
Data |
DataUpdate.data()
Returns the target data reference.
|
Constructor and Description |
---|
DataUpdate(UpdateType type,
Data data,
InputInfo info)
Constructor.
|
Constructor and Description |
---|
DBAdd(Data data,
NewInput input,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
DBDelete(Data data,
String path,
InputInfo info)
Constructor.
|
DBFlush(Data data,
InputInfo info,
QueryContext qc)
Constructor.
|
DBOptimize(Data data,
boolean all,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
DBRename(Data data,
String src,
String trg,
InputInfo info)
Constructor.
|
DBStore(Data data,
String path,
Item it,
InputInfo inf)
Constructor.
|
Put(int id,
Data data,
String path,
InputInfo info)
Constructor.
|
Constructor and Description |
---|
DeleteNode(int pre,
Data data,
InputInfo ii)
Constructor.
|
InsertAfter(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor.
|
InsertAttribute(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor.
|
InsertBefore(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor.
|
InsertInto(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor for an insertInto.
|
InsertIntoAsFirst(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor.
|
InsertIntoAsLast(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor for an insertInto which is part of a replaceElementContent substitution.
|
RenameNode(int pre,
Data data,
InputInfo ii,
QNm name)
Constructor.
|
ReplaceDoc(int pre,
Data data,
NewInput input,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
ReplaceNode(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor.
|
ReplaceValue(int pre,
Data data,
InputInfo ii,
byte[] value)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
Data |
IndexContext.data
Data reference.
|
Constructor and Description |
---|
IndexContext(Data data,
boolean iterable)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
Data |
DBNode.data
Data reference.
|
Modifier and Type | Method and Description |
---|---|
Data |
DBNode.data() |
Constructor and Description |
---|
DBNode(Data data)
Constructor, creating a document node from the specified data reference.
|
DBNode(Data data,
int pre)
Constructor, creating a node from the specified data reference.
|
DBNode(Data data,
int pre,
int kind)
Constructor, specifying full node information.
|
FTNode(FTMatches all,
Data d,
int p,
int tl,
int is,
double score)
Constructor, called by the index variant.
|
FTPosNode(Data data,
int pre,
FTPosData ftpos)
Constructor, called by the sequential variant.
|
Modifier and Type | Method and Description |
---|---|
Data |
DBNodeSeq.data() |
Modifier and Type | Method and Description |
---|---|
static Value |
DBNodeSeq.get(IntList pres,
Data data,
boolean docs,
boolean all)
Creates a node sequence with the given data reference and pre values.
|
Modifier and Type | Field and Description |
---|---|
Data |
Var.data
Data reference.
|
Modifier and Type | Method and Description |
---|---|
Data |
VarRef.data() |
Modifier and Type | Method and Description |
---|---|
void |
StopWords.comp(Data data)
Compiles the stop word list.
|
Constructor and Description |
---|
StopWords(Data data,
MainOptions options)
Constructor, reading stopword list from disk.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.