|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDatabaseHelper
Interface that describe useful function to manage the database
Method Summary | |
---|---|
void |
createNormalize_textFunction()
create a postgres function in postgres to remove accent, lower cased, trim, and remove unwanted char (, . ; ") |
void |
dropNormalize_textFunction()
Drop the Normalize_text function in postgres |
java.util.List<java.lang.String> |
execute(java.io.File file,
boolean continueOnError)
|
void |
generateSqlCreationSchemaFile(java.io.File outputFile)
Generate the sql file to create all the Gisgraphy tables |
void |
generateSQLCreationSchemaFileToRerunImport(java.io.File outputFile)
Generate the SQL file to create all the Gisgraphy tables that have to be reset to rerun the import, the user and role tables won't be deleted |
void |
generateSQLDropSchemaFile(java.io.File outputFile)
Generate the sql file to drop all the Gisgraphy tables |
void |
generateSqlDropSchemaFileToRerunImport(java.io.File outputFile)
Generate the SQL file to drop all the Gisgraphy tables that have to be reset to rerun the import, the user and role tables won't be deleted |
boolean |
isNormalize_textFunctionCreated()
Determines if the normalize_text function is created in postgres |
Method Detail |
---|
void dropNormalize_textFunction()
boolean isNormalize_textFunctionCreated()
void createNormalize_textFunction()
java.util.List<java.lang.String> execute(java.io.File file, boolean continueOnError) throws java.lang.Exception
file
- the file to execute, it will be read as an UTF-8 filecontinueOnError
- if an error occured, the process will go on if this value is
true, if not it will throw an exception
java.lang.Exception
- in case of error during execution, or if the file is null or
does not existvoid generateSqlCreationSchemaFile(java.io.File outputFile)
outputFile
- The File that we want to write the SQLvoid generateSQLDropSchemaFile(java.io.File outputFile)
outputFile
- The File that we want to write the SQLvoid generateSQLCreationSchemaFileToRerunImport(java.io.File outputFile)
outputFile
- The File that we want to write the SQLvoid generateSqlDropSchemaFileToRerunImport(java.io.File outputFile)
outputFile
- The File that we want to write the SQL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |