public class MockSqlOperatorTable
extends org.apache.calcite.sql.util.ChainedSqlOperatorTable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MockSqlOperatorTable.BadTableFunction
Another bad table function: declares itself as a table function but does
not return CURSOR.
|
static class |
MockSqlOperatorTable.CompositeFunction
"COMPOSITE" user-defined scalar function.
|
static class |
MockSqlOperatorTable.DedupFunction
"DEDUP" user-defined table function.
|
static class |
MockSqlOperatorTable.DynamicTypeFunction
"DYNTYPE" user-defined table function.
|
static class |
MockSqlOperatorTable.InvalidTableFunction
Invalid user-defined table function with multiple input tables with
row semantics.
|
static class |
MockSqlOperatorTable.MapFunction
"MAP" user-defined function.
|
static class |
MockSqlOperatorTable.MyAggFunc
"MYAGGFUNC" user-defined aggregate function.
|
static class |
MockSqlOperatorTable.MyAvgAggFunction
"MYAGG" user-defined aggregate function.
|
static class |
MockSqlOperatorTable.MyFunction
"MYFUN" user-defined scalar function.
|
static class |
MockSqlOperatorTable.NotATableFunction
Not valid as a table function, even though it returns CURSOR, because
it does not implement
SqlTableFunction. |
static class |
MockSqlOperatorTable.RampFunction
"RAMP" user-defined table function.
|
static class |
MockSqlOperatorTable.RowFunction
"ROW_FUNC" user-defined table function whose return type is
row type with nullable and non-nullable fields.
|
static class |
MockSqlOperatorTable.ScoreTableFunction
"Score" user-defined table function.
|
static class |
MockSqlOperatorTable.SimilarlityTableFunction
Similarity performs an analysis on two data sets, which are both tables
of two columns, treated as the x and y axes of a graph.
|
static class |
MockSqlOperatorTable.SplitFunction
"SPLIT" user-defined function.
|
static class |
MockSqlOperatorTable.StructuredFunction
"STRUCTURED_FUNC" user-defined function whose return type is structured type.
|
static class |
MockSqlOperatorTable.TopNTableFunction
"TopN" user-defined table function.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MockSqlOperatorTable |
extend()
Returns this table with a few mock operators added.
|
static MockSqlOperatorTable |
of(org.apache.calcite.sql.SqlOperatorTable operatorTable)
Returns a mock operator table based on the given operator table.
|
MockSqlOperatorTable |
plus(Iterable<org.apache.calcite.sql.fun.SqlLibrary> librarySet)
Adds a library set.
|
static MockSqlOperatorTable |
standard()
Returns the operator table that contains only the standard operators.
|
public static MockSqlOperatorTable standard()
public static MockSqlOperatorTable of(org.apache.calcite.sql.SqlOperatorTable operatorTable)
public MockSqlOperatorTable extend()
public MockSqlOperatorTable plus(Iterable<org.apache.calcite.sql.fun.SqlLibrary> librarySet)
Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.