Package | Description |
---|---|
org.apache.metamodel |
Root package for MetaModel
|
org.apache.metamodel.cassandra | |
org.apache.metamodel.couchdb |
Module package for CouchDB support
|
org.apache.metamodel.elasticsearch | |
org.apache.metamodel.hbase |
Module package for Apache HBase
|
org.apache.metamodel.mongodb |
Module package for MongoDB support
|
org.apache.metamodel.pojo | |
org.apache.metamodel.schema.builder |
API for schema building.
|
org.apache.metamodel.spring | |
org.apache.metamodel.util |
Utilities and convenient classes
|
Modifier and Type | Method and Description |
---|---|
static UpdateableDataContext |
DataContextFactory.createCouchDbDataContext(String hostname,
Integer port,
String username,
String password,
SimpleTableDef[] tableDefs)
Creates a new CouchDB datacontext.
|
static UpdateableDataContext |
DataContextFactory.createMongoDbDataContext(String hostname,
Integer port,
String databaseName,
String username,
char[] password,
SimpleTableDef[] tableDefs)
Creates a new MongoDB datacontext.
|
Modifier and Type | Method and Description |
---|---|
static SimpleTableDef[] |
CassandraDataContext.detectSchema(com.datastax.driver.core.Cluster cluster,
String keyspaceName)
Performs an analysis of the given keyspace in a Cassandra cluster
Cluster instance and detects the cassandra types structure based
on the metadata provided by the datastax cassandra java client. |
static SimpleTableDef |
CassandraDataContext.detectTable(com.datastax.driver.core.TableMetadata tableMetaData)
Performs an analysis of an available table in Cassandra.
|
Constructor and Description |
---|
CassandraDataContext(com.datastax.driver.core.Cluster cluster,
String keySpace,
SimpleTableDef... tableDefs)
Constructs a
CassandraDataContext . |
Constructor and Description |
---|
CouchDbDataContext(org.ektorp.CouchDbInstance couchDbInstance,
SimpleTableDef... tableDefs) |
CouchDbDataContext(org.ektorp.http.HttpClient httpClient,
SimpleTableDef... tableDefs) |
CouchDbDataContext(org.ektorp.http.StdHttpClient.Builder httpClientBuilder,
SimpleTableDef... tableDefs) |
CouchDbSimpleTableDefSchemaBuilder(SimpleTableDef[] tableDefs) |
Modifier and Type | Method and Description |
---|---|
static SimpleTableDef[] |
ElasticSearchDataContext.detectSchema(org.elasticsearch.client.Client client,
String indexName)
Performs an analysis of the available indexes in an ElasticSearch cluster
Client instance and detects the elasticsearch types structure
based on the metadata provided by the ElasticSearch java client. |
static SimpleTableDef |
ElasticSearchDataContext.detectTable(org.elasticsearch.cluster.ClusterState cs,
String indexName,
String documentType)
Performs an analysis of an available index type in an ElasticSearch
Client client and tries to detect the index structure based on
the metadata provided by the java client. |
Constructor and Description |
---|
ElasticSearchDataContext(org.elasticsearch.client.Client client,
String indexName,
SimpleTableDef... tableDefs)
Constructs a
ElasticSearchDataContext . |
Modifier and Type | Method and Description |
---|---|
SimpleTableDef[] |
HBaseConfiguration.getTableDefinitions() |
Constructor and Description |
---|
HBaseConfiguration(String schemaName,
String zookeeperHostname,
int zookeeperPort,
SimpleTableDef[] tableDefinitions,
ColumnType defaultRowKeyType)
Creates a
HBaseConfiguration using detailed configuration
properties. |
HBaseConfiguration(String schemaName,
String zookeeperHostname,
int zookeeperPort,
SimpleTableDef[] tableDefinitions,
ColumnType defaultRowKeyType,
int hbaseClientRetries,
int zookeeperSessionTimeout,
int zookeeperRecoveryRetries)
Creates a
HBaseConfiguration using detailed configuration
properties. |
Modifier and Type | Class and Description |
---|---|
class |
MongoDbTableDef
Deprecated.
use
SimpleTableDef instead. |
Modifier and Type | Method and Description |
---|---|
static SimpleTableDef[] |
MongoDbDataContext.detectSchema(com.mongodb.DB db)
Performs an analysis of the available collections in a Mongo
DB
instance and tries to detect the table's structure based on the first
1000 documents in each collection. |
static SimpleTableDef |
MongoDbDataContext.detectTable(com.mongodb.DB db,
String collectionName)
Performs an analysis of an available collection in a Mongo
DB
instance and tries to detect the table structure based on the first 1000
documents in the collection. |
Constructor and Description |
---|
MongoDbDataContext(com.mongodb.DB mongoDb,
SimpleTableDef... tableDefs)
Constructs a
MongoDbDataContext . |
Modifier and Type | Method and Description |
---|---|
SimpleTableDef |
TableDataProvider.getTableDef() |
SimpleTableDef |
ObjectTableDataProvider.getTableDef() |
SimpleTableDef |
MapTableDataProvider.getTableDef() |
SimpleTableDef |
ArrayTableDataProvider.getTableDef() |
Constructor and Description |
---|
ArrayTableDataProvider(SimpleTableDef tableDef,
Collection<Object[]> arrays) |
MapTableDataProvider(SimpleTableDef tableDef,
Collection<Map<String,?>> maps) |
Constructor and Description |
---|
SimpleTableDefSchemaBuilder(String schemaName,
SimpleTableDef... simpleTableDefs) |
Modifier and Type | Method and Description |
---|---|
SimpleTableDef[] |
DataContextFactoryParameters.getTableDefs() |
SimpleTableDef[] |
DataContextFactoryBean.getTableDefs() |
Modifier and Type | Method and Description |
---|---|
void |
DataContextFactoryBean.setTableDefs(SimpleTableDef[] tableDefs) |
Modifier and Type | Method and Description |
---|---|
protected static SimpleTableDef |
SimpleTableDefParser.parseTableDef(String tableDefinitionText)
Parses a single table definition
|
static SimpleTableDef[] |
SimpleTableDefParser.parseTableDefs(String tableDefinitionsText)
Parses an array of table definitions.
|
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.