| Modifier and Type | Method and Description |
|---|---|
protected IOContent |
cache()
Returns cached input if the input is streamed and a data format different
than XML has been chosen.
|
protected static void |
create(IndexToken.IndexType index,
Data data,
ACreate cmd)
Builds the specified index.
|
protected static boolean |
drop(IndexToken.IndexType index,
Data data)
Drops the specified index.
|
boolean |
newData(Context ctx)
Closes an open data reference and returns
true if this command will change
the Context.data reference. |
boolean |
stoppable()
Returns true if this command can be stopped.
|
boolean |
supportsProg()
Returns true if this command returns a progress value.
|
build, close, error, execute, execute, getOption, getOption, info, info, result, run, run, setInput, setInput, toString, updated, updatingpublic boolean newData(Context ctx)
Commandtrue if this command will change
the Context.data reference. This method is required by the progress dialog
in the frontend.public final boolean supportsProg()
CommandsupportsProg in class Commandpublic boolean stoppable()
Commandprotected IOContent cache() throws java.io.IOException
java.io.IOException - I/O exceptionprotected static void create(IndexToken.IndexType index, Data data, ACreate cmd) throws java.io.IOException
index - index to be builtdata - data referencecmd - calling commandjava.io.IOException - I/O exceptionprotected static boolean drop(IndexToken.IndexType index, Data data)
index - index typedata - data reference