Package com.gengoai.sql
Class SQLFunction
- java.lang.Object
-
- com.gengoai.sql.SQLFunction
-
- All Implemented Interfaces:
SQLOperable
,SQLElement
,Serializable
public class SQLFunction extends Object implements SQLOperable
Encapsulates an SQL Function (e.g. count, max, substr, etc.)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SQLFunction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLFunction
function(String name)
static SQLFunction
function(String name, @NonNull SQLElement arg1, @NonNull SQLElement... args)
Constructs a generic SQLFunction made up of a function name and zero or more arguments.static SQLFunction
function(String name, @NonNull List<SQLElement> args)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.sql.SQLElement
getClassName
-
-
-
-
Method Detail
-
function
public static SQLFunction function(String name, @NonNull @NonNull SQLElement arg1, @NonNull @NonNull SQLElement... args)
Constructs a generic SQLFunction made up of a function name and zero or more arguments.- Parameters:
name
- the name of the functionarg1
- the arg 1args
- the arguments of the function- Returns:
- the SQLFunction
-
function
public static SQLFunction function(String name, @NonNull @NonNull List<SQLElement> args)
-
function
public static SQLFunction function(String name)
-
-