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 String
getName()
Type
getReturnType(Type firstArgumentType, Mapping mapping)
boolean
hasArguments()
boolean
hasParenthesesIfNoArguments()
String
render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)
protected abstract String
transformPath(String path)
protected abstract Object
transformValue(Object value)
-
-
-
Constructor Detail
-
AbstractJsonSetFunction
public AbstractJsonSetFunction(String name)
-
-
Method Detail
-
getName
public String getName()
-
hasArguments
public boolean hasArguments()
- Specified by:
hasArguments
in interfaceSQLFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()
- Specified by:
hasParenthesesIfNoArguments
in interfaceSQLFunction
-
getReturnType
public Type getReturnType(Type firstArgumentType, Mapping mapping) throws QueryException
- Specified by:
getReturnType
in interfaceSQLFunction
- Throws:
QueryException
-
render
public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)
- Specified by:
render
in interfaceSQLFunction
-
-