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, toString
public ConditionalParenthesisFunction(String name)
public boolean hasParenthesesIfNoArguments()
StandardSQLFunction
hasParenthesesIfNoArguments
in interface SQLFunction
hasParenthesesIfNoArguments
in class StandardSQLFunction
public String render(List args, SessionFactoryImplementor factory)
Copyright © 2018 JBoss by Red Hat. All rights reserved.