Package | Description |
---|---|
org.apache.metamodel.query |
API for querying
|
org.apache.metamodel.query.builder |
API for query building
|
org.apache.metamodel.util |
Utilities and convenient classes
|
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateFunction
Interface that contains the aggregation specific methods
related to the AggregateBuilder.
|
interface |
ScalarFunction
Interface that contains scalar specific methods.
|
Modifier and Type | Class and Description |
---|---|
class |
AverageAggregateFunction |
class |
CountAggregateFunction |
class |
DefaultAggregateFunction<T>
Implementation of the
AggregateFunction . |
class |
DefaultScalarFunction |
class |
FirstAggregateFunction |
class |
LastAggregateFunction |
class |
MapValueFunction
Represents a function that retrieves a value from within a column of type
ColumnType.MAP or similar. |
class |
MaxAggregateFunction |
class |
MinAggregateFunction |
class |
RandomAggregateFunction |
class |
SumAggregateFunction |
class |
ToBooleanFunction |
class |
ToDateFunction |
class |
ToNumberFunction |
class |
ToStringFunction |
Modifier and Type | Method and Description |
---|---|
static FunctionType |
FunctionTypeFactory.get(String functionName) |
Modifier and Type | Method and Description |
---|---|
Query |
Query.having(FunctionType function,
Column column,
OperatorType operatorType,
Object operand) |
SelectItem |
SelectItem.replaceFunction(FunctionType function)
Creates a copy of the
SelectItem , with a different FunctionType . |
Query |
Query.select(FunctionType functionType,
Column column) |
Constructor and Description |
---|
SelectItem(FunctionType function,
Column column)
Creates a SelectItem that uses a function on a column, for example SUM(price) or MAX(age)
|
SelectItem(FunctionType function,
Column column,
FromItem fromItem)
Creates a SelectItem that uses a function on a column from a particular
FromItem , for example
SUM(a.price) or MAX(p.age) |
SelectItem(FunctionType function,
Object[] functionParameters,
Column column)
Create a SelectItem that uses a function with parameters on a column.
|
SelectItem(FunctionType function,
Object[] functionParameters,
Column column,
FromItem fromItem)
Creates a SelectItem that uses a function with parameters on a column from a particular
FromItem , for
example MAP_VALUE('path.to.value', doc) |
SelectItem(FunctionType function,
String expression,
String alias)
Creates a SelectItem based on a function and an expression.
|
Modifier and Type | Method and Description |
---|---|
FunctionSelectBuilder<B> |
SatisfiedSelectBuilder.and(FunctionType function,
Column column) |
HavingBuilder |
SatisfiedHavingBuilder.and(FunctionType functionType,
Column column) |
HavingBuilder |
GroupedQueryBuilder.having(FunctionType functionType,
Column column) |
HavingBuilder |
SatisfiedHavingBuilder.or(FunctionType functionType,
Column column) |
SatisfiedOrderByBuilder<GroupedQueryBuilder> |
GroupedQueryBuilder.orderBy(FunctionType function,
Column column) |
FunctionSelectBuilder<B> |
SatisfiedQueryBuilder.select(FunctionType function,
Column column) |
FunctionSelectBuilder<?> |
SatisfiedFromBuilder.select(FunctionType function,
Column column) |
FunctionSelectBuilder<?> |
SatisfiedFromBuilder.select(FunctionType function,
Column column,
Object[] functionParameters) |
SatisfiedQueryBuilder<?> |
SatisfiedQueryBuilder.select(FunctionType function,
String columnName) |
FunctionSelectBuilder<?> |
SatisfiedFromBuilder.select(FunctionType function,
String columnName) |
FunctionSelectBuilder<?> |
SatisfiedFromBuilder.select(FunctionType function,
String columnName,
Object[] functionParameters) |
Modifier and Type | Class and Description |
---|---|
protected static class |
LegacyDeserializationObjectInputStream.LegacyFunctionType
Implementation of the new
FunctionType and
AggregateFunction interfaces which still adheres to the
constant/enum values of the old FunctionType definition. |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.