Uses of Class
org.basex.data.Data

Packages that use Data
org.basex.build Classes for creating new database instances. 
org.basex.core Database core classes. 
org.basex.core.cmd Database commands. 
org.basex.data Database structures. 
org.basex.data.atomic   
org.basex.gui.layout Project specific GUI components. 
org.basex.gui.view Visualizations and View Observer framework. 
org.basex.index Database Index structures. 
org.basex.index.ft   
org.basex.index.path   
org.basex.index.resource   
org.basex.index.value   
org.basex.query XQuery implementation. 
org.basex.query.expr XQuery expressions. 
org.basex.query.func XQuery functions. 
org.basex.query.up   
org.basex.query.up.primitives   
org.basex.query.util XQuery utility classes. 
org.basex.query.value XQuery data types. 
org.basex.query.value.node   
org.basex.query.value.seq   
org.basex.util.ft Full-text specific utility classes. 
 

Uses of Data in org.basex.build
 

Methods in org.basex.build that return Data
 Data EmptyBuilder.build()
           
abstract  Data Builder.build()
          Builds the database.
 Data MemBuilder.data()
          Returns the data reference.
 

Uses of Data in org.basex.core
 

Methods in org.basex.core that return Data
 Data Context.data()
          Returns the current data reference.
 Data Datas.pin(java.lang.String db)
          Pins and returns an existing data reference for the specified database, or returns null.
 

Methods in org.basex.core with parameters of type Data
 void Datas.add(Data d)
          Adds an already pinned data reference to the pool.
 void Context.openDB(Data d)
          Sets the specified data instance as current database.
 void Datas.pin(Data data)
          Pins a data reference.
 boolean Datas.unpin(Data data)
          Unpins a data reference.
 

Uses of Data in org.basex.core.cmd
 

Methods in org.basex.core.cmd that return Data
static Data CreateDB.create(IO source, boolean single, Context ctx)
          Creates a new database if a valid path was specified.
static Data CreateDB.create(java.lang.String name, Parser parser, Context ctx)
          Returns a database instance from the specified parser.
static Data Open.open(java.lang.String name, Context ctx)
          Opens the specified database.
 

Methods in org.basex.core.cmd with parameters of type Data
static void Close.close(Data data, Context ctx)
          Closes the specified database.
protected static void ACreate.create(IndexType index, Data data, ACreate cmd)
          Builds the specified index.
static void Delete.delete(Data data, java.lang.String res)
          Deletes the specified resources.
protected static boolean ACreate.drop(IndexType index, Data data)
          Drops the specified index.
static void Export.export(Data data, java.lang.String path, SerializerProp sp, Export e)
          Exports the current database to the specified path.
static java.lang.String Inspect.inspect(Data data)
          Inspects the database structures.
static void Optimize.optimize(Data data, boolean rebuild, Optimize cmd)
          Optimizes the structures of a database.
static void OptimizeAll.optimizeAll(Data data, Context ctx, OptimizeAll cmd)
          Optimizes all data structures and closes the database.
static byte[] InfoStorage.table(Data data, int s, int e)
          Prints the specified range of the table.
static java.lang.String Rename.target(Data data, int pre, java.lang.String src, java.lang.String trg)
          Generates a target path for the specified document.
 

Uses of Data in org.basex.data
 

Subclasses of Data in org.basex.data
 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.
 

Fields in org.basex.data declared as Data
 Data Nodes.data
          Root node.
 

Methods in org.basex.data with parameters of type Data
 void FTPosData.add(Data d, 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 d, int p)
          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.
 

Constructors in org.basex.data with parameters of type Data
MemData(Data data)
          Light-weight constructor, adopting data structures from the specified database.
Nodes(Data d)
          Constructor, specifying a database instance.
Nodes(int[] n, Data d)
          Constructor, specifying a node set and a database instance.
Nodes(int[] n, Data d, FTPosData ft)
          Constructor, specifying a node set, a database instance, and full-text positions.
Nodes(int n, Data d)
          Constructor, specifying a single node and a database instance.
 

Uses of Data in org.basex.data.atomic
 

Fields in org.basex.data.atomic declared as Data
 Data AtomicUpdateList.data
          Target data reference.
 Data DataClip.data
          Data reference.
 

