Deprecated
as a consequence of FunctionRenderer being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FormatFunction(String nativeFunctionName, boolean reversedArguments, boolean concatPattern, TypeConfiguration typeConfiguration)
|
| public | FormatFunction(String nativeFunctionName, boolean reversedArguments, boolean concatPattern, boolean supportsTime, TypeConfiguration typeConfiguration)
|
| Modifier and Type | Method and Description |
|---|---|
| protected <T> SelfRenderingSqmFunction | generateSqmFunctionExpression(List<? extends SqmTypedNode<?>>
the arguments of the function invocation arguments, ReturnableType<T> the function return type as inferred from its usage impliedResultType, QueryEngine queryEngine)Implements abstract org. |
| public String | |
| private boolean | |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Implements org. |
| concatPattern | back to summary |
|---|---|
| private final boolean concatPattern | |
| nativeFunctionName | back to summary |
|---|---|
| private final String nativeFunctionName | |
| reversedArguments | back to summary |
|---|---|
| private final boolean reversedArguments | |
| supportsTime | back to summary |
|---|---|
| private final boolean supportsTime | |
| FormatFunction | back to summary |
|---|---|
| public FormatFunction(String nativeFunctionName, TypeConfiguration typeConfiguration) | |
| FormatFunction | back to summary |
|---|---|
| public FormatFunction(String nativeFunctionName, boolean reversedArguments, boolean concatPattern, TypeConfiguration typeConfiguration) | |
| FormatFunction | back to summary |
|---|---|
| public FormatFunction(String nativeFunctionName, boolean reversedArguments, boolean concatPattern, boolean supportsTime, TypeConfiguration typeConfiguration) | |
| generateSqmFunctionExpression | back to summary |
|---|---|
| protected <T> SelfRenderingSqmFunction Implements abstract org. Doc from org. Return an SQM node or subtree representing an invocation of this function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.
| |
| getArgumentListSignature | back to summary |
|---|---|
| public String getArgumentListSignature() Overrides org.
| |
| isTimeTemporal | back to summary |
|---|---|
| private boolean isTimeTemporal(SqlAstNode expression) | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final TypeConfiguration |
| Access | Constructor and Description |
|---|---|
| public | FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderingSupport renderingSupport, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)
|
| public | FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderer renderer, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)
Deprecated
as a consequence of
FunctionRenderer being deprecated.
|
| supportsPatternLiterals | back to summary |
|---|---|
| private final boolean supportsPatternLiterals | |
| typeConfiguration | back to summary |
|---|---|
| private final TypeConfiguration typeConfiguration | |
| FormatSqmFunction | back to summary |
|---|---|
| public FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderingSupport renderingSupport, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)
Deprecated for removal.
| |
| FormatSqmFunction | back to summary |
|---|---|
| public FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderer renderer, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)
Deprecated as a consequence of | |
| concat | back to summary |
|---|---|
| private Expression concat(AbstractSqmSelfRenderingFunctionDescriptor concatFunction, BasicType<String> stringType, Expression expression, Expression expression2)
Deprecated as a consequence of | |
| concatAsLiteral | back to summary |
|---|---|
| private Expression concatAsLiteral(AbstractSqmSelfRenderingFunctionDescriptor concatFunction, BasicType<String> stringType, String delimiter, Expression expression, Expression expression2)
Deprecated as a consequence of | |
| convertToSqlAst | back to summary |
|---|---|
| public Expression convertToSqlAst(SqmToSqlAstConverter walker) Overrides org.
| |
| createFullOffset | back to summary |
|---|---|
| private Expression createFullOffset(AbstractSqmSelfRenderingFunctionDescriptor concatFunction, AbstractSqmSelfRenderingFunctionDescriptor floorFunction, AbstractSqmSelfRenderingFunctionDescriptor castFunction, BasicType<String> stringType, BasicType<Integer> integerType, Expression offsetExpression)
Deprecated as a consequence of | |
| createMediumOffset | back to summary |
|---|---|
| private Expression createMediumOffset(AbstractSqmSelfRenderingFunctionDescriptor concatFunction, AbstractSqmSelfRenderingFunctionDescriptor substringFunction, AbstractSqmSelfRenderingFunctionDescriptor floorFunction, AbstractSqmSelfRenderingFunctionDescriptor castFunction, BasicType<String> stringType, BasicType<Integer> integerType, Expression offsetExpression)
Deprecated as a consequence of | |
| createSmallOffset | back to summary |
|---|---|
| private Expression createSmallOffset(AbstractSqmSelfRenderingFunctionDescriptor concatFunction, AbstractSqmSelfRenderingFunctionDescriptor substringFunction, AbstractSqmSelfRenderingFunctionDescriptor floorFunction, AbstractSqmSelfRenderingFunctionDescriptor castFunction, BasicType<String> stringType, BasicType<Integer> integerType, Expression offsetExpression)
Deprecated as a consequence of | |
| getFunction | back to summary |
|---|---|
| private AbstractSqmSelfRenderingFunctionDescriptor getFunction(SqmToSqlAstConverter walker, String name)
Deprecated as a consequence of | |
| getFunction | back to summary |
|---|---|
| private AbstractSqmSelfRenderingFunctionDescriptor getFunction(SqmToSqlAstConverter walker, String name, int argumentCount)
Deprecated as a consequence of | |
| getHours | back to summary |
|---|---|
| private Expression getHours(AbstractSqmSelfRenderingFunctionDescriptor floorFunction, AbstractSqmSelfRenderingFunctionDescriptor castFunction, BasicType<Integer> integerType, Expression offsetExpression)
Deprecated as a consequence of | |
| getMinutes | back to summary |
|---|---|
| private Expression getMinutes(AbstractSqmSelfRenderingFunctionDescriptor floorFunction, AbstractSqmSelfRenderingFunctionDescriptor castFunction, BasicType<Integer> integerType, Expression offsetExpression)
Deprecated as a consequence of | |
| getOffsetAdjusted | back to summary |
|---|---|
| private SqlAstNode getOffsetAdjusted(SqlTuple sqlTuple, AbstractSqmSelfRenderingFunctionDescriptor timestampaddFunction, BasicType<Integer> integerType)
Deprecated as a consequence of | |