- Enclosing class:
public static enum Aggregate.FinishEffect extends Enum<Aggregate.FinishEffect>
finishfunction in a
READ_ONLY, PostgreSQL can continue updating the same state
with additional rows, and call the finisher again for updated results.
SHAREABLE, the state cannot be further updated after
a finisher call, but finishers for other aggregates that use the same
state representation (and are also
SHAREABLE) can be called to
produce the results for those aggregates. An example could be the several
linear-regression-related aggregates, all of which can work from a state
that contains the count of values, sum of values, and sum of squares.
READ_WRITE, no further use can be made of the state after
the finisher has run.
Enum Constant Details
valuespublic static Aggregate.FinishEffect values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)