public class AnnotationTableManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION_LIST_TABLE |
static String |
TABLE_NAME |
| Constructor and Description |
|---|
AnnotationTableManager(de.julielab.xmlData.dataBase.DataBaseConnector dbc,
String rawDocumentTableName,
List<String> annotationsToStore,
String documentTableSchema,
String annotationTableSchema,
Boolean storeAll,
Boolean storeBaseDocument,
String annotationStorageSchema) |
| Modifier and Type | Method and Description |
|---|---|
String |
convertAnnotationTypeToTableName(String tableNameParameter,
boolean storeAll)
Normalizes table names by replacing dots "." with underscores "_" and
prepending the active data postgres schema ONLY IF the option
storeAll is set to FALSE.
|
public static final String ANNOTATION_LIST_TABLE
public static final String TABLE_NAME
public AnnotationTableManager(de.julielab.xmlData.dataBase.DataBaseConnector dbc,
String rawDocumentTableName,
List<String> annotationsToStore,
String documentTableSchema,
String annotationTableSchema,
Boolean storeAll,
Boolean storeBaseDocument,
String annotationStorageSchema)
throws de.julielab.xmlData.dataBase.util.TableSchemaMismatchException
de.julielab.xmlData.dataBase.util.TableSchemaMismatchExceptionpublic String convertAnnotationTypeToTableName(String tableNameParameter, boolean storeAll)
tableNameParameter - the table name to normalizestoreAll - whether or not the complete document XMI is supposed to be
storedCopyright © 2018 JULIE Lab, Germany. All rights reserved.