public abstract class IndexBuilder extends Progress
| Modifier and Type | Field and Description |
|---|---|
protected int |
csize
Number of cached index structures.
|
protected Data |
data
Data reference.
|
protected boolean |
merge
Merge flag.
|
protected int |
pre
Current parsing value.
|
protected int |
size
Total parsing value.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IndexBuilder(Data d)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Index |
build()
Builds the index structure and returns an index instance.
|
protected void |
check()
Checks if the command was interrupted, and prints some debug output.
|
protected boolean |
memFull()
Checks if enough memory is left to continue index building.
|
double |
prog()
Returns a progress value (0 - 1).
|
java.lang.String |
tit()
Returns short information on this process.
|
protected final Data data
protected final int size
protected int pre
protected boolean merge
protected int csize
protected IndexBuilder(Data d)
d - referencepublic abstract Index build() throws java.io.IOException
java.io.IOException - I/O Exceptionprotected final void check()
protected final boolean memFull()
throws java.io.IOException
java.io.IOException - I/O exceptionpublic final java.lang.String tit()
Progress