# Package org.h2.api

Contains interfaces for user-defined extensions, such as triggers and user-defined aggregate functions.

See: Description

Interface Summary
Interface | Description
--- | ---
Aggregate | A user-defined aggregate function needs to implement this interface.
AggregateFunction | A user-defined aggregate function needs to implement this interface.
CustomDataTypesHandler | Custom data type handler Provides means to plug-in custom data types support Please keep in mind that this feature may not possibly provide the same ABI stability level as other features as it exposes many of the H2 internals.
DatabaseEventListener | A class that implements this interface can get notified about exceptions and other events.
JavaObjectSerializer | Custom serialization mechanism for java objects being stored in column of type OTHER.
TableEngine | A class that implements this interface can create custom table implementations.
Trigger | A class that implements this interface can be used as a trigger.

Class Summary
Class | Description
--- | ---
ErrorCode | This class defines the error codes used for SQL exceptions.
TimestampWithTimeZone | How we expose "TIMESTAMP WITH TIMEZONE" in our ResultSets.

## Package org.h2.api Description

Contains interfaces for user-defined extensions, such as triggers and user-defined aggregate functions.