public class AggregateFrom
extends java.lang.Object
Represents the 'from' clause in an aggregate transformation item.
Modifier and Type | Method and Description |
---|---|
static AggregateFrom |
create(PropertyPath propertyPath,
AggregateMethod method)
Creates a 'from' clause to the aggregate transformation item.
|
AggregateMethod |
getMethod()
Return (nullable) Aggregate method of the From clause in the Aggregate item
|
PropertyPath |
getPropertyPath()
Return property path of the From clause in the Aggregate item
|
public static AggregateFrom create(PropertyPath propertyPath, AggregateMethod method)
Creates a 'from' clause to the aggregate transformation item.
propertyPath
- The property path for the 'from' clause.method
- (nullable) The aggregate method for the 'from' clause.public AggregateMethod getMethod()
Return (nullable) Aggregate method of the From clause in the Aggregate item
public PropertyPath getPropertyPath()
Return property path of the From clause in the Aggregate item