public abstract class AbstractJsonExtractFunction extends Object implements org.hibernate.dialect.function.SQLFunction
Constructor and Description |
---|
AbstractJsonExtractFunction(String name,
org.hibernate.type.Type type,
String cast) |
Modifier and Type | Method and Description |
---|---|
String |
getCast() |
String |
getName() |
org.hibernate.type.Type |
getReturnType(org.hibernate.type.Type firstArgumentType,
org.hibernate.engine.spi.Mapping mapping) |
org.hibernate.type.Type |
getType() |
boolean |
hasArguments() |
boolean |
hasParenthesesIfNoArguments() |
String |
render(org.hibernate.type.Type firstArgumentType,
List arguments,
org.hibernate.engine.spi.SessionFactoryImplementor factory) |
protected String |
transformFunction(String func) |
protected abstract String |
transformPath(List<String> path) |
public String getName()
public String getCast()
public org.hibernate.type.Type getType()
public boolean hasArguments()
hasArguments
in interface org.hibernate.dialect.function.SQLFunction
public boolean hasParenthesesIfNoArguments()
hasParenthesesIfNoArguments
in interface org.hibernate.dialect.function.SQLFunction
public org.hibernate.type.Type getReturnType(org.hibernate.type.Type firstArgumentType, org.hibernate.engine.spi.Mapping mapping) throws org.hibernate.QueryException
getReturnType
in interface org.hibernate.dialect.function.SQLFunction
org.hibernate.QueryException