|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 classes for handling the XML table and textual data. |
| org.basex.fuse | Implements the database as filesystem in userspace. |
| org.basex.gui.view | Contains the views and the observer framework. |
| org.basex.index | Contains database index implementations. |
| org.basex.query | Provides classes for querying the data. |
| org.basex.query.ft | Contains XQuery Full-Text 1.0 expressions. |
| org.basex.query.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()
Builds the database by running the specified parser. |
Data |
Builder.build(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. |
Data |
DataPool.pin(java.lang.String db)
Returns an existing data reference for the specified database, or null. |
Data |
Context.pin(java.lang.String name)
Pins the pool. |
| Methods in org.basex.core with parameters of type Data | |
|---|---|
void |
DataPool.add(Data d)
Adds a data reference to the pool. |
void |
Context.addToPool(Data d)
Adds the specified data reference to the pool. |
void |
Context.data(Data d)
Sets the data reference. |
void |
Context.openDB(Data d)
Sets the specified data instance as current database. |
boolean |
DataPool.unpin(Data d)
Unpins a data reference. |
boolean |
Context.unpin(Data d)
Unpins a data reference. |
| Uses of Data in org.basex.core.proc |
|---|
| Methods in org.basex.core.proc that return Data | |
|---|---|
static Data |
Open.check(Context ctx,
java.lang.String path)
Opens the specified database; if it does not exist, create a new database instance. |
static Data |
Copy.copy(Data data,
int pre)
Creates a memory data instance from the specified database and pre value. |
static Data |
Open.open(Context ctx,
java.lang.String db)
Opens the specified database. |
static Data |
CreateDB.xml(Context ctx,
IO io,
java.lang.String name)
Creates and returns a database for the specified XML document. |
static Data |
CreateDB.xml(Context ctx,
Parser p,
java.lang.String db)
Creates and returns a database instance from the specified parser. |
static Data |
CreateDB.xml(IO io,
Prop pr)
Creates and returns a main memory database from the specified input reference. |
static Data |
CreateDB.xml(Parser p)
Creates and returns a main memory database for the specified parser. |
static Data |
CreateDB.xml(javax.xml.transform.sax.SAXSource s,
Prop pr)
Creates and returns a main memory database from the specified SAX source. |
| Methods in org.basex.core.proc with parameters of type Data | |
|---|---|
static void |
Close.close(Context ctx,
Data data)
Closes the specified database. |
static Data |
Copy.copy(Data data,
int pre)
Creates a memory data instance from the specified database and pre value. |
static boolean |
CreateIndex.summary(Data data)
Creates a new path summary. |
| 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. |
class |
NativeData
This class stores and organizes the database table and the index structures for textual content in a compressed memory structure and redundantly passes the data on to a native application. |
| Fields in org.basex.data declared as Data | |
|---|---|
Data |
Nodes.data
Root Node. |
| Methods in org.basex.data with parameters of type Data | |
|---|---|
TokenList |
PathSummary.desc(byte[] k,
Data data,
boolean d,
boolean o)
Returns descendant tags and attributes for the specified start key. |
TokenList |
PathSummary.desc(TokenList tl,
Data data,
boolean d,
boolean o)
Returns descendant tags and attributes for the specified descendant path. |
byte[] |
PathSummary.info(Data data)
Returns information on the path summary. |
void |
MemData.insert(int pre,
int par,
Data d)
|
void |
DiskData.insert(int pre,
int par,
Data dt)
|
abstract void |
Data.insert(int pre,
int par,
Data d)
Inserts a data instance at the specified pre value. |
int |
Serializer.node(Data data,
int pre)
Serializes a node of the specified data reference. |
int |
Serializer.node(Data data,
int pre,
FTPosData ft)
Serializes a node of the specified data reference. |
void |
PathSummary.plan(Data data,
Serializer ser)
Serializes the path node. |
void |
PathNode.plan(Data data,
Serializer ser)
Serializes the path node. |
byte[] |
PathNode.token(Data data)
Returns a readable representation of this node. |
| Constructors in org.basex.data with parameters of type Data | |
|---|---|
Nodes(Data d)
Node Set constructor. |
|
Nodes(Data d,
FTPosData ft)
Node Set constructor. |
|
Nodes(int[] n,
Data d)
Node Set constructor. |
|
Nodes(int[] n,
Data d,
boolean r)
Node Set constructor. |
|
Nodes(int n,
Data d)
Node Set constructor. |
|
| Uses of Data in org.basex.fuse |
|---|
| Fields in org.basex.fuse declared as Data | |
|---|---|
Data |
DeepFS.data
Data reference. |
| Constructors in org.basex.fuse with parameters of type Data | |
|---|---|
DeepFS(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.isLeaf(GUIProp prop,
Data d,
int pre)
Checks if the specified node is a leaf node (text node or file element or file tag). |
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 byte[] |
ViewData.tag(GUIProp prop,
Data data,
int pre)
Returns the tag name of the specified node. |
| Uses of Data in org.basex.index |
|---|
| Constructors in org.basex.index with parameters of type Data | |
|---|---|
FTFuzzy(Data d)
Constructor, initializing the index structure. |
|
FTFuzzyBuilder(Data d,
Prop pr)
Constructor. |
|
FTTrie(Data d)
Constructor, initializing the index structure. |
|
FTTrieBuilder(Data d,
Prop pr)
Constructor. |
|
IndexBuilder(Data d)
Constructor. |
|
ValueBuilder(Data d,
boolean txt)
Constructor. |
|
Values(Data d,
boolean txt)
Constructor, initializing the index structure. |
|
| Uses of Data in org.basex.query |
|---|
| Fields in org.basex.query declared as Data | |
|---|---|
Data |
IndexContext.data
Data reference. |
| Methods in org.basex.query that return Data | |
|---|---|
Data |
QueryContext.data()
Returns the common database reference of all items or null. |
| Constructors in org.basex.query with parameters of type Data | |
|---|---|
IndexContext(QueryContext c,
Data d,
Step s,
boolean l)
Constructor. |
|
| Uses of Data in org.basex.query.ft |
|---|
| Constructors in org.basex.query.ft with parameters of type Data | |
|---|---|
FTWords(Data d,
byte[] t,
boolean f)
Index constructor. |
|
| Uses of Data in org.basex.query.item |
|---|
| Fields in org.basex.query.item declared as Data | |
|---|---|
Data |
DBNode.data
Data reference. |
| Constructors in org.basex.query.item with parameters of type Data | |
|---|---|
DBNode(Data d,
int p)
Constructor. |
|
DBNode(Data d,
int p,
int k)
Constructor. |
|
DBNode(Data d,
int p,
Nod r,
Type t)
Constructor. |
|
FTItem(FTMatches a,
Data d,
int p)
Constructor, called by the index variant. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||