|
||||||||||
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. |
String |
backing
DeepFS backing path. |
boolean |
casesens
Flag for full-text case sensitivity. |
boolean |
chop
Flag for whitespace chopping. |
boolean |
deepfs
Flag for DeepFS instance. |
boolean |
diacritics
Flag for full-text diacritics removal. |
boolean |
dirty
Dirty flag. |
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. |
int |
ftscmax
Maximal indexed full-text score. |
int |
ftscmin
Minimal indexed full-text score. |
boolean |
ftxindex
Flag for creating a full-text index. |
int |
height
Maximum document height. |
int |
lastid
Last (highest) id assigned to a node. |
String |
mount
DeepFS mount point. |
String |
name
Database name. |
int |
ndocs
Number of XML documents. |
boolean |
oldindex
Flag for out-of-dates indexes. |
Prop |
prop
Properties. |
boolean |
pthindex
Flag for creating a path summary. |
int |
scoring
Scoring mode: see Prop.SCORING . |
int |
size
Table size. |
boolean |
stemming
Flag for full-text stemming. |
long |
time
Modification time. |
boolean |
txtindex
Flag for creating a text index. |
boolean |
uptodate
Flag for removed index structures. |
Users |
users
Database users. |
boolean |
wildcards
Flag for wildcard indexing. |
Constructor Summary | |
---|---|
MetaData(String db,
Prop pr)
Constructor, specifying the database name. |
Method Summary | |
---|---|
File |
file(String fn)
Adds the database suffix to the specified filename and creates a file instance. |
static boolean |
found(String path,
String db,
Prop pr)
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Prop prop
public String name
public Users users
public 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 pthindex
public boolean wildcards
public boolean stemming
public boolean casesens
public boolean diacritics
public int ftscmax
public int ftscmin
public int scoring
Prop.SCORING
.
public boolean uptodate
public boolean dirty
public boolean oldindex
public int size
public int lastid
public String mount
public String backing
public boolean deepfs
Constructor Detail |
---|
public MetaData(String db, Prop pr)
db
- database namepr
- database propertiesMethod Detail |
---|
public static boolean found(String path, String db, Prop pr)
path
- file pathdb
- database namepr
- database properties
public File file(String fn)
fn
- filename
public void read(DataInput in) throws IOException
in
- input stream
IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |