|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.build.Builder
org.basex.build.MemBuilder
public final class MemBuilder
This class creates a database instance in main memory.
The storage layout is described in the Data class.
| Field Summary | |
|---|---|
MemData |
data
Data reference. |
| Fields inherited from class org.basex.core.Progress |
|---|
listen, updating |
| Constructor Summary | |
|---|---|
MemBuilder(java.lang.String nm,
Parser parse)
Constructor. |
|
| Method Summary | |
|---|---|
MemData |
build()
Builds the database. |
static MemData |
build(Parser parser)
Builds a main memory database instance. |
static MemData |
build(java.lang.String name,
Parser parser)
Builds a main memory database instance with the specified name. |
void |
close()
Closes open references. |
void |
init()
Initializes the builder. |
| Methods inherited from class org.basex.build.Builder |
|---|
comment, det, emptyElem, encoding, endDoc, endElem, pi, prog, startDoc, startElem, startNS, text |
| Methods inherited from class org.basex.core.Progress |
|---|
checkStop, detail, listen, progress, startTimeout, stop, stopTimeout, title |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MemData data
| Constructor Detail |
|---|
public MemBuilder(java.lang.String nm,
Parser parse)
nm - name of databaseparse - parser| Method Detail |
|---|
public static MemData build(Parser parser)
throws java.io.IOException
parser - parser
java.io.IOException - I/O exception
public static MemData build(java.lang.String name,
Parser parser)
throws java.io.IOException
name - name of databaseparser - parser
java.io.IOException - I/O exception
public MemData build()
throws java.io.IOException
Builder
build in class Builderjava.io.IOException - I/O exceptionpublic void init()
public void close()
throws java.io.IOException
Builder
close in class Builderjava.io.IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||