public class Persist2Jet extends Object
| Constructor and Description |
|---|
Persist2Jet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(String tableName,
String columnName,
Map<String,String> columnMap,
String[] types,
String[] defaults,
Boolean[] notNulls) |
void |
convertRowTypes(Object[] values,
com.healthmarketscience.jackcess.Table t) |
void |
createForeignKey(String tableName,
String referencedTable) |
void |
createForeignKey(String tableName,
String referencedTable,
String relationshipName) |
void |
createForeignKeys(String tableName) |
void |
createIndex(String tableName,
String indexName) |
void |
createPrimaryKey(String tableName) |
void |
createTable(String tableName,
Map<String,String> columnMap,
String[] types,
String[] defaults,
Boolean[] notNulls) |
void |
dropForeignKey(String relationshipName) |
void |
dropTable(String tableName) |
Map<String,Object> |
getRowPattern(Object[] varr,
com.healthmarketscience.jackcess.Table t) |
Object[] |
getValues(Map<String,Object> rowPattern,
com.healthmarketscience.jackcess.Table t) |
void |
renameTable(String oldTableName,
String newTableName) |
public Map<String,Object> getRowPattern(Object[] varr, com.healthmarketscience.jackcess.Table t) throws SQLException
SQLExceptionpublic Object[] getValues(Map<String,Object> rowPattern, com.healthmarketscience.jackcess.Table t) throws SQLException
SQLExceptionpublic void convertRowTypes(Object[] values, com.healthmarketscience.jackcess.Table t) throws SQLException
SQLExceptionpublic void createTable(String tableName, Map<String,String> columnMap, String[] types, String[] defaults, Boolean[] notNulls) throws IOException, SQLException
IOExceptionSQLExceptionpublic void dropTable(String tableName) throws IOException, SQLException
IOExceptionSQLExceptionpublic void renameTable(String oldTableName, String newTableName) throws IOException, SQLException
IOExceptionSQLExceptionpublic void addColumn(String tableName, String columnName, Map<String,String> columnMap, String[] types, String[] defaults, Boolean[] notNulls) throws IOException, SQLException
IOExceptionSQLExceptionpublic void createIndex(String tableName, String indexName) throws IOException, SQLException
IOExceptionSQLExceptionpublic void createPrimaryKey(String tableName) throws IOException, SQLException
IOExceptionSQLExceptionpublic void createForeignKey(String tableName, String referencedTable) throws IOException, SQLException
IOExceptionSQLExceptionpublic void createForeignKey(String tableName, String referencedTable, String relationshipName) throws IOException, SQLException
IOExceptionSQLExceptionpublic void createForeignKeys(String tableName) throws IOException, SQLException
IOExceptionSQLExceptionpublic void dropForeignKey(String relationshipName) throws IOException, SQLException
IOExceptionSQLExceptionCopyright © 2012–2019 UCanAccess. All rights reserved.