Class AbstractJpqlFunctionSQLMethod
java.lang.Object
com.blazebit.persistence.integration.datanucleus.function.AbstractJpqlFunctionSQLMethod
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
JpqlFunctionInstanceSQLMethod,JpqlFunctionSQLMethod
- Since:
- 1.2.0
- Author:
- Christian
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractJpqlFunctionSQLMethod(org.datanucleus.store.rdbms.sql.SQLStatement stmt, org.datanucleus.store.rdbms.sql.method.SQLMethod function) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.datanucleus.store.rdbms.sql.expression.SQLExpressiongetExpression(org.datanucleus.store.rdbms.sql.expression.SQLExpression argumentExpression) Class<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context)
-
Field Details
-
stmt
protected final org.datanucleus.store.rdbms.sql.SQLStatement stmt -
function
protected final org.datanucleus.store.rdbms.sql.method.SQLMethod function
-
-
Constructor Details
-
AbstractJpqlFunctionSQLMethod
public AbstractJpqlFunctionSQLMethod(org.datanucleus.store.rdbms.sql.SQLStatement stmt, org.datanucleus.store.rdbms.sql.method.SQLMethod function)
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceJpqlFunction
-
getExpression
protected abstract org.datanucleus.store.rdbms.sql.expression.SQLExpression getExpression(org.datanucleus.store.rdbms.sql.expression.SQLExpression argumentExpression) -
render
- Specified by:
renderin interfaceJpqlFunction
-