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) |
static InMemoryDataSet |
MetaModelHelper.nestedLoopJoin(DataSet innerLoopDs,
DataSet outerLoopDs,
Iterable<FilterItem> filtersIterable)
Executes a simple nested loop join.
|
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 Number |
DynamoDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
static org.elasticsearch.index.query.QueryBuilder |
ElasticSearchUtils.createQueryBuilderForSimpleWhere(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. |
Modifier and Type | Method and Description |
---|---|
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 |
ElasticSearchRestDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected DataSet |
ElasticSearchRestDataContext.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 |
OracleQueryRewriter.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) |
protected String |
DefaultQueryRewriter.rewriteFilterItemWithOperandLiteral(FilterItem item,
String operandLiteral)
Rewrites a (non-compound)
FilterItem when it's operand has already been rewritten into a SQL literal. |
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 org.bson.Document |
MongoDbDataContext.createMongoDbQuery(Table table,
List<FilterItem> whereItems) |
protected Number |
MongoDbDataContext.executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
Modifier and Type | Method and Description |
---|---|
static String |
Neo4jCypherQueryBuilder.buildCountQuery(String tableName,
List<FilterItem> whereItems) |
protected Number |
Neo4jDataContext.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.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–2017 The Apache Software Foundation. All rights reserved.