| Modifier and Type | Field and Description |
|---|---|
| private AliasDescriptor | |
| private static final int | |
| private static final int | |
| private static final String | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private StandardException | |
| pack-priv final ValueNode | castInputValue(ValueNode inputValue, ContextManager cm)
Wrap the input operand in an implicit CAST node as necessary in order to coerce it the correct type for the aggregator. |
| public final DataTypeDescriptor | Returns: the result type of the user-defined aggregatorthe input type inputType, StringBuffer (Output arg) the name of the Derby execution-time class which wraps the aggregate logic aggregatorClass)Implements org. Determines the result datatype and verifies that the input datatype is correct. |
| public AliasDescriptor | |
| private Class | getJavaClass(ClassFactory classFactory, DataTypeDescriptor dtd)
Get the Java class corresponding to a Derby datatype. |
| private void | vetCompatibility(Class<?> actualClass, Class<?> expectedClass, String sqlState)
Verify that an actual type is compatible with the expected type. |
| _alias | back to summary |
|---|---|
| private AliasDescriptor _alias | |
| AGGREGATOR_PARAM_COUNT | back to summary |
|---|---|
| private static final int AGGREGATOR_PARAM_COUNT | |
| AGGREGATOR_TYPE | back to summary |
|---|---|
| private static final int AGGREGATOR_TYPE | |
| DERBY_BYTE_ARRAY_NAME | back to summary |
|---|---|
| private static final String DERBY_BYTE_ARRAY_NAME | |
| INPUT_TYPE | back to summary |
|---|---|
| private static final int INPUT_TYPE | |
| RETURN_TYPE | back to summary |
|---|---|
| private static final int RETURN_TYPE | |
| UserAggregateDefinition | back to summary |
|---|---|
| public UserAggregateDefinition(AliasDescriptor alias) Conjure out of thin air. | |
| aggregatorInstantiation | back to summary |
|---|---|
| private StandardException aggregatorInstantiation(Throwable t) Make a "Could not instantiate aggregator" exception. | |
| castInputValue | back to summary |
|---|---|
| pack-priv final ValueNode castInputValue(ValueNode inputValue, ContextManager cm) throws StandardException Wrap the input operand in an implicit CAST node as necessary in order to coerce it the correct type for the aggregator. Return null if no cast is necessary. | |
| getAggregator | back to summary |
|---|---|
| public final DataTypeDescriptor getAggregator(DataTypeDescriptor inputType, StringBuffer aggregatorClass) throws StandardException Implements org. Determines the result datatype and verifies that the input datatype is correct.
| |
| getAliasDescriptor | back to summary |
|---|---|
| public AliasDescriptor getAliasDescriptor() Get the wrapped alias descriptor | |
| getJavaClass | back to summary |
|---|---|
| private Class Get the Java class corresponding to a Derby datatype. | |
| vetCompatibility | back to summary |
|---|---|
| private void vetCompatibility(Class<?> actualClass, Class<?> expectedClass, String sqlState) throws StandardException Verify that an actual type is compatible with the expected type. | |