public class ConditionalParenthesisFunction extends StandardSQLFunction
StandardSQLFunction,
except that here the parentheses are not included when no arguments are given.| Constructor and Description |
|---|
ConditionalParenthesisFunction(String name) |
ConditionalParenthesisFunction(String name,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasParenthesesIfNoArguments()
If there are no arguments, are parentheses required?
|
String |
render(List args,
SessionFactoryImplementor factory) |
getName, getReturnType, getType, hasArguments, render, toStringpublic ConditionalParenthesisFunction(String name)
public boolean hasParenthesesIfNoArguments()
StandardSQLFunctionhasParenthesesIfNoArguments in interface SQLFunctionhasParenthesesIfNoArguments in class StandardSQLFunctionpublic String render(List args, SessionFactoryImplementor factory)
Copyright © 2018 JBoss by Red Hat. All rights reserved.