Package | Description |
---|---|
com.healthmarketscience.jackcess | |
com.healthmarketscience.jackcess.impl | |
com.healthmarketscience.jackcess.impl.complex | |
com.healthmarketscience.jackcess.util |
Modifier and Type | Method and Description |
---|---|
Database |
DatabaseBuilder.create()
Creates a new Database using the configured information.
|
static Database |
DatabaseBuilder.create(Database.FileFormat fileFormat,
File mdbFile)
Create a new Database for the given fileFormat
|
Database |
Column.getDatabase() |
Database |
TableDefinition.getDatabase() |
Database |
Table.getDatabase() |
Database |
DatabaseBuilder.open()
Opens an existingnew Database using the configured information.
|
static Database |
DatabaseBuilder.open(File mdbFile)
Open an existing Database.
|
static Database |
DatabaseBuilder.open(Path mdbFile)
Open an existing Database.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Database> |
Database.getLinkedDatabases()
Returns an unmodifiable view of the currently loaded linked databases,
mapped from the linked database file name to the linked database.
|
Modifier and Type | Method and Description |
---|---|
TableDefinition |
TableMetaData.getTableDefinition(Database db)
Gets the local table definition from the given Database instance if
available.
|
Table |
TableMetaData.open(Database db)
Opens this table from the given Database instance.
|
Relationship |
RelationshipBuilder.toRelationship(Database db)
Creates a new Relationship in the given Database with the currently
configured attributes.
|
Table |
TableBuilder.toTable(Database db)
Creates a new Table in the given Database with the currently configured
attributes.
|
Modifier and Type | Class and Description |
---|---|
class |
DatabaseImpl |
Modifier and Type | Method and Description |
---|---|
Map<String,Database> |
DatabaseImpl.getLinkedDatabases() |
Modifier and Type | Method and Description |
---|---|
Database |
ComplexColumnInfoImpl.getDatabase() |
Modifier and Type | Method and Description |
---|---|
Database |
CustomLinkResolver.resolveLinkedDatabase(Database linkerDb,
String linkeeFileName)
Custom implementation is:
|
Database |
LinkResolver.resolveLinkedDatabase(Database linkerDb,
String linkeeFileName)
Returns the appropriate Database instance for the linkeeFileName from the
given linkerDb.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExportUtil.exportAll(Database db,
File dir)
Copy all tables into new delimited text files
Equivalent to: exportAll(db, dir, "csv"); |
static void |
ExportUtil.exportAll(Database db,
File dir,
String ext)
Copy all tables into new delimited text files
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportAll(Database db,
File dir,
String ext,
boolean header)
Copy all tables into new delimited text files
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportAll(Database db,
File dir,
String ext,
boolean header,
String delim,
char quote,
ExportFilter filter)
Copy all tables into new delimited text files
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportFile(Database db,
String tableName,
File f)
Copy a table into a new delimited text file
Equivalent to: exportFile(db, name, f, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportFile(Database db,
String tableName,
File f,
boolean header,
String delim,
char quote,
ExportFilter filter)
Copy a table into a new delimited text file
Nearly equivalent to: exportWriter(db, name, new BufferedWriter(f),
header, delim, quote, filter); |
static void |
ExportUtil.exportWriter(Database db,
String tableName,
BufferedWriter out)
Copy a table in this database into a new delimited text file
Equivalent to: exportWriter(db, name, out, false, null, '"',
SimpleExportFilter.INSTANCE); |
static void |
ExportUtil.exportWriter(Database db,
String tableName,
BufferedWriter out,
boolean header,
String delim,
char quote,
ExportFilter filter)
Copy a table in this database into a new delimited text file.
|
static String |
ImportUtil.importFile(File f,
Database db,
String name,
String delim)
Copy a delimited text file into a new table in this database.
|
static String |
ImportUtil.importFile(File f,
Database db,
String name,
String delim,
char quote,
ImportFilter filter,
boolean useExistingTable)
Copy a delimited text file into a new table in this database.
|
static String |
ImportUtil.importFile(File f,
Database db,
String name,
String delim,
char quote,
ImportFilter filter,
boolean useExistingTable,
boolean header)
Copy a delimited text file into a new table in this database.
|
static String |
ImportUtil.importFile(File f,
Database db,
String name,
String delim,
ImportFilter filter)
Copy a delimited text file into a new table in this database.
|
static String |
ImportUtil.importReader(BufferedReader in,
Database db,
String name,
String delim)
Copy a delimited text file into a new table in this database.
|
static String |
ImportUtil.importReader(BufferedReader in,
Database db,
String name,
String delim,
char quote,
ImportFilter filter,
boolean useExistingTable)
Copy a delimited text file into a new (or optionally exixsting) table in
this database.
|
static String |
ImportUtil.importReader(BufferedReader in,
Database db,
String name,
String delim,
char quote,
ImportFilter filter,
boolean useExistingTable,
boolean header)
Copy a delimited text file into a new (or optionally exixsting) table in
this database.
|
static String |
ImportUtil.importReader(BufferedReader in,
Database db,
String name,
String delim,
ImportFilter filter)
Copy a delimited text file into a new table in this database.
|
static String |
ImportUtil.importReader(BufferedReader in,
Database db,
String name,
String delim,
ImportFilter filter,
boolean useExistingTable)
Copy a delimited text file into a new (or optionally exixsting) table in
this database.
|
static String |
ImportUtil.importResultSet(ResultSet source,
Database db,
String name)
Copy an existing JDBC ResultSet into a new table in this database.
|
static String |
ImportUtil.importResultSet(ResultSet source,
Database db,
String name,
ImportFilter filter)
Copy an existing JDBC ResultSet into a new table in this database.
|
static String |
ImportUtil.importResultSet(ResultSet source,
Database db,
String name,
ImportFilter filter,
boolean useExistingTable)
Copy an existing JDBC ResultSet into a new (or optionally existing) table
in this database.
|
Database |
CustomLinkResolver.resolveLinkedDatabase(Database linkerDb,
String linkeeFileName)
Custom implementation is:
|
Database |
LinkResolver.resolveLinkedDatabase(Database linkerDb,
String linkeeFileName)
Returns the appropriate Database instance for the linkeeFileName from the
given linkerDb.
|
ImportUtil.Builder |
ImportUtil.Builder.setDatabase(Database db) |
ExportUtil.Builder |
ExportUtil.Builder.setDatabase(Database db) |
Constructor and Description |
---|
Builder(Database db) |
Builder(Database db) |
Builder(Database db,
String tableName) |
Builder(Database db,
String tableName) |
TableIterableBuilder(Database db) |
Copyright © 2005–2024 OpenHMS. All rights reserved.