Class AbstractCountFunction
java.lang.Object
com.blazebit.persistence.impl.function.count.AbstractCountFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
CountTupleEmulationFunction,CountTupleFunction,MySQLCountTupleFunction
- Since:
- 1.2.0
- Author:
- Moritz Becker
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractCountFunction.CountgetCount(FunctionRenderContext context) Class<?>getReturnType(Class<?> firstArgumentType) booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.spi.JpqlFunction
render
-
Field Details
-
FUNCTION_NAME
- See Also:
-
DISTINCT_QUALIFIER
- See Also:
-
-
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
-