Class BottomTopImpl
java.lang.Object
org.apache.olingo.server.core.uri.queryoption.apply.BottomTopImpl
Represents a transformation with one of the pre-defined methods
bottomcount, bottompercent, bottomsum,
topcount, toppercent, topsum.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.olingo.server.api.uri.queryoption.ApplyItem
ApplyItem.KindNested classes/interfaces inherited from interface org.apache.olingo.server.api.uri.queryoption.apply.BottomTop
BottomTop.Method -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Gets the kind of the transformation.Gets the partial-aggregation method.Gets the expression that determines the number of items to aggregate.getValue()Gets the expression that determines the values to aggregate.setMethod(BottomTop.Method method) setNumber(Expression number) setValue(Expression value)
-
Constructor Details
-
BottomTopImpl
public BottomTopImpl()
-
-
Method Details
-
getKind
Description copied from interface:ApplyItemGets the kind of the transformation. -
getMethod
Description copied from interface:BottomTopGets the partial-aggregation method.- Specified by:
getMethodin interfaceBottomTop- Returns:
- a
BottomTop.Method(but nevernull)
-
setMethod
-
getNumber
Description copied from interface:BottomTopGets the expression that determines the number of items to aggregate.- Specified by:
getNumberin interfaceBottomTop- Returns:
- an
Expression(but nevernull)
-
setNumber
-
getValue
Description copied from interface:BottomTopGets the expression that determines the values to aggregate.- Specified by:
getValuein interfaceBottomTop- Returns:
- an
Expression(but nevernull)
-
setValue
-