public class EtxIndexCreator extends Object
EtxSqlHandler.
When run as an application, the index creator reads a list of etx-indices
from a configuration file, and creates the indices that are not present
already.
The configurationfile must be named etxindices.xml and located
inside the databases configuration directory.
It's DTD is located in the directory
org.mmbase.storage.search.implementation.database.informix.excalibur.resources
in the MMBase source tree and
here online.
| Constructor and Description |
|---|
EtxIndexCreator(String configDir)
Creates a new instance of EtxIndexCreator, opens database connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the tasks: reads configuration file and creates indices
as needed, and closes database connection.
|
static void |
main(String[] args)
Application main method.
|
public static void main(String[] args)
Reads etxindices configuration file, and creates the etx indices that are not already created.
args - The command line arguments, should be path to
MMBase configuration directory.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}