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
FieldsModifier and TypeFieldDescriptionstatic final SqlFunctionDeprecated.static final SqlFunctionDeprecated.static final SqlFunctionDeprecated.static final SqlFunctionDeprecated.static final SqlFunctionDeprecated.protected com.google.common.collect.ImmutableMultimap<String,SqlOperator> Contains all (name, operator) pairs.static final SqlFunctionDeprecated.static final SqlFunctionDeprecated.static final SqlFunctionDeprecated.Fields inherited from class org.apache.calcite.sql.util.ReflectiveSqlOperatorTable
IS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static com.google.common.collect.ImmutableMultimap<String,SqlOperator> buildIndex(Iterable<? extends SqlOperator> operators) Derives a value to be assigned tooperatorsfrom a given list of operators.Retrieves a list of all functions and operators in this table.static OracleSqlOperatorTableinstance()Deprecated.Returns the Oracle operator table, creating it if necessary.protected voidlookUpOperators(String name, boolean caseSensitive, Consumer<SqlOperator> consumer) Looks up operators, optionally matching case-sensitively.protected voidsetOperators(com.google.common.collect.Multimap<String, SqlOperator> operators) Methods inherited from class org.apache.calcite.sql.util.ReflectiveSqlOperatorTable
init, lookupOperatorOverloads, registerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SqlOperatorTableRetrieves 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:
getOperatorListin 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 tooperatorsfrom a given list of operators. -
lookUpOperators
Looks up operators, optionally matching case-sensitively.
-
SqlLibraryOperatorTableFactory.getOperatorTable(SqlLibrary...)instead, passingSqlLibrary.ORACLEas argument.