Class AbstractJsonSetFunction
- java.lang.Object
-
- com.axelor.db.hibernate.dialect.function.AbstractJsonSetFunction
-
- All Implemented Interfaces:
SQLFunction
- Direct Known Subclasses:
MySQLJsonSetFunction,PostgreSQLJsonSetFunction
public abstract class AbstractJsonSetFunction extends Object implements SQLFunction
-
-
Constructor Summary
Constructors Constructor Description AbstractJsonSetFunction(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetName()TypegetReturnType(Type firstArgumentType, Mapping mapping)booleanhasArguments()booleanhasParenthesesIfNoArguments()Stringrender(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)protected abstract StringtransformPath(String path)protected abstract ObjecttransformValue(Object value)
-
-
-
Constructor Detail
-
AbstractJsonSetFunction
public AbstractJsonSetFunction(String name)
-
-
Method Detail
-
getName
public String getName()
-
hasArguments
public boolean hasArguments()
- Specified by:
hasArgumentsin interfaceSQLFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()
- Specified by:
hasParenthesesIfNoArgumentsin interfaceSQLFunction
-
getReturnType
public Type getReturnType(Type firstArgumentType, Mapping mapping) throws QueryException
- Specified by:
getReturnTypein interfaceSQLFunction- Throws:
QueryException
-
render
public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)
- Specified by:
renderin interfaceSQLFunction
-
-