| Package | Description |
|---|---|
| org.apache.metamodel |
Root package for MetaModel
|
| org.apache.metamodel.create |
API for creating tables
|
| org.apache.metamodel.delete |
API for deleting rows
|
| org.apache.metamodel.drop |
API for dropping tables
|
| org.apache.metamodel.factory | |
| org.apache.metamodel.insert |
API for inserting rows
|
| org.apache.metamodel.intercept | |
| org.apache.metamodel.query.parser | |
| org.apache.metamodel.update |
API for updating rows
|
| org.apache.metamodel.util |
Utilities and convenient classes
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionException
Specialized
MetaModelException thrown to indicate that establishing
the connection to the underlying data store of an DataContext failed. |
class |
InconsistentRowFormatException
Abstract exception type that represents exceptions that occur when reading a
data format which contain formatting errors or inconsistencies in on or more
rows.
|
| Modifier and Type | Method and Description |
|---|---|
CompiledQuery |
DataContext.compileQuery(Query query)
Compiles a query, preparing it for reuse.
|
CompiledQuery |
AbstractDataContext.compileQuery(Query query) |
void |
DeleteAndInsertBuilder.execute() |
DataSet |
DataContext.executeQuery(Query query)
Executes a query against the DataContext.
|
DataSet |
CompositeDataContext.executeQuery(Query query) |
DataSet |
DataContext.executeQuery(String queryString)
Parses and executes a string-based SQL query.
|
DataSet |
AbstractDataContext.executeQuery(String queryString)
Parses and executes a string-based SQL query.
|
static Row |
MetaModelHelper.executeSingleRowQuery(DataContext dataContext,
Query query)
Executes a single row query, like "SELECT COUNT(*), MAX(SOME_COLUMN) FROM MY_TABLE" or similar.
|
Schema |
DataContext.getDefaultSchema()
Gets the default schema of this DataContext.
|
Schema |
AbstractDataContext.getDefaultSchema()
Gets the default schema of this DataContext.
|
protected String |
QueryPostprocessDataContext.getDefaultSchemaName() |
String |
CompositeDataContext.getDefaultSchemaName() |
protected MutableSchema |
QueryPostprocessDelegate.getMainSchema() |
protected abstract Schema |
QueryPostprocessDataContext.getMainSchema() |
protected String |
QueryPostprocessDelegate.getMainSchemaName() |
protected abstract String |
QueryPostprocessDataContext.getMainSchemaName() |
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) |
List<String> |
DataContext.getSchemaNames()
Gets the names of all schemas within this DataContext.
|
List<String> |
AbstractDataContext.getSchemaNames()
m Gets the names of all schemas within this DataContext.
|
protected List<String> |
QueryPostprocessDataContext.getSchemaNamesInternal() |
List<String> |
CompositeDataContext.getSchemaNamesInternal() |
List<Schema> |
DataContext.getSchemas()
Gets all schemas within this DataContext.
|
List<Schema> |
AbstractDataContext.getSchemas()
Gets all schemas within this DataContext.
|
Query |
DataContext.parseQuery(String queryString)
Parses a string-based SQL query and produces a corresponding
Query object. |
Query |
AbstractDataContext.parseQuery(String queryString)
Parses a string-based SQL query and produces a corresponding
Query object. |
| Modifier and Type | Method and Description |
|---|---|
Table |
TableCreationBuilder.execute()
Commits the built table and requests that the table structure should be
written to the
DataContext. |
| Modifier and Type | Method and Description |
|---|---|
void |
RowDeletionBuilder.execute()
Commits the row deletion operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TableDropBuilder.execute()
Executes the drop table operation
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnsupportedDataContextPropertiesException
Exception thrown if a
DataContextFactory or
DataContextFactoryRegistry is being invoked with
DataContextProperties that are not supported by the implementation. |
class |
UnsupportedResourcePropertiesException |
| Modifier and Type | Method and Description |
|---|---|
void |
RowInsertionBuilder.execute()
Commits the row insertion operation.
|
| Modifier and Type | Method and Description |
|---|---|
DataSet |
InterceptableDataContext.executeQuery(Query query) |
DataSet |
InterceptableDataContext.executeQuery(String queryString) |
Schema |
InterceptableDataContext.getDefaultSchema() |
Schema |
InterceptableDataContext.getSchemaByName(String name) |
List<String> |
InterceptableDataContext.getSchemaNames() |
List<Schema> |
InterceptableDataContext.getSchemas() |
Query |
InterceptableDataContext.parseQuery(String queryString) |
| Modifier and Type | Class and Description |
|---|---|
class |
QueryParserException
Subtype of
MetaModelException which indicate a problem in parsing a
query passed to the QueryParser. |
| Modifier and Type | Method and Description |
|---|---|
void |
SelectItemParser.parse(String delim,
String itemToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
RowUpdationBuilder.execute()
Commits the row updation operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ResourceException
Exception type for errors that occur while dealing with
Resources. |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.