public class OracleSqlOperatorTable extends ReflectiveSqlOperatorTable
| Modifier and Type | Field and Description |
|---|---|
static SqlFunction |
DECODE
The "DECODE(v, v1, result1, [v2, result2, ...], resultN)" function.
|
protected static SqlReturnTypeInference |
DECODE_RETURN_TYPE
Return type inference for
DECODE. |
static SqlFunction |
GREATEST
The "GREATEST(value, value)" function.
|
private static OracleSqlOperatorTable |
instance
The table of contains Oracle-specific operators.
|
static SqlFunction |
LEAST
The "LEAST(value, value)" function.
|
static SqlFunction |
LTRIM
The "LTRIM(string)" function.
|
static SqlFunction |
NVL
The "NVL(value, value)" function.
|
static SqlFunction |
RTRIM
The "RTRIM(string)" function.
|
static SqlFunction |
SUBSTR
Oracle's "SUBSTR(string, position [, substringLength ])" function.
|
static SqlFunction |
TRANSLATE3
The
TRANSLATE(string_expr, search_chars, replacement_chars)
function returns string_expr with all occurrences of each character in
search_chars replaced by its corresponding character in replacement_chars. |
IS_NAME| Constructor and Description |
|---|
OracleSqlOperatorTable() |
| Modifier and Type | Method and Description |
|---|---|
static OracleSqlOperatorTable |
instance()
Returns the Oracle operator table, creating it if necessary.
|
getOperatorList, init, lookupOperatorOverloads, registerprivate static OracleSqlOperatorTable instance
protected static final SqlReturnTypeInference DECODE_RETURN_TYPE
DECODE.public static final SqlFunction DECODE
public static final SqlFunction NVL
public static final SqlFunction LTRIM
public static final SqlFunction RTRIM
public static final SqlFunction SUBSTR
It has similar semantics to standard SQL's
SqlStdOperatorTable.SUBSTRING function but different syntax.
public static final SqlFunction GREATEST
public static final SqlFunction LEAST
public static final SqlFunction TRANSLATE3
TRANSLATE(string_expr, search_chars, replacement_chars)
function returns string_expr with all occurrences of each character in
search_chars replaced by its corresponding character in replacement_chars.
It is not defined in the SQL standard, but occurs in Oracle and PostgreSQL.
public static OracleSqlOperatorTable instance()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.