Modifier and Type | Method and Description |
---|---|
Table |
DataContext.getTableByQualifiedLabel(String tableName)
Finds a table in the DataContext based on a fully qualified table label.
|
Table |
AbstractDataContext.getTableByQualifiedLabel(String tableName)
Finds a table in the DataContext based on a fully qualified table label.
|
static Table[] |
MetaModelHelper.getTables(Collection<Table> tableList,
Iterable<Column> columnList)
Creates an array of tables where all occurences of tables in the provided
list of tables and columns are included
|
static Table[] |
MetaModelHelper.getTables(Column[] columns) |
static Table[] |
MetaModelHelper.getTables(Iterable<Column> columns)
Converts a list of columns to a corresponding array of tables
|
Modifier and Type | Method and Description |
---|---|
protected Number |
QueryPostprocessDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed)
Executes a simple count query, if possible.
|
protected Row |
QueryPostprocessDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue)
Executes a query which obtains a row by primary key (as defined by
Column.isPrimaryKey() ). |
static Column[] |
MetaModelHelper.getTableColumns(Table table,
Column[] columns)
Creates a subset array of columns, where only columns that are contained
within the specified table are included.
|
static Column[] |
MetaModelHelper.getTableColumns(Table table,
Iterable<Column> columns)
Creates a subset array of columns, where only columns that are contained
within the specified table are included.
|
protected boolean |
QueryPostprocessDataContext.isMainSchemaTable(Table table) |
protected abstract DataSet |
QueryPostprocessDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows)
Executes a simple one-table query against a table in the main schema of
the subclasses of this class.
|
protected DataSet |
QueryPostprocessDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int firstRow,
int maxRows)
Executes a simple one-table query against a table in the main schema of
the subclasses of this class.
|
protected DataSet |
QueryPostprocessDataContext.materializeMainSchemaTable(Table table,
List<SelectItem> selectItems,
int firstRow,
int maxRows)
Executes a simple one-table query against a table in the main schema of
the subclasses of this class.
|
protected DataSet |
QueryPostprocessDataContext.materializeMainSchemaTable(Table table,
List<SelectItem> selectItems,
List<FilterItem> whereItems,
int firstRow,
int maxRows)
Execute a simple one-table query against a table in the main schema of
the subclasses of this class.
|
protected DataSet |
QueryPostprocessDataContext.materializeTable(Table table,
List<SelectItem> selectItems,
List<FilterItem> whereItems,
int firstRow,
int maxRows) |
RowUpdationBuilder |
AbstractUpdateCallback.update(Table table) |
Modifier and Type | Method and Description |
---|---|
static Table[] |
MetaModelHelper.getTables(Collection<Table> tableList,
Iterable<Column> columnList)
Creates an array of tables where all occurences of tables in the provided
list of tables and columns are included
|
Constructor and Description |
---|
DeleteAndInsertBuilder(AbstractUpdateCallback updateCallback,
Table table) |
Modifier and Type | Method and Description |
---|---|
protected Number |
CassandraDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
CassandraDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
CassandraDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
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 | Method and Description |
---|---|
protected Number |
CouchDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
CouchDbDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
DocumentConverter |
CouchDbSimpleTableDefSchemaBuilder.getDocumentConverter(Table table) |
protected DataSet |
CouchDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected DataSet |
CouchDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int firstRow,
int maxRows) |
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 . |
Table |
TableCreationBuilder.toTable()
Returns this builder instance as a table.
|
Table |
AbstractTableCreationBuilder.toTable() |
Modifier and Type | Method and Description |
---|---|
TableCreationBuilder |
TableCreationBuilder.like(Table table)
Builds this table's columns based on another
Table which will be
used as a prototype. |
TableCreationBuilder |
AbstractTableCreationBuilder.like(Table table) |
Modifier and Type | Method and Description |
---|---|
protected Number |
CsvDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
DataSet |
CsvDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
Table |
RowBuilder.getTable()
Gets the table that this row builder pertains to.
|
Constructor and Description |
---|
AbstractRowBuilder(Table table) |
Modifier and Type | Method and Description |
---|---|
Table |
RowDeletionBuilder.getTable()
Gets the table that this delete statement pertains to.
|
Table |
AbstractRowDeletionBuilder.getTable() |
Modifier and Type | Method and Description |
---|---|
RowDeletionBuilder |
RowDeletable.deleteFrom(Table table)
Initiates a row deletion builder.
|
Constructor and Description |
---|
AbstractRowDeletionBuilder(Table table) |
DeleteFrom(Table table) |
Modifier and Type | Method and Description |
---|---|
Table |
TableDropBuilder.getTable()
Gets the table that this drop statement pertains to
|
Table |
AbstractTableDropBuilder.getTable() |
Modifier and Type | Method and Description |
---|---|
TableDropBuilder |
TableDroppable.dropTable(Table table) |
Constructor and Description |
---|
AbstractTableDropBuilder(Table table) |
DropTable(Table table) |
Modifier and Type | Method and Description |
---|---|
protected Number |
DynamoDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
DynamoDbDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
DynamoDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected Number |
ElasticSearchDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
ElasticSearchDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
ElasticSearchDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected DataSet |
ElasticSearchDataContext.materializeMainSchemaTable(Table table,
List<SelectItem> selectItems,
List<FilterItem> whereItems,
int firstRow,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected Number |
ElasticSearchRestDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
ElasticSearchRestDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
ElasticSearchRestDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected DataSet |
ElasticSearchRestDataContext.materializeMainSchemaTable(Table table,
List<SelectItem> selectItems,
List<FilterItem> whereItems,
int firstRow,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
DataSet |
ExcelDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
DataSet |
FixedWidthDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected Number |
HBaseDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
HBaseDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
HBaseDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
Table |
RowInsertionBuilder.getTable()
Gets the table that this insert pertains to.
|
Table |
InsertInto.getTable() |
Table |
AbstractRowInsertionBuilder.getTable() |
Modifier and Type | Method and Description |
---|---|
RowInsertionBuilder |
RowInsertable.insertInto(Table table)
Initiates the building of a row insertion operation.
|
Constructor and Description |
---|
AbstractRowInsertionBuilder(U updateCallback,
Table table) |
InsertInto(Table table) |
Modifier and Type | Method and Description |
---|---|
Table |
InterceptableDataContext.getTableByQualifiedLabel(String tableName) |
Modifier and Type | Method and Description |
---|---|
protected DataSet |
JsonDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected com.mongodb.BasicDBObject |
MongoDbDataContext.createMongoDbQuery(Table table,
List<FilterItem> whereItems) |
protected Number |
MongoDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
MongoDbDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
MongoDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected DataSet |
MongoDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int firstRow,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected org.bson.Document |
MongoDbDataContext.createMongoDbQuery(Table table,
List<FilterItem> whereItems) |
protected Number |
MongoDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
MongoDbDataContext.executePrimaryKeyLookupQuery(Table table,
List<SelectItem> selectItems,
Column primaryKeyColumn,
Object keyValue) |
protected DataSet |
MongoDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected DataSet |
MongoDbDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int firstRow,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
static String |
Neo4jCypherQueryBuilder.buildSelectQuery(Table table,
Column[] columns,
int firstRow,
int maxRows) |
protected Number |
Neo4jDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected DataSet |
Neo4jDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected DataSet |
Neo4jDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int firstRow,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected DataSet |
PojoDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
Table |
FromItem.getTable() |
Modifier and Type | Method and Description |
---|---|
Query |
Query.from(Table table) |
Query |
Query.from(Table table,
String alias) |
Query |
Query.from(Table leftTable,
Table rightTable,
JoinType joinType,
Column leftOnColumn,
Column rightOnColumn) |
String |
FromItem.getAlias(Table table)
Gets the alias of a table, if it is registered (and visible, ie.
|
String |
FromClause.getAlias(Table table)
Gets the alias of a table, if it is registered (and visible, ie.
|
Constructor and Description |
---|
FromItem(Table table)
Constructor for table FROM clauses
|
Modifier and Type | Method and Description |
---|---|
TableFromBuilder |
SatisfiedFromBuilder.and(Table table) |
TableFromBuilder |
InitFromBuilderImpl.from(Table table) |
TableFromBuilder |
InitFromBuilder.from(Table table) |
JoinFromBuilder |
TableFromBuilder.innerJoin(Table table) |
JoinFromBuilder |
TableFromBuilder.leftJoin(Table table) |
JoinFromBuilder |
TableFromBuilder.rightJoin(Table table) |
Modifier and Type | Method and Description |
---|---|
protected Number |
SalesforceDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected DataSet |
SalesforceDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Constructor and Description |
---|
SalesforceUpdateBuilder(org.apache.metamodel.salesforce.SalesforceUpdateCallback updateCallback,
Table table) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTable
Abstract
Table implementation. |
class |
MutableTable
Represents the metadata about a table.
|
Modifier and Type | Method and Description |
---|---|
protected static Table |
AbstractRelationship.checkSameTable(Column[] columns) |
Table |
Relationship.getForeignTable()
Gets the table of the foreign key column(s).
|
Table |
AbstractRelationship.getForeignTable() |
Table |
Relationship.getPrimaryTable()
Gets the table of the primary key column(s).
|
Table |
AbstractRelationship.getPrimaryTable() |
Table |
MutableColumn.getTable() |
Table |
ImmutableColumn.getTable() |
Table |
Column.getTable()
Gets the table for which this column belong
|
Table |
Schema.getTable(int index)
Gets a table by index.
|
Table |
AbstractSchema.getTable(int index) |
Table |
Schema.getTableByName(String tableName)
Convenience method for retrieving a table by it's name.
|
Table |
AbstractSchema.getTableByName(String tableName) |
Table[] |
Schema.getTables()
Gets all tables in this Schema.
|
Table[] |
ImmutableSchema.getTables() |
Table[] |
CompositeSchema.getTables() |
Table[] |
Schema.getTables(TableType type)
Gets all tables in this Schema of a particular type.
|
Table[] |
AbstractSchema.getTables(TableType type) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractTable.compareTo(Table that) |
Relationship[] |
Table.getRelationships(Table otherTable)
Gets relationships between this table and another table.
|
Relationship[] |
AbstractTable.getRelationships(Table otherTable) |
MutableSchema |
MutableSchema.removeTable(Table table) |
MutableColumn |
MutableColumn.setTable(Table table) |
Constructor and Description |
---|
ImmutableColumn(Column column,
Table table)
Constructs an
ImmutableColumn based on an existing column and a
table. |
ImmutableColumn(String name,
ColumnType type,
Table table,
int columnNumber,
Integer columnSize,
String nativeType,
Boolean nullable,
String remarks,
boolean indexed,
String quote,
boolean primaryKey)
Constructs a new
ImmutableColumn . |
MutableColumn(String name,
ColumnType type,
Table table,
int columnNumber,
Boolean nullable) |
MutableColumn(String name,
ColumnType type,
Table table,
int columnNumber,
Integer columnSize,
String nativeType,
Boolean nullable,
String remarks,
boolean indexed,
String quote) |
MutableColumn(String name,
Table table) |
Modifier and Type | Method and Description |
---|---|
DocumentConverter |
SingleTableInferentialSchemaBuilder.getDocumentConverter(Table table) |
DocumentConverter |
SingleMapColumnSchemaBuilder.getDocumentConverter(Table table) |
DocumentConverter |
SimpleTableDefSchemaBuilder.getDocumentConverter(Table table) |
DocumentConverter |
SchemaBuilder.getDocumentConverter(Table table)
Gets a
DocumentConverter for a table in the produced schema |
DocumentConverter |
MultiTableInferentialSchemaBuilder.getDocumentConverter(Table table) |
Modifier and Type | Method and Description |
---|---|
Table |
ColumnNamingContextImpl.getTable() |
Table |
ColumnNamingContext.getTable()
Gets the
Table that the column is to pertain to. |
Constructor and Description |
---|
ColumnNamingContextImpl(Table table,
String intrinsicColumnName,
int columnIndex) |
Modifier and Type | Method and Description |
---|---|
protected Number |
SugarCrmDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected DataSet |
SugarCrmDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
Table |
Update.getTable() |
Table |
RowUpdationBuilder.getTable()
Gets the table that this update pertains to.
|
Table |
AbstractRowUpdationBuilder.getTable() |
Modifier and Type | Method and Description |
---|---|
RowUpdationBuilder |
RowUpdateable.update(Table table)
Initiates a row updation builder.
|
Constructor and Description |
---|
AbstractRowUpdationBuilder(Table table) |
Update(Table table) |
Constructor and Description |
---|
SimpleTableDef(Table table)
Constructs a
SimpleTableDef using a Table as a prototype. |
Modifier and Type | Method and Description |
---|---|
protected DataSet |
XmlSaxDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
DataSet |
XmlDomDataContext.materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.