Package org.apache.calcite.sql.fun
Class OracleSqlOperatorTable
java.lang.Object
org.apache.calcite.sql.util.ReflectiveSqlOperatorTable
org.apache.calcite.sql.fun.OracleSqlOperatorTable
- All Implemented Interfaces:
SqlOperatorTable
Deprecated.
Operator table that contains only Oracle-specific functions and operators.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SqlFunction
Deprecated.static final SqlFunction
Deprecated.static final SqlFunction
Deprecated.static final SqlFunction
Deprecated.static final SqlFunction
Deprecated.protected com.google.common.collect.ImmutableMultimap<String,
SqlOperator> Contains all (name, operator) pairs.static final SqlFunction
Deprecated.static final SqlFunction
Deprecated.static final SqlFunction
Deprecated.Fields inherited from class org.apache.calcite.sql.util.ReflectiveSqlOperatorTable
IS_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.google.common.collect.ImmutableMultimap<String,
SqlOperator> buildIndex
(Iterable<? extends SqlOperator> operators) Derives a value to be assigned tooperators
from a given list of operators.Retrieves a list of all functions and operators in this table.static OracleSqlOperatorTable
instance()
Deprecated.Returns the Oracle operator table, creating it if necessary.protected void
lookUpOperators
(String name, boolean caseSensitive, Consumer<SqlOperator> consumer) Looks up operators, optionally matching case-sensitively.protected void
setOperators
(com.google.common.collect.Multimap<String, SqlOperator> operators) Methods inherited from class org.apache.calcite.sql.util.ReflectiveSqlOperatorTable
init, lookupOperatorOverloads, register
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.sql.SqlOperatorTable
getOperatorList
-
Field Details
-
DECODE
Deprecated. -
NVL
Deprecated. -
LTRIM
Deprecated. -
RTRIM
Deprecated. -
SUBSTR
Deprecated. -
GREATEST
Deprecated. -
LEAST
Deprecated. -
TRANSLATE3
Deprecated. -
operators
Contains all (name, operator) pairs. Effectively a sorted immutable multimap.There can be several operators with the same name (case-insensitive or case-sensitive) and these operators will lie in a contiguous range which we can find efficiently using binary search.
-
-
Constructor Details
-
OracleSqlOperatorTable
public OracleSqlOperatorTable()Deprecated.
-
-
Method Details
-
instance
Deprecated.Returns the Oracle operator table, creating it if necessary. -
getOperatorList
Description copied from interface:SqlOperatorTable
Retrieves a list of all functions and operators in this table. Used for automated testing. Depending on the table type, may or may not be mutable.- Specified by:
getOperatorList
in interfaceSqlOperatorTable
- Returns:
- list of SqlOperator objects
-
setOperators
-
buildIndex
protected static com.google.common.collect.ImmutableMultimap<String,SqlOperator> buildIndex(Iterable<? extends SqlOperator> operators) Derives a value to be assigned tooperators
from a given list of operators. -
lookUpOperators
Looks up operators, optionally matching case-sensitively.
-
SqlLibraryOperatorTableFactory.getOperatorTable(SqlLibrary...)
instead, passingSqlLibrary.ORACLE
as argument.