Constructors in org.basex.data.atomic with parameters of type Data
AtomicUpdateList(Data d)
          Constructor.
DataClip(Data d)
          Constructor.
DataClip(Data d, int s, int e)
          Constructor.
 

Uses of Data in org.basex.gui.layout
 

Constructors in org.basex.gui.layout with parameters of type Data
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.
 

Uses of Data in org.basex.gui.view
 

Methods in org.basex.gui.view with parameters of type Data
static byte[] ViewData.content(Data data, int p, boolean s)
          Returns the contents of the specified node.
static boolean ViewData.leaf(GUIProp prop, Data d, int pre)
          Checks if the specified node is a leaf node (text node or file element or file tag).
static byte[] ViewData.name(GUIProp prop, Data data, int pre)
          Returns the tag name of the specified node.
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.
 

Uses of Data in org.basex.index
 

Fields in org.basex.index declared as Data
protected  Data IndexBuilder.data
          Data reference.
 

Constructors in org.basex.index with parameters of type Data
IndexBuilder(Data d, int max)
          Constructor.
 

Uses of Data in org.basex.index.ft
 

Constructors in org.basex.index.ft with parameters of type Data
FTBuilder(Data d)
          Constructor.
FTIndex(Data d)
          Constructor, initializing the index structure.
 

Uses of Data in org.basex.index.path
 

Methods in org.basex.index.path with parameters of type Data
 void PathSummary.data(Data d)
          Sets the data reference.
 byte[] PathNode.token(Data data)
          Returns a readable representation of this node.
 

Constructors in org.basex.index.path with parameters of type Data
PathSummary(Data d)
          Constructor, specifying a data reference.
PathSummary(Data d, DataInput in)
          Constructor, specifying an input file.
 

Uses of Data in org.basex.index.resource
 

Constructors in org.basex.index.resource with parameters of type Data
Resources(Data d)
          Constructor.
 

Uses of Data in org.basex.index.value
 

Fields in org.basex.index.value declared as Data
protected  Data DiskValues.data
          Data reference.
 

Constructors in org.basex.index.value with parameters of type Data
DiskValues(Data d, boolean txt)
          Constructor, initializing the index structure.
DiskValues(Data d, boolean txt, java.lang.String pref)
          Constructor, initializing the index structure.
MemValues(Data d)
          Constructor.
UpdatableDiskValues(Data d, boolean txt)
          Constructor, initializing the index structure.
ValueIndexBuilder(Data d, boolean txt)
          Constructor.
 

Uses of Data in org.basex.query
 

Methods in org.basex.query that return Data
 Data QueryContext.data()
          Returns the current data reference of the context value, or null.
 Data QueryResources.data(java.lang.String name, InputInfo info)
          Opens a new database or returns a reference to an already opened database.
 

Methods in org.basex.query with parameters of type Data
 void QueryResources.addData(Data d)
          Adds a data reference.
 

Constructors in org.basex.query with parameters of type Data
QuerySuggest(java.lang.String q, QueryContext c, Data d)
          Constructor.
 

Uses of Data in org.basex.query.expr
 

Methods in org.basex.query.expr that return Data
 Data ParseExpr.checkWrite(Data data, QueryContext ctx)
          Checks if the current user has write permissions for the specified database.
 

Methods in org.basex.query.expr with parameters of type Data
 Data ParseExpr.checkWrite(Data data, QueryContext ctx)
          Checks if the current user has write permissions for the specified database.
 

Uses of Data in org.basex.query.func
 

Methods in org.basex.query.func that return Data
protected  Data StandardFunc.checkData(QueryContext ctx)
          Returns a data instance for the first string argument of the function.
 

Uses of Data in org.basex.query.up
 

Methods in org.basex.query.up with parameters of type Data
 void TransformModifier.addData(Data d)
          Adds a data reference to list which keeps track of the nodes copied within a transform expression.
 

Uses of Data in org.basex.query.up.primitives
 

Fields in org.basex.query.up.primitives declared as Data
 Data Operation.data
          Target data reference.
protected  Data DBNew.md
          Insertion sequence.
 

Methods in org.basex.query.up.primitives that return Data
abstract  Data Operation.getData()
          Returns the target data reference.
 Data UpdatePrimitive.getData()
           
 Data BasicOperation.getData()
           
 

