Package com.mckoi.database
Class FunctionFactory.FF_FunctionInfo
- java.lang.Object
-
- com.mckoi.database.FunctionFactory.FF_FunctionInfo
-
- All Implemented Interfaces:
FunctionInfo
- Enclosing class:
- FunctionFactory
protected class FunctionFactory.FF_FunctionInfo extends java.lang.Object implements FunctionInfo
An implementation of FunctionInfo.
-
-
Field Summary
-
Fields inherited from interface com.mckoi.database.FunctionInfo
AGGREGATE, STATE_BASED, STATIC
-
-
Constructor Summary
Constructors Constructor Description FF_FunctionInfo(java.lang.String name, int type, java.lang.reflect.Constructor constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.ConstructorgetConstructor()java.lang.StringgetFunctionFactoryName()The name of the function factory class that this function is handled by.java.lang.StringgetName()The name of the function as used by the SQL grammar to reference it.intgetType()The type of function, either STATIC, AGGREGATE or STATE_BASED (eg.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:FunctionInfoThe name of the function as used by the SQL grammar to reference it.- Specified by:
getNamein interfaceFunctionInfo
-
getType
public int getType()
Description copied from interface:FunctionInfoThe type of function, either STATIC, AGGREGATE or STATE_BASED (eg. result is not dependant entirely from input but from another state for example RANDOM and UNIQUEKEY functions).- Specified by:
getTypein interfaceFunctionInfo
-
getConstructor
public java.lang.reflect.Constructor getConstructor()
-
getFunctionFactoryName
public java.lang.String getFunctionFactoryName()
Description copied from interface:FunctionInfoThe name of the function factory class that this function is handled by. For example, "com.mckoi.database.InternalFunctionFactory".- Specified by:
getFunctionFactoryNamein interfaceFunctionInfo
-
-