Class PersistenceRandomFunction
java.lang.Object
com.blazebit.expression.persistence.function.PersistenceRandomFunction
- All Implemented Interfaces:
PersistenceFunctionRenderer,Serializable
public class PersistenceRandomFunction extends Object implements PersistenceFunctionRenderer, Serializable
- Since:
- 1.0.0
- Author:
- Christian Beikov
- See Also:
- Serialized Form
-
Method Summary
Modifier and Type Method Description static voidaddFunction(com.blazebit.domain.boot.model.DomainBuilder domainBuilder)Adds the RANDOM function to the domain builder.voidrender(com.blazebit.domain.runtime.model.DomainFunction function, com.blazebit.domain.runtime.model.DomainType returnType, PersistenceDomainFunctionArgumentRenderers argumentRenderers, StringBuilder sb, PersistenceExpressionSerializer serializer)Renders the given domain function with the given return type and arguments to the given StringBuilder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.expression.persistence.PersistenceFunctionRenderer
rendersPredicate
-
Method Details
-
addFunction
public static void addFunction(com.blazebit.domain.boot.model.DomainBuilder domainBuilder)Adds the RANDOM function to the domain builder.- Parameters:
domainBuilder- The domain builder
-
render
public void render(com.blazebit.domain.runtime.model.DomainFunction function, com.blazebit.domain.runtime.model.DomainType returnType, PersistenceDomainFunctionArgumentRenderers argumentRenderers, StringBuilder sb, PersistenceExpressionSerializer serializer)Description copied from interface:PersistenceFunctionRendererRenders the given domain function with the given return type and arguments to the given StringBuilder.- Specified by:
renderin interfacePersistenceFunctionRenderer- Parameters:
function- The domain functionreturnType- The function return typeargumentRenderers- The argument renderers for the argumentssb- The StringBuilder to render toserializer- The serializer
-