Constructors in org.basex.query.up.primitives with parameters of type Data
BasicOperation(BasicOperation.TYPE t, Data d, InputInfo ii)
          Constructor.
DBAdd(Data d, NewInput it, QueryContext c, InputInfo ii)
          Constructor.
DBDelete(Data d, java.lang.String p, InputInfo ii)
          Constructor.
DBDrop(Data d, InputInfo ii, QueryContext c)
          Constructor.
DBFlush(Data d, InputInfo ii)
          Constructor.
DBNew(BasicOperation.TYPE t, Data d, QueryContext c, InputInfo ii)
          Constructor.
DBOptimize(Data dt, QueryContext ctx, boolean al, TokenMap map, InputInfo ii)
          Constructor.
DBRename(Data d, java.lang.String src, java.lang.String trg, InputInfo ii)
          Constructor.
DBStore(Data d, java.lang.String path, java.lang.Object it, InputInfo ii)
          Constructor.
DeleteNode(int p, Data d, InputInfo i)
          Constructor.
DeleteNode(int p, Data d, InputInfo i, boolean r)
          Constructor for a delete primitive that is a product of a replaceElementContent substitution.
InsertAfter(int p, Data d, InputInfo i, ANodeList c)
          Constructor.
InsertAttribute(int p, Data d, InputInfo i, ANodeList c)
          Constructor.
InsertBefore(int p, Data d, InputInfo i, ANodeList c)
          Constructor.
InsertInto(int p, Data d, InputInfo i, ANodeList n)
          Constructor for an insertInto.
InsertIntoAsFirst(int p, Data d, InputInfo i, ANodeList c)
          Constructor.
InsertIntoAsLast(int p, Data d, InputInfo i, ANodeList n)
          Constructor for an insertInto which is part of a replaceElementContent substitution.
Operation(Data d, InputInfo ii)
          Constructor.
Put(InputInfo i, int id, Data d, java.lang.String u)
          Constructor.
RenameNode(int p, Data d, InputInfo i, QNm nm)
          Constructor.
ReplaceContent(int p, Data d, InputInfo i, ANodeList n)
          Constructor.
ReplaceNode(int p, Data d, InputInfo i, ANodeList c)
          Constructor.
ReplaceValue(int p, Data d, InputInfo i, byte[] v)
          Constructor.
 

Uses of Data in org.basex.query.util
 

Fields in org.basex.query.util declared as Data
 Data IndexContext.data
          Data reference.
 

Constructors in org.basex.query.util with parameters of type Data
IndexContext(Data d, boolean i)
          Constructor.
 

Uses of Data in org.basex.query.value
 

Methods in org.basex.query.value that return Data
 Data Value.data()
          Returns the data reference (if) attached to this value.
 

Uses of Data in org.basex.query.value.node
 

Fields in org.basex.query.value.node declared as Data
 Data DBNode.data
          Data reference.
 

Methods in org.basex.query.value.node that return Data
 Data DBNode.data()
           
 

Constructors in org.basex.query.value.node with parameters of type Data
DBNode(Data d)
          Constructor, creating a document node from the specified data reference.
DBNode(Data d, int p)
          Constructor, creating a node from the specified data reference.
DBNode(Data d, int p, int k)
          Constructor, specifying full node information.
FTNode(FTMatches a, Data d, int p, int tol, int tis, double s)
          Constructor, called by the index variant.
FTPosNode(Data d, int p, FTPosData ftpos)
          Constructor, called by the sequential variant.
 

Uses of Data in org.basex.query.value.seq
 

Methods in org.basex.query.value.seq that return Data
 Data DBNodeSeq.data()
           
 

Methods in org.basex.query.value.seq with parameters of type Data
static Value DBNodeSeq.get(int[] v, Data d, Type t, boolean c)
          Creates a node sequence with the given data reference and pre values.
static Value DBNodeSeq.get(IntList v, Data d, boolean docs, boolean c)
          Creates a node sequence with the given data reference and pre values.
 

Uses of Data in org.basex.util.ft
 

Methods in org.basex.util.ft with parameters of type Data
 void StopWords.comp(Data data)
          Compiles the stop word list.
 

Constructors in org.basex.util.ft with parameters of type Data
StopWords(Data data, java.lang.String file)
          Constructor, reading stopword list from disk.