|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.data.MetaData
public final class MetaData
This class provides meta information on a database.
| Field Summary | |
|---|---|
boolean |
atvindex
Flag for creating a attribute value index. |
java.lang.String |
backing
DeepFS backing path. |
boolean |
chop
Flag for whitespace chopping. |
boolean |
dirty
Dirty flag. |
java.lang.String |
encoding
Encoding of XML document. |
boolean |
entity
Flag for entity parsing. |
IO |
file
Original filename of XML document. |
long |
filesize
Original file size of XML document. |
boolean |
ftcs
Flag for full-text case sensitivity. |
boolean |
ftdc
Flag for full-text diacritics removal. |
boolean |
ftfz
Flag for fuzzy indexing. |
boolean |
ftst
Flag for full-text stemming. |
boolean |
ftxindex
Flag for creating a full-text index. |
int |
height
Maximum document height. |
int |
lastid
Last (highest) id assigned to a node. |
java.lang.String |
mount
DeepFS mount point. |
java.lang.String |
name
Database name. |
int |
ndocs
Number of XML documents. |
boolean |
oldindex
Flag for out-of-dates indexes. |
boolean |
pathindex
Flag for creating a path summary. |
Prop |
prop
Properties. |
int |
size
Table size. |
long |
time
Modification time. |
boolean |
txtindex
Flag for creating a text index. |
boolean |
uptodate
Flag for removed index structures. |
| Constructor Summary | |
|---|---|
MetaData(java.lang.String db,
DataInput in,
Prop pr)
Constructor, specifying the database name and the input reference. |
|
MetaData(java.lang.String db,
Prop pr)
Constructor, specifying the database name. |
|
| Method Summary | |
|---|---|
static boolean |
found(java.lang.String path,
java.lang.String db,
Prop pr)
Checks if the specified file path refers to the specified database. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Prop prop
public java.lang.String name
public java.lang.String mount
public java.lang.String backing
public java.lang.String encoding
public IO file
public long filesize
public int ndocs
public int height
public long time
public boolean chop
public boolean entity
public boolean txtindex
public boolean atvindex
public boolean ftxindex
public boolean pathindex
public boolean ftfz
public boolean ftst
public boolean ftcs
public boolean ftdc
public boolean uptodate
public boolean dirty
public boolean oldindex
public int size
public int lastid
| Constructor Detail |
|---|
public MetaData(java.lang.String db,
Prop pr)
db - database namepr - database properties
public MetaData(java.lang.String db,
DataInput in,
Prop pr)
throws java.io.IOException
db - database namein - input streampr - database properties
java.io.IOException - I/O exception| Method Detail |
|---|
public static boolean found(java.lang.String path,
java.lang.String db,
Prop pr)
path - file pathdb - database namepr - database properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||