| Package | Description |
|---|---|
| org.apache.metamodel |
Root package for MetaModel
|
| org.apache.metamodel.create |
API for creating tables
|
| org.apache.metamodel.drop |
API for dropping tables
|
| org.apache.metamodel.intercept | |
| org.apache.metamodel.query.builder |
API for query building
|
| org.apache.metamodel.schema |
API for schema structure
|
| org.apache.metamodel.update |
API for updating rows
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
DataContext.getDefaultSchema()
Gets the default schema of this DataContext.
|
Schema |
AbstractDataContext.getDefaultSchema()
Gets the default schema of this DataContext.
|
protected abstract Schema |
QueryPostprocessDataContext.getMainSchema() |
Schema |
DataContext.getSchemaByName(String name)
Gets a schema by a specified name.
|
Schema |
AbstractDataContext.getSchemaByName(String name)
Gets a schema by a specified name.
|
protected Schema |
QueryPostprocessDataContext.getSchemaByNameInternal(String name) |
Schema |
CompositeDataContext.getSchemaByNameInternal(String name) |
protected abstract Schema |
AbstractDataContext.getSchemaByNameInternal(String name)
Gets a specific schema from the non-abstract implementation.
|
static Schema |
MetaModelHelper.resolveUnderlyingSchema(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
List<Schema> |
DataContext.getSchemas()
Gets all schemas within this DataContext.
|
List<Schema> |
AbstractDataContext.getSchemas()
Gets all schemas within this DataContext.
|
| Modifier and Type | Method and Description |
|---|---|
TableDropBuilder |
AbstractUpdateCallback.dropTable(Schema schema,
String tableName) |
static boolean |
MetaModelHelper.isInformationSchema(Schema schema)
Determines if a schema is an information schema
|
static Schema |
MetaModelHelper.resolveUnderlyingSchema(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
protected Schema |
AbstractTableCreationBuilder.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
TableCreationBuilder |
TableCreatable.createTable(Schema schema,
String name)
Initiates the building of a table creation operation.
|
| Constructor and Description |
|---|
AbstractTableCreationBuilder(U updateCallback,
Schema schema,
String name) |
CreateTable(Schema schema,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
TableDropBuilder |
TableDroppable.dropTable(Schema schema,
String tableName) |
| Constructor and Description |
|---|
DropTable(Schema schema,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
InterceptableDataContext.getDefaultSchema() |
Schema |
InterceptableDataContext.getSchemaByName(String name) |
| Modifier and Type | Method and Description |
|---|---|
InterceptorList<Schema> |
InterceptableDataContext.getSchemaInterceptors() |
List<Schema> |
InterceptableDataContext.getSchemas() |
| Modifier and Type | Method and Description |
|---|---|
TableFromBuilder |
InitFromBuilderImpl.from(Schema schema,
String tableName) |
TableFromBuilder |
InitFromBuilder.from(Schema schema,
String tableName) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
WrappingSchema
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSchema
Abstract implementation of the
Schema interface. |
class |
CompositeSchema
A composite schema, comprising tables from several
DataContexts. |
class |
DefaultTableAliasedSchema
A special purpose
Schema wrapper which exposes an AliasTable "default_table" for convenience when the
table count is 1. |
class |
ImmutableSchema
An immutable implementation of the
Schema interface. |
class |
MutableSchema
Represents a schema and it's metadata.
|
| Modifier and Type | Field and Description |
|---|---|
protected Schema |
MutableTable._schema |
| Modifier and Type | Method and Description |
|---|---|
Schema |
Table.getSchema()
Gets the schema that this table resides in.
|
Schema |
MutableTable.getSchema() |
Schema |
AliasTable.getSchema() |
Schema |
WrappingSchema.getWrappedSchema()
Gets the
Schema that is wrapped by this WrappingSchema. |
Schema |
DefaultTableAliasedSchema.getWrappedSchema() |
static Schema |
DefaultTableAliasedSchema.wrapIfAppropriate(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractSchema.compareTo(Schema that) |
MutableTable |
MutableTable.setSchema(Schema schema) |
static Schema |
DefaultTableAliasedSchema.wrapIfAppropriate(Schema schema) |
| Constructor and Description |
|---|
AliasTable(String name,
Schema schema,
Table aliasedTable) |
ImmutableSchema(Schema schema) |
MutableTable(String name,
Schema schema) |
MutableTable(String name,
TableType type,
Schema schema) |
MutableTable(String name,
TableType type,
Schema schema,
Column... columns) |
| Constructor and Description |
|---|
CompositeSchema(String name,
Collection<? extends Schema> delegates) |
| Constructor and Description |
|---|
Update(Schema schema,
String tableName) |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.