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.dynamodb | |
org.apache.metamodel.elasticsearch | |
org.apache.metamodel.elasticsearch.nativeclient | |
org.apache.metamodel.elasticsearch.rest | |
org.apache.metamodel.factory | |
org.apache.metamodel.hbase |
Module package for Apache HBase
|
org.apache.metamodel.mongodb.mongo2 |
Module package for MongoDB support
|
org.apache.metamodel.mongodb.mongo3 |
Module package for MongoDB support
|
org.apache.metamodel.neo4j |
Module package for Neo4j 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) |
Constructor and Description |
---|
DynamoDbDataContext(com.amazonaws.services.dynamodbv2.AmazonDynamoDB client,
SimpleTableDef[] tableDefs) |
DynamoDbDataContext(SimpleTableDef[] tableDefs) |
Modifier and Type | Field and Description |
---|---|
protected List<SimpleTableDef> |
AbstractElasticSearchDataContext.dynamicTableDefinitions |
protected List<SimpleTableDef> |
AbstractElasticSearchDataContext.staticTableDefinitions |
Modifier and Type | Method and Description |
---|---|
protected abstract SimpleTableDef[] |
AbstractElasticSearchDataContext.detectSchema()
Performs an analysis of the available indexes in an ElasticSearch
cluster instance and detects the elasticsearch types structure
based on the metadata provided by the ElasticSearch java client.
|
protected static SimpleTableDef[] |
AbstractElasticSearchDataContext.sortTables(List<SimpleTableDef> result) |
Modifier and Type | Method and Description |
---|---|
protected static SimpleTableDef[] |
AbstractElasticSearchDataContext.sortTables(List<SimpleTableDef> result) |
Constructor and Description |
---|
AbstractElasticSearchDataContext(String indexName,
SimpleTableDef... tableDefinitions)
Constructs a
AbstractElasticSearchDataContext . |
Modifier and Type | Method and Description |
---|---|
protected SimpleTableDef[] |
ElasticSearchDataContext.detectSchema() |
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... tableDefinitions)
Constructs a
ElasticSearchDataContext . |
Modifier and Type | Method and Description |
---|---|
protected SimpleTableDef[] |
ElasticSearchRestDataContext.detectSchema() |
Constructor and Description |
---|
ElasticSearchRestDataContext(ElasticSearchRestClient client,
String indexName,
SimpleTableDef... tableDefinitions)
Constructs a
ElasticSearchRestDataContext . |
Modifier and Type | Method and Description |
---|---|
SimpleTableDef[] |
DataContextPropertiesImpl.getTableDefs() |
SimpleTableDef[] |
DataContextProperties.getTableDefs() |
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 | 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 |
---|---|
static SimpleTableDef[] |
MongoDbDataContext.detectSchema(com.mongodb.client.MongoDatabase mongoDb)
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.client.MongoDatabase mongoDb,
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.client.MongoDatabase mongoDb,
SimpleTableDef... tableDefs)
Constructs a
MongoDbDataContext . |
Modifier and Type | Method and Description |
---|---|
SimpleTableDef[] |
Neo4jDataContext.detectTableDefs() |
Constructor and Description |
---|
Neo4jDataContext(String hostname,
int port,
org.apache.http.impl.client.CloseableHttpClient httpClient,
SimpleTableDef... tableDefs) |
Neo4jDataContext(String hostname,
int port,
org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceRoot,
SimpleTableDef... tableDefs) |
Neo4jDataContext(String hostname,
int port,
String username,
String password,
SimpleTableDef... tableDefs) |
Neo4jDataContext(String hostname,
int port,
String username,
String password,
String serviceRoot,
SimpleTableDef... tableDefs) |
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–2019 The Apache Software Foundation. All rights reserved.