public static final class GenericQuery.GenericBuilder extends Query.Builder<java.lang.Object> implements QueryBuilderTools
GenericQuery
.
The objective of this builder is to help the developer to construct a Query in a more organic way to ease development and avoid invalid configurations.
Each method returns the same Builder instance, but it is bound by interface which the method returns. This way is simulating a flow and the available valid configurations after the current configuration.
Modifier and Type | Class and Description |
---|---|
static class |
GenericQuery.GenericBuilder.Aggregator
This class encapsulates all the available Aggregation Functions
in a more object oriented way.
|
static class |
GenericQuery.GenericBuilder.FilterOpLiteral
This class is available as a preview of functionality that will be added to
the supported public API in a future release.
|
static class |
GenericQuery.GenericBuilder.LogicalOp
This class is available as a preview of functionality that will be added to
the supported public API in a future release.
|
static class |
GenericQuery.GenericBuilder.Order
This class is available as a preview of functionality that will be added to
the supported public API in a future release.
|
static class |
GenericQuery.GenericBuilder.SearchOp
This class is available as a preview of functionality that will be added to
the supported public API in a future release.
|
static class |
GenericQuery.GenericBuilder.Selector
This is how you instantiate columns to configure a query for
selection, grouping or aggregation.
|
QueryBuilder.Aggregating<T>, QueryBuilder.Filtering<T>, QueryBuilder.FilteringCriteria<T>, QueryBuilder.Grouping<T>, QueryBuilder.Paging<T>, QueryBuilder.Selecting<T>, QueryBuilder.Sorting<T>
Modifier | Constructor and Description |
---|---|
protected |
GenericBuilder()
Initializes a newly created
GenericBuilder |
protected |
GenericBuilder(Query<java.lang.Object> query)
Constructs a
GenericBuilder using the given Query as a base |
Modifier and Type | Method and Description |
---|---|
protected LogicalExpression<?> |
newLogicalOperation(LogicalOperator lo,
java.util.List<Criteria> conditions)
Returns a
GenericLogicalExpression instance |
protected GenericBuilder()
GenericBuilder
protected GenericBuilder(Query<java.lang.Object> query)
GenericBuilder
using the given Query
as a basequery
- a Query
protected LogicalExpression<?> newLogicalOperation(LogicalOperator lo, java.util.List<Criteria> conditions)
GenericLogicalExpression
instancenewLogicalOperation
in class Query.Builder<java.lang.Object>
lo
- logical operation type represented by LogicalOperator
conditions
- GenericLogicalExpression
instanceCopyright © 2003-2024 Appian Corporation. All Rights Reserved.