Package org.nuxeo.ecm.directory.sql
Class SQLHelper
- java.lang.Object
-
- org.nuxeo.ecm.directory.sql.SQLHelper
-
public class SQLHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description SQLHelper(Connection connection, Table table, String policy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
SQLHelper
public SQLHelper(Connection connection, Table table, String policy)
-
-
Method Detail
-
setupTable
public boolean setupTable()
Sets up the table without loading the data in it.- Returns:
true
if table has been created
-
hasMatchingColumns
public boolean hasMatchingColumns()
-
addColumn
public static Column addColumn(Table table, String fieldName, ColumnType type, boolean nativeCase)
-
-