APIdia Launch Partner
Top Description Inners Methods
io.github.spannm.jackcess

public Interface TableMetaData

Known Direct Implementers
io.github.spannm.jackcess.impl.DatabaseImpl.TableInfo
Imports
java.io.IOException

Basic metadata about a single database Table. This is the top-level information stored in a (local) database which can be retrieved without attempting to load the Table itself.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public String
getConnectionName()

The connection of this the linked database if this is a linked ODBC table, null otherwise.

public String
getLinkedDbName()

The name of this the linked database if this is a linked table, null otherwise.

public String
getLinkedTableName()

The name of this linked table in the linked database if this is a linked table, null otherwise.

public String
getName()

The name of the table (as it is stored in the database)

public TableDefinition
getTableDefinition(Database db)

Gets the local table definition from the given Database instance if available.

public TableMetaData.Type
getType()

The type of table

public boolean
isLinked()

true if this is a linked table, false otherwise.

public boolean
isSystem()

true if this is a system table, false otherwise.

public Table
open(Database db)

Opens this table from the given Database instance.

Method Detail

getConnectionNameback to summary
public String getConnectionName()

The connection of this the linked database if this is a linked ODBC table, null otherwise.

getLinkedDbNameback to summary
public String getLinkedDbName()

The name of this the linked database if this is a linked table, null otherwise.

getLinkedTableNameback to summary
public String getLinkedTableName()

The name of this linked table in the linked database if this is a linked table, null otherwise.

getNameback to summary
public String getName()

The name of the table (as it is stored in the database)

getTableDefinitionback to summary
public TableDefinition getTableDefinition(Database db) throws IOException

Gets the local table definition from the given Database instance if available. Only useful for linked ODBC tables.

getTypeback to summary
public TableMetaData.Type getType()

The type of table

isLinkedback to summary
public boolean isLinked()

true if this is a linked table, false otherwise.

isSystemback to summary
public boolean isSystem()

true if this is a system table, false otherwise.

openback to summary
public Table open(Database db) throws IOException

Opens this table from the given Database instance.

io.github.spannm.jackcess back to summary

public final Enum TableMetaData.Type

extends Enum<TableMetaData.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final TableMetaData.Type
public static final TableMetaData.Type
public static final TableMetaData.Type

Constructor Summary

AccessConstructor and Description
private
Type()

Method Summary

Modifier and TypeMethod and Description
public static TableMetaData.Type
public static TableMetaData.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LINKEDback to summary
public static final TableMetaData.Type LINKED
LINKED_ODBCback to summary
public static final TableMetaData.Type LINKED_ODBC
LOCALback to summary
public static final TableMetaData.Type LOCAL

Constructor Detail

Typeback to summary
private Type()

Method Detail

valueOfback to summary
public static TableMetaData.Type valueOf(String name)
valuesback to summary
public static TableMetaData.Type[] values()