| Modifier and Type | Field and Description |
|---|---|
| private static final Map | COL_NAMES_CACHE
Cache of columns names per table name and database file. |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| public void | convertRowTypes(Object[]
the array of values to be converted, modified in place values, Table the target Access t)TableConverts HSQLDB-specific data types to types compatible with the Jackcess persistence layer. |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private String | |
| private String | |
| private Map | |
| private ColumnBuilder | |
| private ColumnBuilder | |
| private List | |
| private Collection | |
| public List | |
| private IndexBuilder | |
| private List | |
| private String | |
| public Map | |
| private String | |
| public Object[] | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void |
| COL_NAMES_CACHE | back to summary |
|---|---|
| private static final Map<File, Map<String, List<String>>> COL_NAMES_CACHE Cache of columns names per table name and database file. | |
| COL_OBJECT_ID | back to summary |
|---|---|
| private static final String COL_OBJECT_ID | |
| COL_SZ_OBJECT | back to summary |
|---|---|
| private static final String COL_SZ_OBJECT | |
| COL_SZ_REFERENCED_OBJECT | back to summary |
|---|---|
| private static final String COL_SZ_REFERENCED_OBJECT | |
| SYS_RELATIONSHIPS | back to summary |
|---|---|
| private static final String SYS_RELATIONSHIPS | |
| Persist2Jet | back to summary |
|---|---|
| public Persist2Jet() | |
| addColumn | back to summary |
|---|---|
| public void addColumn(String tableName, String columnName, Map<String, String> columnMap, String[] types, String[] defaults, Boolean[] notNulls) throws IOException, SQLException | |
| addIndexBuildersSimple | back to summary |
|---|---|
| private void addIndexBuildersSimple(String tableName, Map<String, String> columnMap, List<IndexBuilder> arcl) throws SQLException | |
| checkPK | back to summary |
|---|---|
| private void checkPK(List<IndexBuilder> arcl, IndexBuilder ibpk) | |
| convertRowTypes | back to summary |
|---|---|
| public void convertRowTypes(Object[] values, Table t) throws SQLException Converts HSQLDB-specific data types to types compatible with the Jackcess persistence layer.
This method iterates through all columns of a table and transforms values (e.g.,
| |
| createForeignKey | back to summary |
|---|---|
| public void createForeignKey(String tableName, String referencedTable) throws IOException, SQLException | |
| createForeignKey | back to summary |
|---|---|
| public void createForeignKey(String tableName, String referencedTable, String relationshipName) throws IOException, SQLException | |
| createForeignKey | back to summary |
|---|---|
| private void createForeignKey(String tn4Hsqldb, String refTn4Hsqldb, String tn4Access, String refTn4Access, String relationshipName) throws IOException, SQLException | |
| createForeignKeys | back to summary |
|---|---|
| public void createForeignKeys(String tableName) throws IOException, SQLException | |
| createIndex | back to summary |
|---|---|
| public void createIndex(String tableName, String indexName) throws IOException, SQLException | |
| createPrimaryKey | back to summary |
|---|---|
| public void createPrimaryKey(String tableName) throws IOException, SQLException | |
| createTable | back to summary |
|---|---|
public void createTable(String tableName, Map<String, String> columnMap, String[] types, String[] defaults, Boolean[] notNulls) throws IOException, SQLException
| |
| dropForeignKey | back to summary |
|---|---|
| public void dropForeignKey(String relationshipName) throws IOException | |
| dropTable | back to summary |
|---|---|
| public void dropTable(String tableName) throws IOException, SQLException | |
| escape4Access | back to summary |
|---|---|
| private String escape4Access(String tn) | |
| escape4Hsqldb | back to summary |
|---|---|
| private String escape4Hsqldb(String tn) | |
| escapeIdentifiers | back to summary |
|---|---|
| private Map | |
| getColumn | back to summary |
|---|---|
| private ColumnBuilder getColumn(ResultSet rs, int seq, Map<String, String> columnMap, String[] types) throws SQLException, IOException | |
| getColumn | back to summary |
|---|---|
| private ColumnBuilder getColumn(String tableName, Map<String, String> columnMap, String[] types) throws SQLException, IOException | |
| getColumnNamesCreate | back to summary |
|---|---|
| private List | |
| getColumns | back to summary |
|---|---|
| private Collection | |
| getCreateColumnNamesCache | back to summary |
|---|---|
| public List | |
| getIndexBuilderPK | back to summary |
|---|---|
| private IndexBuilder getIndexBuilderPK(String tableName, Map<String, String> columnMap) throws SQLException | |
| getIndexBuilders | back to summary |
|---|---|
| private List | |
| getNormalizedName | back to summary |
|---|---|
| private String getNormalizedName(String name, Map<String, String> columnMap) | |
| getRowPattern | back to summary |
|---|---|
| public Map | |
| getUcaMetadataTypeName | back to summary |
|---|---|
| private String getUcaMetadataTypeName(int colIdx, ColumnBuilder cb, String[] types) | |
| getValues | back to summary |
|---|---|
| public Object[] getValues(Map<String, Object> rowPattern) | |
| renameTable | back to summary |
|---|---|
| public void renameTable(String oldTableName, String newTableName) throws IOException, SQLException | |
| saveColumnsDefaults | back to summary |
|---|---|
| private void saveColumnsDefaults(String[] defaults, Boolean[] required, Column cl, int j) throws IOException | |
| saveColumnsDefaults | back to summary |
|---|---|
| private void saveColumnsDefaults(String[] defaults, Boolean[] required, Table table) throws IOException | |
| setHsqldbNotNull | back to summary |
|---|---|
| private void setHsqldbNotNull(String tableName, String columnName, Column cl) throws SQLException, IOException | |
| updateNewColumnToDefault | back to summary |
|---|---|
| private void updateNewColumnToDefault(String tableName, String columnName, Table t, Column col) throws SQLException, IOException | |