public class ConditionalParenthesisFunction extends StandardSQLFunction
StandardSQLFunction
,
except that here the parentheses are not included when no arguments are given.Constructor and Description |
---|
ConditionalParenthesisFunction(java.lang.String name) |
ConditionalParenthesisFunction(java.lang.String name,
Type type) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasParenthesesIfNoArguments()
If there are no arguments, are parentheses required?
|
java.lang.String |
render(java.util.List args,
SessionFactoryImplementor factory) |
getName, getReturnType, getType, hasArguments, render, toString
public ConditionalParenthesisFunction(java.lang.String name)
public ConditionalParenthesisFunction(java.lang.String name, Type type)
public boolean hasParenthesesIfNoArguments()
StandardSQLFunction
hasParenthesesIfNoArguments
in interface SQLFunction
hasParenthesesIfNoArguments
in class StandardSQLFunction
public java.lang.String render(java.util.List args, SessionFactoryImplementor factory)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.