| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | aggregateName
This class implements Formatable. |
| pack-priv String | |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv ResultDescription |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AggregatorInfo(String
the name of the aggregate. Not
actually used anywhere except diagnostics. Should
be the names as found in the language (e.g. MAX). aggregateName, String the name of the aggregator
used to process this aggregate. Aggregator expected
to have a null arg constructor and implement
Aggregator. aggregatorClassName, int the input column number inputColNum, int the output column number outputColNum, int the column number in which the
aggregator is stored. aggregatorColNum, boolean if it is a distinct aggregate isDistinct, ResultDescription the result description rd)Consructor |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: the aggeregator class nameGet the name of the class that implements the user aggregator for this class. |
| public int | |
| public int | |
| public int | Returns: the aggeregator colidGet the column number for the output (result) column. |
| public ResultDescription | Returns: the rdGet the result description for the input value to this aggregate. |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| public boolean | |
| public void | readExternal(ObjectInput
read this. in)Implements java. Read this object from a stream of stored objects. |
| public String | |
| public void | writeExternal(ObjectOutput
write bytes here out)Implements java. Write this object out |
| aggregateName | back to summary |
|---|---|
| pack-priv String aggregateName This class implements Formatable. That means that it can write itself to and from a formatted stream. If you add more fields to this class, make sure that you also write/read them with the writeExternal()/readExternal() methods. If, inbetween releases, you add more fields to this class, then you should bump the version number emitted by the getTypeFormatId() method. OR, since this is something that is used in stored prepared statements, it is ok to change it if you make sure that stored prepared statements are invalidated across releases. | |
| aggregatorClassName | back to summary |
|---|---|
| pack-priv String aggregatorClassName | |
| aggregatorColumn | back to summary |
|---|---|
| pack-priv int aggregatorColumn | |
| inputColumn | back to summary |
|---|---|
| pack-priv int inputColumn | |
| isDistinct | back to summary |
|---|---|
| pack-priv boolean isDistinct | |
| outputColumn | back to summary |
|---|---|
| pack-priv int outputColumn | |
| rd | back to summary |
|---|---|
| pack-priv ResultDescription rd | |
| AggregatorInfo | back to summary |
|---|---|
| public AggregatorInfo() Niladic constructor for Formattable | |
| AggregatorInfo | back to summary |
|---|---|
| public AggregatorInfo(String aggregateName, String aggregatorClassName, int inputColNum, int outputColNum, int aggregatorColNum, boolean isDistinct, ResultDescription rd) Consructor
| |
| getAggregateName | back to summary |
|---|---|
| public String getAggregateName() Get the name of the aggergate (e.g. MAX)
| |
| getAggregatorClassName | back to summary |
|---|---|
| public String getAggregatorClassName() Get the name of the class that implements the user aggregator for this class.
| |
| getAggregatorColNum | back to summary |
|---|---|
| public int getAggregatorColNum() Get the column number for the aggregator column.
| |
| getInputColNum | back to summary |
|---|---|
| public int getInputColNum() Get the column number for the input (addend) column.
| |
| getOutputColNum | back to summary |
|---|---|
| public int getOutputColNum() Get the column number for the output (result) column.
| |
| getResultDescription | back to summary |
|---|---|
| public ResultDescription getResultDescription() Get the result description for the input value to this aggregate.
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| isDistinct | back to summary |
|---|---|
| public boolean isDistinct() Is the aggergate distinct
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object from a stream of stored objects.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Get a string for the object
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this object out
| |