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.csv |
Module package for Comma Separated Values (CSV) files
|
org.apache.metamodel.data |
API for data sets
|
org.apache.metamodel.delete |
API for deleting rows
|
org.apache.metamodel.elasticsearch | |
org.apache.metamodel.hbase |
Module package for Apache HBase
|
org.apache.metamodel.jdbc |
Module package for JDBC compliant databases
|
org.apache.metamodel.jdbc.dialects | |
org.apache.metamodel.mongodb |
Module package for MongoDB support
|
org.apache.metamodel.query |
API for querying
|
org.apache.metamodel.query.builder |
API for query building
|
org.apache.metamodel.salesforce | |
org.apache.metamodel.sugarcrm | |
org.apache.metamodel.update |
API for updating rows
|
Modifier and Type | Method and Description |
---|---|
static DataSet |
MetaModelHelper.getCarthesianProduct(DataSet[] fromDataSets,
FilterItem... filterItems) |
static DataSet |
MetaModelHelper.getFiltered(DataSet dataSet,
FilterItem... filterItems) |
static DataSet |
MetaModelHelper.getLeftJoin(DataSet ds1,
DataSet ds2,
FilterItem[] onConditions)
Performs a left join (aka left outer join) operation on two datasets.
|
static DataSet |
MetaModelHelper.getRightJoin(DataSet ds1,
DataSet ds2,
FilterItem[] onConditions)
Performs a right join (aka right outer join) operation on two datasets.
|
Modifier and Type | Method and Description |
---|---|
protected Number |
QueryPostprocessDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed)
Executes a simple count query, if possible.
|
static DataSet |
MetaModelHelper.getCarthesianProduct(DataSet[] fromDataSets,
Iterable<FilterItem> whereItems) |
static List<SelectItem> |
MetaModelHelper.getEvaluatedSelectItems(List<FilterItem> items) |
static DataSet |
MetaModelHelper.getFiltered(DataSet dataSet,
Iterable<FilterItem> filterItems) |
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) |
Modifier and Type | Method and Description |
---|---|
protected Number |
CassandraDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
protected Number |
CouchDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
protected Number |
CsvDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
T |
WhereClauseBuilder.where(FilterItem... filterItems)
Applies where items to set criteria
|
Modifier and Type | Method and Description |
---|---|
T |
WhereClauseBuilder.where(Iterable<FilterItem> filterItems)
Applies where items to set criteria
|
Modifier and Type | Method and Description |
---|---|
protected List<FilterItem> |
AbstractRowDeletionBuilder.getWhereItems() |
Modifier and Type | Method and Description |
---|---|
DeleteFrom |
DeleteFrom.where(FilterItem... filterItems) |
RowDeletionBuilder |
AbstractRowDeletionBuilder.where(FilterItem... filterItems) |
Modifier and Type | Method and Description |
---|---|
DeleteFrom |
DeleteFrom.where(Iterable<FilterItem> filterItems) |
RowDeletionBuilder |
AbstractRowDeletionBuilder.where(Iterable<FilterItem> filterItems) |
Modifier and Type | Method and Description |
---|---|
protected org.elasticsearch.index.query.QueryBuilder |
ElasticSearchDataContext.createQueryBuilderForSimpleWhere(Table table,
List<FilterItem> whereItems,
LogicalOperator logicalOperator)
Creates, if possible, a
QueryBuilder object which can be used to
push down one or more FilterItem s to ElasticSearch's backend. |
protected Number |
ElasticSearchDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected DataSet |
ElasticSearchDataContext.materializeMainSchemaTable(Table table,
List<SelectItem> selectItems,
List<FilterItem> whereItems,
int firstRow,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected Number |
HBaseDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
static boolean |
JdbcUtils.isPreparedParameterCandidate(FilterItem whereItem)
Determines if a particular
FilterItem will have it's parameter
(operand) replaced during SQL generation. |
Modifier and Type | Method and Description |
---|---|
static String |
JdbcUtils.createWhereClause(List<FilterItem> whereItems,
IQueryRewriter queryRewriter,
boolean inlineValues) |
Modifier and Type | Method and Description |
---|---|
String |
SQLServerQueryRewriter.rewriteFilterItem(FilterItem item) |
String |
IQueryRewriter.rewriteFilterItem(FilterItem whereItem) |
String |
HsqldbQueryRewriter.rewriteFilterItem(FilterItem item) |
String |
DefaultQueryRewriter.rewriteFilterItem(FilterItem item) |
String |
DB2QueryRewriter.rewriteFilterItem(FilterItem item) |
String |
AbstractQueryRewriter.rewriteFilterItem(FilterItem item) |
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) |
Modifier and Type | Method and Description |
---|---|
protected FilterItem |
FilterItem.clone() |
FilterItem[] |
FilterItem.getChildItems()
Gets the
FilterItem s that this filter item consists of, if it is
a compound filter item. |
FilterItem[] |
FilterItem.getOrItems()
Deprecated.
use
getChildItems() instead |
FilterItem |
FilterItem.setQuery(Query query) |
Modifier and Type | Method and Description |
---|---|
Query |
Query.having(FilterItem... items) |
Query |
Query.where(FilterItem... items) |
Modifier and Type | Method and Description |
---|---|
Query |
Query.where(Iterable<FilterItem> items) |
Constructor and Description |
---|
FilterItem(FilterItem... items)
Creates a compound filter item based on other filter items.
|
FilterItem(LogicalOperator logicalOperator,
FilterItem... items)
Creates a compound filter item based on other filter items.
|
Constructor and Description |
---|
FilterItem(List<FilterItem> items)
Creates a composite filter item based on other filter items.
|
FilterItem(LogicalOperator logicalOperator,
List<FilterItem> items)
Creates a compound filter item based on other filter items.
|
Modifier and Type | Method and Description |
---|---|
protected abstract B |
AbstractFilterBuilder.applyFilter(FilterItem filter) |
SatisfiedQueryBuilder<B> |
SatisfiedQueryBuilder.where(FilterItem... filters) |
Modifier and Type | Method and Description |
---|---|
SatisfiedQueryBuilder<B> |
SatisfiedQueryBuilder.where(Iterable<FilterItem> filters) |
Modifier and Type | Method and Description |
---|---|
protected static void |
SalesforceDataContext.rewriteFilterItem(StringBuilder sb,
FilterItem filterItem) |
Modifier and Type | Method and Description |
---|---|
protected Number |
SalesforceDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
protected Number |
SugarCrmDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
protected List<FilterItem> |
AbstractRowUpdationBuilder.getWhereItems() |
Modifier and Type | Method and Description |
---|---|
Update |
Update.where(FilterItem... filterItems) |
RowUpdationBuilder |
AbstractRowUpdationBuilder.where(FilterItem... filterItems) |
Modifier and Type | Method and Description |
---|---|
Update |
Update.where(Iterable<FilterItem> filterItems) |
RowUpdationBuilder |
AbstractRowUpdationBuilder.where(Iterable<FilterItem> filterItems) |
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.