Overview | Package | Class | Use | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.basex.data.Data

Packages that use Data
org.basex.build | Contains classes for creating new database instances.
org.basex.core | This package contains the core classes.
org.basex.core.proc | This package contains the command implementations.
org.basex.data | Contains `BaseX` data types, including the internal table representation in the `Data` class.
org.basex.index | Contains database index implementations.
org.basex.query.fs | Provides file system specific query classes.
org.basex.query.xpath.locpath | Contains classes for the evaluation of XPath 1.0 location steps.
org.basex.query.xpath.values | Contains containers for XPath 1.0 data types.
org.basex.query.xquery | Includes an implementation of XQuery 1.0.
org.basex.query.xquery.item | Contains XQuery 1.0 data types.

Uses of Data in org.basex.build

Methods in org.basex.build that return Data
`Data` | `Builder.build(Parser p, java.lang.String db)` Builds the database by running the specified parser.

Uses of Data in org.basex.core

Methods in org.basex.core that return Data
`Data` | `Context.data()` Returns data reference.

Methods in org.basex.core with parameters of type Data
`void` | `Context.data(Data d)` Sets a new data instance.

Uses of Data in org.basex.core.proc

Methods in org.basex.core.proc that return Data
`static Data` | `Check.check(java.lang.String path)` Static command for getting a database reference.
`static Data` | `Insert.copy(Data data, int pre)` Creates a memory data instance from the specified database and pre value.
`static Data` | `Open.open(java.lang.String db)` Static method for opening a database.
`static Data` | `Create.xml(java.lang.String db, java.lang.String fn)` Creates and returns a database for the specified XML document.

Methods in org.basex.core.proc with parameters of type Data
`double` | `XPathMV.attNum(Data data, int att, int pre)` Finds the specified attribute for the specified element and returns the numeric attribute value.
`static int` | `Insert.checkText(Data data, int pre, int par, int kind)` Checks if the current insertion would create two adjacent text nodes.
`static boolean` | `Close.close(Data data)` Closes the specified database.
`static Data` | `Insert.copy(Data data, int pre)` Creates a memory data instance from the specified database and pre value.
`static java.lang.String` | `Find.findTable(java.lang.String[] filter, TokenList cols, byte[] tag, Data data)` Creates an XPath representation for the specified table query.
`static int` | `Insert.pre(int par, int pos, Data data)` Retrieves the pre value for the specified child position.

Uses of Data in org.basex.data

Subclasses of Data in org.basex.data
`class` | `DiskData` This class stores and organizes the node table and the index structures for textual content.
`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
`static byte[]` | `Serialize.content(Data data, int p, boolean s)` Convenience method, returning a string representation of the current node.
`void` | `MemData.insert(int pre, int par, Data d)`
`void` | `DiskData.insert(int pre, int par, Data td)`
`abstract void` | `Data.insert(int pre, int par, Data d)` Insert a data instance at the specified pre value.
`static java.lang.String` | `Serialize.node(Data data, int p)` Convenience method, returning a string representation of the current node.
`static void` | `Serialize.table(PrintOutput out, Data data, int s, int e)` Writes the database as table.
`static void` | `Serialize.table(PrintOutput out, Data data, Nodes nodes)` Writes the database as table.
`static int` | `Serialize.xml(PrintOutput out, Data data, int pos)` Writes the specified XML node and all its sub nodes to the specified output stream.
`static int` | `Serialize.xml(PrintOutput out, Data data, int pre, boolean val, boolean ent)` Prints the specified node to the output stream.
`static void` | `Serialize.xml(PrintOutput out, Data data, Nodes nodes, boolean valid)` Prints the specified node set to the output stream.
`static void` | `Serialize.xml(ResultReader rr, Data data, int pos)` Writes the specified XML node and all its sub nodes to the specified output stream.
`static void` | `Serialize.xml(ResultReader rr, Data data, Nodes nodes)` Prints the specified node set to the output stream.

Constructors in org.basex.data with parameters of type Data
`Nodes(Data d)` Node Set constructor.
`Nodes(int[] n, Data d)` Node Set constructor.
`Nodes(int n, Data d)` Node Set constructor.

Uses of Data in org.basex.index

Methods in org.basex.index with parameters of type Data
`Words` | `WordBuilder.build(Data data)` Builds the index structure and returns an index instance.
`Values` | `ValueBuilder.build(Data data)` Builds the index structure and returns an index instance.
`Index` | `IndexBuilder.build(Data data)` Builds the index structure and returns an index instance.
`WordsCTA` | `FTBuilder.build(Data data)` Builds the index structure and returns an index instance.

Constructors in org.basex.index with parameters of type Data
`Values(Data d, java.lang.String db, boolean txt)` Constructor, initializing the index structure.

Uses of Data in org.basex.query.fs

Methods in org.basex.query.fs with parameters of type Data
`static byte[]` | `FSUtils.getName(Data data, int pre)` Returns the name of a file, hidden inside a context set.
`static java.lang.String` | `FSUtils.getPath(Data data, int pre)` Returns the path of a file.
`static int` | `FSUtils.getSize(Data data, int pre)` Returns the size of a file, hidden inside a context set.
`static byte[]` | `FSUtils.getSuffix(Data data, int pre)` Returns the name of a file, hidden inside a context set.
`static boolean` | `FSUtils.isDir(Data data, int pre)` Checks if the specified node is a file.
`static boolean` | `FSUtils.isFile(Data data, int pre)` Checks if the specified node is a file.

Constructors in org.basex.query.fs with parameters of type Data
`FSQuery(Data d)` Simplified Constructor.

Uses of Data in org.basex.query.xpath.locpath

Methods in org.basex.query.xpath.locpath with parameters of type Data
`void` | `TestName.compile(Data data)`
`void` | `Test.compile(Data data)` Optimizes the expression.
`boolean` | `TestPI.eval(Data data, int pre, int kind)`
`boolean` | `TestName.eval(Data data, int pre, int kind)`
`abstract boolean` | `Test.eval(Data data, int pre, int kind)` Evaluates a node test.
`void` | `Test.eval(Data data, int pre, int kind, NodeBuilder result)` Evaluates a node test.

Uses of Data in org.basex.query.xpath.values

Fields in org.basex.query.xpath.values declared as Data
`Data` | `NodeSet.data` Data reference..

Constructors in org.basex.query.xpath.values with parameters of type Data
`NodeSet(Data d)` Constructor, creating a new node set from the specified node ids.
`NodeSet(int[] ids, Data d)` Constructor, creating a new node set from the specified node ids.

Uses of Data in org.basex.query.xquery

Methods in org.basex.query.xquery with parameters of type Data
`Nodes` | `XQResult.nodes(Data data)` Converts nodes of a XQuery result into a BaseX nodeset.

Uses of Data in org.basex.query.xquery.item

Fields in org.basex.query.xquery.item declared as Data
`Data` | `DNode.data` Data reference.

Constructors in org.basex.query.xquery.item with parameters of type Data
`DNode(Data d, int p, Node r, Type t)` Constructor.

Overview | Package | Class | Use | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES