Modifier and Type | Interface and Description |
---|---|
interface |
UpdateableDataContext
Represents a
DataContext that supports updating write-operations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataContext
Abstract implementation of the DataContext interface.
|
class |
CompositeDataContext
DataContext for composite datacontexts.
|
class |
QueryPostprocessDataContext
Abstract DataContext for data sources that do not support SQL queries
natively.
|
class |
QueryPostprocessDelegate
A simple subclass of
QueryPostprocessDataContext which provides less
implementation fuzz when custom querying features (like composite
datacontexts or type conversion) is needed. |
Modifier and Type | Method and Description |
---|---|
static DataContext |
DataContextFactory.createCassandraDataContext(com.datastax.driver.core.Cluster cluster,
String keySpaceName)
Creates a new Cassandra datacontext.
|
static DataContext |
DataContextFactory.createCompositeDataContext(Collection<DataContext> delegates)
Creates a composite DataContext based on a set of delegate DataContexts.
|
static DataContext |
DataContextFactory.createCompositeDataContext(DataContext... delegates)
Creates a composite DataContext based on a set of delegate DataContexts.
|
static DataContext |
DataContextFactory.createCsvDataContext(InputStream inputStream,
char separatorChar,
char quoteChar)
Creates a DataContext based on CSV-content through an input stream
|
static DataContext |
DataContextFactory.createCsvDataContext(InputStream inputStream,
char separatorChar,
char quoteChar,
String encoding)
Creates a DataContext based on CSV-content through an input stream
|
static DataContext |
DataContextFactory.createCsvDataContext(InputStream inputStream,
CsvConfiguration configuration)
Creates a DataContext based on CSV-content through an input stream
|
static DataContext |
DataContextFactory.createFixedWidthDataContext(File file,
FixedWidthConfiguration configuration)
Creates a DataContext based on a fixed width file.
|
static DataContext |
DataContextFactory.createFixedWidthDataContext(File file,
String fileEncoding,
int fixedValueWidth)
Creates a DataContext based on a fixed width file.
|
static DataContext |
DataContextFactory.createFixedWidthDataContext(File file,
String fileEncoding,
int fixedValueWidth,
int headerLineNumber)
Creates a DataContext based on a fixed width file.
|
static DataContext |
DataContextFactory.createJsonDataContext(File file)
Creates a DataContext based on a JSON file
|
static DataContext |
DataContextFactory.createOpenOfficeDataContext(File file)
Creates a DataContext based on an OpenOffice.org database file.
|
static DataContext |
DataContextFactory.createSalesforceDataContext(String username,
String password,
String securityToken)
Creates a DataContext that connects to a Salesforce.com instance.
|
static DataContext |
DataContextFactory.createSugarCrmDataContext(String baseUrl,
String username,
String password,
String applicationName)
Create a DataContext that connects to a SugarCRM system.
|
static DataContext |
DataContextFactory.createXmlDataContext(File file,
boolean autoFlattenTables)
Creates a DataContext based on XML-content from a File.
|
static DataContext |
DataContextFactory.createXmlDataContext(InputSource inputSource,
String schemaName,
boolean autoFlattenTables)
Creates a DataContext based on XML-content from an input source.
|
static DataContext |
DataContextFactory.createXmlDataContext(URL url,
boolean autoFlattenTables)
Creates a DataContext based on XML-content from a URL.
|
DataContext |
UpdateCallback.getDataContext()
Gets the DataContext on which the update script is being executed.
|
DataContext |
AbstractUpdateCallback.getDataContext() |
DataContext |
DataContext.refreshSchemas()
Enforces a refresh of the schemas.
|
DataContext |
AbstractDataContext.refreshSchemas()
Enforces a refresh of the schemas.
|
Modifier and Type | Method and Description |
---|---|
static DataContext |
DataContextFactory.createCompositeDataContext(DataContext... delegates)
Creates a composite DataContext based on a set of delegate DataContexts.
|
static Row |
MetaModelHelper.executeSingleRowQuery(DataContext dataContext,
Query query)
Executes a single row query, like "SELECT COUNT(*), MAX(SOME_COLUMN) FROM
MY_TABLE" or similar.
|
static Query |
MetaModelHelper.parseQuery(DataContext dc,
String queryString) |
Modifier and Type | Method and Description |
---|---|
static DataContext |
DataContextFactory.createCompositeDataContext(Collection<DataContext> delegates)
Creates a composite DataContext based on a set of delegate DataContexts.
|
Constructor and Description |
---|
AbstractUpdateCallback(DataContext dataContext) |
CompositeDataContext(DataContext... delegates) |
Constructor and Description |
---|
CompositeDataContext(Collection<DataContext> delegates) |
Modifier and Type | Class and Description |
---|---|
class |
CassandraDataContext
DataContext implementation for Apache Cassandra database.
|
Modifier and Type | Method and Description |
---|---|
static DataContext |
Converters.addTypeConverter(DataContext dataContext,
Column column,
TypeConverter<?,?> converter)
Adds a type converter to a specific column in the
DataContext . |
static DataContext |
Converters.addTypeConverters(DataContext dataContext,
Map<Column,TypeConverter<?,?>> converters)
Adds a collection of type converters to specific columns in the
DataContext |
Modifier and Type | Method and Description |
---|---|
static DataContext |
Converters.addTypeConverter(DataContext dataContext,
Column column,
TypeConverter<?,?> converter)
Adds a type converter to a specific column in the
DataContext . |
static DataContext |
Converters.addTypeConverters(DataContext dataContext,
Map<Column,TypeConverter<?,?>> converters)
Adds a collection of type converters to specific columns in the
DataContext |
static Map<Column,TypeConverter<?,?>> |
Converters.autoDetectConverters(DataContext dataContext,
Column[] columns,
int sampleSize)
Auto-detects / guesses the type converters to be applied on set of
columns.
|
static Map<Column,TypeConverter<?,?>> |
Converters.autoDetectConverters(DataContext dataContext,
Table table,
int sampleSize)
Auto-detects / guesses the type converters to be applied on a table.
|
Modifier and Type | Class and Description |
---|---|
class |
CouchDbDataContext
DataContext implementation for CouchDB
|
Modifier and Type | Class and Description |
---|---|
class |
CsvDataContext
DataContext implementation for reading CSV files.
|
Modifier and Type | Class and Description |
---|---|
class |
ElasticSearchDataContext
DataContext implementation for ElasticSearch analytics engine.
|
Modifier and Type | Class and Description |
---|---|
class |
ElasticSearchRestDataContext
DataContext implementation for ElasticSearch analytics engine.
|
Modifier and Type | Class and Description |
---|---|
class |
ExcelDataContext
DataContext implementation to use for Excel spreadsheets. |
Modifier and Type | Class and Description |
---|---|
class |
FixedWidthDataContext
DataContext implementation for fixed width value files.
|
Modifier and Type | Class and Description |
---|---|
class |
HBaseDataContext
MetaModel adaptor for Apache HBase.
|
Modifier and Type | Class and Description |
---|---|
class |
InterceptableDataContext |
Modifier and Type | Method and Description |
---|---|
DataContext |
InterceptableDataContext.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static InterceptableDataContext |
Interceptors.intercept(DataContext dc) |
Constructor and Description |
---|
InterceptableDataContext(DataContext delegate) |
Modifier and Type | Class and Description |
---|---|
class |
JdbcDataContext
DataContextStrategy to use for JDBC-compliant databases
|
Constructor and Description |
---|
QuerySplitter(DataContext dc,
Query q) |
Modifier and Type | Class and Description |
---|---|
class |
JsonDataContext
DataContext implementation that works on JSON files or
Resource s. |
Modifier and Type | Class and Description |
---|---|
class |
MongoDbDataContext
DataContext implementation for MongoDB.
|
Modifier and Type | Class and Description |
---|---|
class |
Neo4jDataContext
DataContext implementation for Neo4j
|
Modifier and Type | Class and Description |
---|---|
class |
OpenOfficeDataContext |
Modifier and Type | Class and Description |
---|---|
class |
PojoDataContext
A
DataContext used to serve MetaModel support for collections of Java
objects and key/value maps. |
Constructor and Description |
---|
InitFromBuilderImpl(DataContext dataContext) |
Constructor and Description |
---|
QueryParser(DataContext dataContext,
String queryString) |
Modifier and Type | Class and Description |
---|---|
class |
SalesforceDataContext
A datacontext that uses the Salesforce API.
|
Modifier and Type | Method and Description |
---|---|
DataContext |
PojoDataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params) |
DataContext |
MongoDbDataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params) |
DataContext |
JdbcDataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params) |
DataContext |
ExcelDataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params) |
DataContext |
DataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params)
Creates the particular
DataContext object. |
DataContext |
CsvDataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params) |
DataContext |
CouchDbDataContextFactoryBeanDelegate.createDataContext(DataContextFactoryParameters params) |
DataContext |
DataContextFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
Class<DataContext> |
DataContextFactoryBean.getObjectType() |
Modifier and Type | Class and Description |
---|---|
class |
SugarCrmDataContext
A DataContext that uses the SugarCRM SOAP web services to fetch data from the
CRM system.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlDataContext
Deprecated.
use
XmlDomDataContext or XmlSaxDataContext
instead. |
class |
XmlDomDataContext
A DataContext strategy that reads XML content and maps it to a table-based
model similar to the rest of MetaModel.
|
class |
XmlSaxDataContext
XML datacontext which uses SAX parsing for fast and memory effecient reading
of XML files.
|
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.