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 ColumnaddColumn(Table table, String fieldName, ColumnType type, boolean nativeCase)static TableaddTable(String name, Dialect dialect, boolean nativeCase)Set<Column>getMissingColumns(Boolean breakAtFirstMissing)booleanhasMatchingColumns()booleansetupTable()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:
trueif table has been created
-
hasMatchingColumns
public boolean hasMatchingColumns()
-
addColumn
public static Column addColumn(Table table, String fieldName, ColumnType type, boolean nativeCase)
-
-