|
||||||||||
| 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 |
backingpath
DeepFS backing path. |
boolean |
chop
Flag for whitespace chopping. |
java.lang.String |
dbname
Database name. |
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 fulltext case sensitivity. |
boolean |
ftdc
Flag for fulltext diacritics removal. |
boolean |
ftfz
Flag for fuzzy indexing. |
boolean |
ftittr
Flag for iterator optimized storage within ftindex. |
boolean |
ftst
Flag for fulltext stemming. |
boolean |
ftxindex
Flag for creating a fulltext index. |
int |
height
Maximum document height. |
int |
lastid
Last (highest) id assigned to a node. |
java.lang.String |
mountpoint
DeepFS mount point. |
int |
ndocs
Number of XML documents. |
boolean |
oldindex
Flag for out-of-dates indexes. |
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)
Constructor, specifying the database name. |
|
| Method Summary | |
|---|---|
static boolean |
found(java.lang.String path,
java.lang.String db)
Checks if the specified file path refers to the specified database. |
void |
read(DataInput in)
Opens the metadata for the current database and returns the table size. |
void |
update()
Notifies the meta structures of an update. |
void |
write(DataOutput out)
Writes the database to the specified path. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String dbname
public java.lang.String mountpoint
public java.lang.String backingpath
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 ftittr
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)
db - database name| Method Detail |
|---|
public static boolean found(java.lang.String path,
java.lang.String db)
path - file pathdb - database name
public void update()
public void read(DataInput in)
throws java.io.IOException
in - input stream
java.io.IOException - I/O Exception
public void write(DataOutput out)
throws java.io.IOException
out - output stream
java.io.IOException - IO Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||