Package | Description |
---|---|
org.apache.metamodel |
Root package for MetaModel
|
org.apache.metamodel.factory | |
org.apache.metamodel.jdbc |
Module package for JDBC compliant databases
|
org.apache.metamodel.schema |
API for schema structure
|
org.apache.metamodel.spring |
Modifier and Type | Method and Description |
---|---|
static UpdateableDataContext |
DataContextFactory.createJdbcDataContext(Connection connection,
String catalogName,
TableType[] tableTypes)
Creates a DataContext based on a JDBC connection
|
static UpdateableDataContext |
DataContextFactory.createJdbcDataContext(Connection connection,
TableType... tableTypes)
Creates a DataContext based on a JDBC connection
|
static UpdateableDataContext |
DataContextFactory.createJdbcDataContext(DataSource ds,
String catalogName,
TableType[] tableTypes)
Creates a DataContext based on a JDBC datasource
|
static UpdateableDataContext |
DataContextFactory.createJdbcDataContext(DataSource ds,
TableType... tableTypes)
Creates a DataContext based on a JDBC datasource
|
Modifier and Type | Method and Description |
---|---|
TableType[] |
DataContextPropertiesImpl.getTableTypes() |
TableType[] |
DataContextProperties.getTableTypes() |
Modifier and Type | Method and Description |
---|---|
TableType[] |
JdbcDataContext.getTableTypes() |
Modifier and Type | Method and Description |
---|---|
static String[] |
JdbcUtils.getTableTypesAsStrings(TableType[] tableTypes) |
Constructor and Description |
---|
JdbcDataContext(Connection connection,
TableType[] tableTypes,
String catalogName)
Creates the strategy based on a
Connection , some table types and an optional catalogName |
JdbcDataContext(DataSource dataSource,
TableType[] tableTypes,
String catalogName)
Creates the strategy based on a data source, some table types and an optional catalogName
|
Modifier and Type | Field and Description |
---|---|
protected TableType |
MutableTable._type |
static TableType[] |
TableType.DEFAULT_TABLE_TYPES |
Modifier and Type | Method and Description |
---|---|
static TableType |
TableType.getTableType(String literalType)
Tries to resolve a TableType based on an incoming string/literal.
|
TableType |
Table.getType()
Gets the table type of this table.
|
TableType |
MutableTable.getType() |
TableType |
AliasTable.getType() |
static TableType |
TableType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableType[] |
TableType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
Schema.getTableCount(TableType type)
Gets the number of tables in this Schema that comply to a given
TableType.
|
int |
AbstractSchema.getTableCount(TableType type) |
List<Table> |
Schema.getTables(TableType type)
Gets all tables in this Schema of a particular type.
|
List<Table> |
AbstractSchema.getTables(TableType type) |
MutableTable |
MutableTable.setType(TableType type) |
Constructor and Description |
---|
MutableTable(String name,
TableType type) |
MutableTable(String name,
TableType type,
Schema schema) |
MutableTable(String name,
TableType type,
Schema schema,
Column... columns) |
Modifier and Type | Method and Description |
---|---|
TableType[] |
DataContextFactoryParameters.getTableTypes() |
TableType[] |
DataContextFactoryBean.getTableTypes() |
Modifier and Type | Method and Description |
---|---|
void |
DataContextFactoryBean.setTableTypes(TableType[] tableTypes) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.