Purpose: Allow a semi-generic way of creating store function. Note that stored functions supported only on Oracle platform
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Writer | buildCreationWriter(AbstractSession session, Writer writer)
Overrides org. |
| public Writer | buildDeletionWriter(AbstractSession session, Writer writer)
Overrides org. |
| public String | |
| public String | |
| public int | |
| protected void | printReturn(Writer writer, AbstractSession session)
Overrides org. |
| public void |
| StoredFunctionDefinition | back to summary |
|---|---|
| public StoredFunctionDefinition() | |
| buildCreationWriter | back to summary |
|---|---|
| public Writer buildCreationWriter(AbstractSession session, Writer writer) throws ValidationException Overrides org. INTERNAL: Return the create statement.
| |
| buildDeletionWriter | back to summary |
|---|---|
| public Writer buildDeletionWriter(AbstractSession session, Writer writer) throws ValidationException Overrides org. INTERNAL: Return the drop statement.
| |
| getCreationHeader | back to summary |
|---|---|
| public String getCreationHeader() Overrides org.
| |
| getDeletionHeader | back to summary |
|---|---|
| public String getDeletionHeader() Overrides org.
| |
| getFirstArgumentIndex | back to summary |
|---|---|
| public int getFirstArgumentIndex() Overrides org.
| |
| printReturn | back to summary |
|---|---|
| protected void printReturn(Writer writer, AbstractSession session) throws ValidationException Overrides org. Prints return for stored function
| |
| setReturnType | back to summary |
|---|---|
| public void setReturnType(Class<?> type) Prints return for stored function | |