Deprecated
since ResultTransformer is deprecated
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor |
| Access | Constructor and Description |
|---|---|
| public | AliasToBeanConstructorResultTransformer(Constructor<T>
The constructor in which to wrap the tuples. constructor)Instantiates a AliasToBeanConstructorResultTransformer. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if both have the same defined constructor; false otherwise.The other instance to check for equality. other)Overrides java. |
| public Class | getTransformedType()
Implements org. |
| public int | Returns: Our defined ctor hashCodeOverrides java. |
| public T | transformTuple(Object[]
The result elements tuple, String[] The result aliases ("parallel" array to tuple) aliases)Implements org. |
| constructor | back to summary |
|---|---|
| private final Constructor<T> constructor | |
| AliasToBeanConstructorResultTransformer | back to summary |
|---|---|
| public AliasToBeanConstructorResultTransformer(Constructor<T> constructor) Instantiates a AliasToBeanConstructorResultTransformer.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. 2 AliasToBeanConstructorResultTransformer are considered equal if they have the same defined constructor. | |
| getTransformedType | back to summary |
|---|---|
| public Class Implements org. Doc from org. The type resulting from this transformation
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Define our hashCode by our defined constructor's hasCode.
| |
| transformTuple | back to summary |
|---|---|
| public T transformTuple(Object[] tuple, String[] aliases) Implements org. Wrap the incoming tuples in a call to our configured constructor.
| |