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 |
---|---|
protected Schema |
ArffDataContext.getMainSchema() |
protected String |
ArffDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
CassandraDataContext.getMainSchema() |
protected String |
CassandraDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
CouchDbDataContext.getMainSchema() |
protected String |
CouchDbDataContext.getMainSchemaName() |
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 | Class and Description |
---|---|
class |
InconsistentRowLengthException
Exception thrown when a line in a CSV file has an inconsistent amount of
columns compared to the previous lines (and headers).
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.metamodel.csv.CsvSchema |
CsvDataContext.getMainSchema() |
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 | Method and Description |
---|---|
protected Schema |
DynamoDbDataContext.getMainSchema() |
protected String |
DynamoDbDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
AbstractElasticSearchDataContext.getMainSchema() |
protected String |
AbstractElasticSearchDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
void |
ElasticSearchUpdateBuilder.execute() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
ExcelDataContext.getMainSchema() |
protected String |
ExcelDataContext.getMainSchemaName() |
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 | Class and Description |
---|---|
class |
InconsistentValueWidthException
Exception thrown when inconsistent widths of a Fixed Width Value file
|
Modifier and Type | Method and Description |
---|---|
protected Schema |
FixedWidthDataContext.getMainSchema() |
protected String |
FixedWidthDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
HBaseDataContext.getMainSchema() |
protected String |
HBaseDataContext.getMainSchemaName() |
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 |
RolledBackUpdateException
Represents an exception during
JdbcDataContext.executeUpdate(org.apache.metamodel.UpdateScript) which was
rolled back at the JDBC layer. |
class |
UncheckedSQLException
MetaModel's representation of
SQLException that gets thrown out of an UpdateScript and gets
converted into a RolledBackUpdateException . |
Modifier and Type | Method and Description |
---|---|
static MetaModelException |
JdbcUtils.wrapException(SQLException e,
String actionDescription,
JdbcUtils.JdbcActionType actionType) |
Modifier and Type | Method and Description |
---|---|
DataSet |
JdbcDataContext.executeQuery(Query query) |
static MetaModelException |
JdbcUtils.wrapException(SQLException e,
String actionDescription,
JdbcUtils.JdbcActionType actionType) |
Modifier and Type | Method and Description |
---|---|
protected Schema |
JsonDataContext.getMainSchema() |
protected String |
JsonDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
KafkaDataContext.getMainSchema() |
protected String |
KafkaDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
MongoDbDataContext.getMainSchema() |
protected String |
MongoDbDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
MongoDbDataContext.getMainSchema() |
protected String |
MongoDbDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected String |
Neo4jDataContext.getDefaultSchemaName() |
protected Schema |
Neo4jDataContext.getMainSchema() |
protected String |
Neo4jDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
DataSet |
OpenOfficeDataContext.executeQuery(Query query) |
Constructor and Description |
---|
OpenOfficeDataContext(File dbFile) |
Modifier and Type | Method and Description |
---|---|
protected Schema |
PojoDataContext.getMainSchema() |
protected String |
PojoDataContext.getMainSchemaName() |
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 |
SalesforceUpdateBuilder.execute() |
protected Schema |
SalesforceDataContext.getMainSchema() |
protected String |
SalesforceDataContext.getMainSchemaName() |
Modifier and Type | Method and Description |
---|---|
protected Schema |
SugarCrmDataContext.getMainSchema() |
protected String |
SugarCrmDataContext.getMainSchemaName() |
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
Resource s. |
Modifier and Type | Method and Description |
---|---|
protected Schema |
XmlSaxDataContext.getMainSchema() |
protected Schema |
XmlDomDataContext.getMainSchema() |
protected String |
XmlSaxDataContext.getMainSchemaName() |
protected String |
XmlDomDataContext.getMainSchemaName() |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.