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 |
MaxAggregateFunction |
class |
MinAggregateFunction |
class |
SumAggregateFunction |
class |
ToBooleanFunction |
class |
ToDateFunction |
class |
ToNumberFunction |
class |
ToStringFunction |
Modifier and Type | Method and Description |
---|---|
static FunctionType |
FunctionTypeFactory.get(String functionName) |
FunctionType |
SelectItem.getFunction()
Deprecated.
use
SelectItem.getAggregateFunction() or
SelectItem.getScalarFunction() instead |
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,
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) |
SatisfiedQueryBuilder<?> |
SatisfiedQueryBuilder.select(FunctionType function,
String columnName) |
SatisfiedQueryBuilder<?> |
SatisfiedFromBuilder.select(FunctionType function,
String columnName) |
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–2015 The Apache Software Foundation. All rights reserved.