@InternalApi public final class FBEscapedFunctionHelper extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
convertTemplate(java.lang.String functionCall)
Convert escaped function call using function template.
|
static java.util.Set<java.lang.String> |
getSupportedNumericFunctions() |
static java.util.Set<java.lang.String> |
getSupportedStringFunctions() |
static java.util.Set<java.lang.String> |
getSupportedSystemFunctions() |
static java.util.Set<java.lang.String> |
getSupportedTimeDateFunctions() |
static java.util.List<java.lang.String> |
parseArguments(java.lang.String functionCall)
Extract function arguments from the function call.
|
static java.lang.String |
parseFunction(java.lang.String functionCall)
Extract function name from the function call.
|
public static java.lang.String parseFunction(java.lang.String functionCall) throws FBSQLParseException
functionCall
- escaped function call.FBSQLParseException
- if parse error occurs.public static java.util.List<java.lang.String> parseArguments(java.lang.String functionCall) throws FBSQLParseException
functionCall
- escaped function call.FBSQLParseException
- if parse error occurs.public static java.lang.String convertTemplate(java.lang.String functionCall) throws FBSQLParseException
functionCall
- escaped function call.null
if no template found.FBSQLParseException
- if escaped function call has incorrect syntax.public static java.util.Set<java.lang.String> getSupportedNumericFunctions()
public static java.util.Set<java.lang.String> getSupportedStringFunctions()
public static java.util.Set<java.lang.String> getSupportedTimeDateFunctions()
public static java.util.Set<java.lang.String> getSupportedSystemFunctions()
Copyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.