Class AbstractCountFunction
java.lang.Object
com.blazebit.persistence.impl.function.count.AbstractCountFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
CountTupleEmulationFunction,CountTupleFunction,MySQLCountTupleFunction
public abstract class AbstractCountFunction extends Object implements JpqlFunction
- Since:
- 1.2.0
- Author:
- Moritz Becker
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractCountFunction.Count -
Field Summary
Fields Modifier and Type Field Description static StringDISTINCT_QUALIFIERstatic StringFUNCTION_NAME -
Constructor Summary
Constructors Constructor Description AbstractCountFunction() -
Method Summary
Modifier and Type Method Description protected AbstractCountFunction.CountgetCount(FunctionRenderContext context)Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
DISTINCT_QUALIFIER
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractCountFunction
public AbstractCountFunction()
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceJpqlFunction
-
getCount
-