| Modifier and Type | Class and Description |
|---|---|
| private static class | UserAggregate.
Wrap |
| Modifier and Type | Field and Description |
|---|---|
| private Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public Aggregate | |
| public int | |
| public synchronized void | removeChildrenAndResources(SessionLocal
the session session)Implements abstract org. Delete all dependent children objects and resources of this object. |
| javaClass | back to summary |
|---|---|
| private Class<?> javaClass | |
| UserAggregate | back to summary |
|---|---|
| public UserAggregate(Schema schema, int id, String name, String className, boolean force) | |
| getCreateSQL | back to summary |
|---|---|
| public String getCreateSQL() Implements abstract org. Doc from org. Construct the CREATE ... SQL statement for this object. | |
| getDropSQL | back to summary |
|---|---|
| public String getDropSQL() Overrides org. Doc from org. Construct a DROP ... SQL statement for this object. | |
| getInstance | back to summary |
|---|---|
| public Aggregate getInstance() | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the object type.
| |
| removeChildrenAndResources | back to summary |
|---|---|
| public synchronized void removeChildrenAndResources(SessionLocal session) Implements abstract org. Doc from org. Delete all dependent children objects and resources of this object.
| |
AggregateFunction in order to behave as
org.h2.api.Aggregate
| Modifier and Type | Field and Description |
|---|---|
| private final AggregateFunction |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(Object
the value(s) for this row value)Implements org. This method is called once for each row. |
| public int | getInternalType(int[]
the H2 data type of the parameters, inputTypes)Implements org. This method must return the H2 data type, |
| public Object | getResult()
Implements org. This method returns the computed aggregate value. |
| public void | init(Connection
a connection to the database conn)Overrides default org. This method is called when the aggregate function is used. |
| aggregateFunction | back to summary |
|---|---|
| private final AggregateFunction aggregateFunction | |
| AggregateWrapper | back to summary |
|---|---|
| pack-priv AggregateWrapper(AggregateFunction aggregateFunction) | |
| add | back to summary |
|---|---|
| public void add(Object value) throws SQLException Implements org. Doc from org. This method is called once for each row. If the aggregate function is called with multiple parameters, those are passed as array.
| |
| getInternalType | back to summary |
|---|---|
| public int getInternalType(int[] inputTypes) throws SQLException Implements org. Doc from org. This method must return the H2 data type,
| |
| getResult | back to summary |
|---|---|
| public Object getResult() throws SQLException Implements org. Doc from org. This method returns the computed aggregate value. This method must preserve previously added values and must be able to reevaluate result if more values were added since its previous invocation.
| |
| init | back to summary |
|---|---|
| public void init(Connection conn) throws SQLException Overrides default org. Doc from org. This method is called when the aggregate function is used. A new object is created for each invocation.
| |