Constructor and Description |
---|
SQLHelper(Connection connection,
Table table,
String policy) |
Modifier and Type | Method and Description |
---|---|
static Column |
addColumn(Table table,
String fieldName,
ColumnType type,
boolean nativeCase) |
static Table |
addTable(String name,
Dialect dialect,
boolean nativeCase) |
Set<Column> |
getMissingColumns(Boolean breakAtFirstMissing) |
boolean |
hasMatchingColumns() |
boolean |
setupTable()
Sets up the table without loading the data in it.
|
public SQLHelper(Connection connection, Table table, String policy)
public boolean setupTable() throws DirectoryException
true
if CSV data should be loadedDirectoryException
public boolean hasMatchingColumns()
public Set<Column> getMissingColumns(Boolean breakAtFirstMissing)
public static Column addColumn(Table table, String fieldName, ColumnType type, boolean nativeCase)
Copyright © 2017 Nuxeo. All rights reserved.