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
SQLException
public Object[] getValues(Map<String,Object> rowPattern, com.healthmarketscience.jackcess.Table t) throws SQLException
SQLException
public void convertRowTypes(Object[] values, com.healthmarketscience.jackcess.Table t) throws SQLException
SQLException
public void createTable(String tableName, Map<String,String> columnMap, String[] types, String[] defaults, Boolean[] notNulls) throws IOException, SQLException
IOException
SQLException
public void dropTable(String tableName) throws IOException, SQLException
IOException
SQLException
public void renameTable(String oldTableName, String newTableName) throws IOException, SQLException
IOException
SQLException
public void addColumn(String tableName, String columnName, Map<String,String> columnMap, String[] types, String[] defaults, Boolean[] notNulls) throws IOException, SQLException
IOException
SQLException
public void createIndex(String tableName, String indexName) throws IOException, SQLException
IOException
SQLException
public void createPrimaryKey(String tableName) throws IOException, SQLException
IOException
SQLException
public void createForeignKey(String tableName, String referencedTable) throws IOException, SQLException
IOException
SQLException
public void createForeignKey(String tableName, String referencedTable, String relationshipName) throws IOException, SQLException
IOException
SQLException
public void createForeignKeys(String tableName) throws IOException, SQLException
IOException
SQLException
public void dropForeignKey(String relationshipName) throws IOException, SQLException
IOException
SQLException
Copyright © 2012–2018 UCanAccess. All rights reserved.