Package | Description |
---|---|
org.zkoss.pivot.impl |
Implementation of models.
|
org.zkoss.pivot.impl.calc |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCalculator<C extends Context<C>>
The skeleton to implement
ContextualCalculator . |
Modifier and Type | Method and Description |
---|---|
Context |
StandardContextType.create() |
static Context<?> |
StandardContextType.create(int ordinal)
Create the context by the enum ordinal.
|
Modifier and Type | Method and Description |
---|---|
Number |
StandardCalculator.getResult(Context context) |
Modifier and Type | Interface and Description |
---|---|
interface |
Context<C extends Context<C>>
The context to hold intermediate result of an aggregation.
|
interface |
ContextFactory<C extends Context<C>>
The factory interface of
Context creation. |
interface |
ContextType<C extends Context<C>>
Hold information of the type of
Context . |
interface |
ContextualCalculator<C extends Context<C>>
The interface for
Calculator that uses Context to compute an
aggregation summary. |
interface |
Summarizer<C extends Context<C>>
The interface for summarization from a
Context , only used in
StandardCalculator , for the convenience of
polymorphism over its enum construction. |
Modifier and Type | Class and Description |
---|---|
class |
MinMaxContext
The context that keeps track of the MAX and MIN value of the items.
|
class |
ProductContext |
class |
SumCountContext
The most commonly used context including SUM, COUNT and COUNT_NUMBER aggregation.
|
class |
VarianceContext
The context for calculating variance and standard deviation.
|
Modifier and Type | Method and Description |
---|---|
Context<C> |
ContextFactory.create()
Create the context.
|
Copyright © 2017. All rights reserved.