| 类 | 说明 |
|---|---|
| Smalls |
Holder for various classes and functions used in tests as user-defined
functions and so forth.
|
| Smalls.AllTypesFunction |
UDF class that provides user-defined functions for each data type.
|
| Smalls.AnotherTableMacroFunctionWithNamedParameters |
User-defined table-macro function with named and optional parameters.
|
| Smalls.AwkwardFunction |
Example of a UDF class that needs to be instantiated but cannot be.
|
| Smalls.CountArgs0Function |
Example of a UDF that has overloaded UDFs (same name, different args).
|
| Smalls.CountArgs1Function | |
| Smalls.CountArgs1NullableFunction | |
| Smalls.CountArgs2Function | |
| Smalls.FibonacciTableFunction |
Example of a UDF with non-default constructor.
|
| Smalls.IdentityTableFunction |
A table function that returns its input value.
|
| Smalls.IntString |
Class with int and String fields.
|
| Smalls.MazeTable |
The real MazeTable may be found in example/function.
|
| Smalls.MultipleFunction |
UDF class that has multiple methods, some overloaded.
|
| Smalls.MyAbcdeFunction |
Example of a UDF with named parameters, some of them optional.
|
| Smalls.MyDeterministicPlusFunction |
As
Smalls.MyPlusFunction but declared to be deterministic. |
| Smalls.MyDoubleFunction |
Example of a UDF with a static
eval method. |
| Smalls.MyExceptionFunction |
User-defined function that declares exceptions.
|
| Smalls.MyIncrement |
User-defined function with two arguments.
|
| Smalls.MyLeftFunction |
Example of a UDF with named parameters.
|
| Smalls.MyPlusFunction |
Example of a UDF with a non-static
eval method,
and named parameters. |
| Smalls.MyPlusInitFunction |
As
Smalls.MyPlusFunction but constructor has a
FunctionContext parameter. |
| Smalls.MyStaticSumFunction |
Example of a user-defined aggregate function (UDAF), whose methods are
static.
|
| Smalls.MySum3 |
Example of a user-defined aggregate function that implements a generic
interface.
|
| Smalls.MySumFunction |
Example of a user-defined aggregate function (UDAF).
|
| Smalls.MyTableFunction |
A table function that returns a
QueryableTable. |
| Smalls.MyThreeParamsSumFunctionWithFilter1 |
Example of a user-defined aggregate function (UDAF), whose methods are
static.
|
| Smalls.MyThreeParamsSumFunctionWithFilter2 |
Example of a user-defined aggregate function (UDAF), whose methods are
static.
|
| Smalls.MyToStringFunction |
Example of a non-strict UDF.
|
| Smalls.MyTwoParamsSumFunctionFilter1 |
Example of a user-defined aggregate function (UDAF) with two parameters.
|
| Smalls.MyTwoParamsSumFunctionFilter2 |
Another example of a user-defined aggregate function (UDAF) with two
parameters.
|
| Smalls.Null4Function |
Example of a semi-strict UDF.
|
| Smalls.Null8Function |
Example of a picky, semi-strict UDF.
|
| Smalls.SimpleTable |
Table with columns (A, B).
|
| Smalls.SimpleTableFunction |
A table function that returns a
QueryableTable. |
| Smalls.SimpleTableMacro |
Implementation of
TableMacro interface with
Smalls.SimpleTableMacro.apply(java.util.List<?>) method that returns Queryable table. |
| Smalls.StaticTableMacroFunction |
User-defined table-macro function whose eval method is static.
|
| Smalls.SumFunctionBadIAdd |
User-defined function.
|
| Smalls.TableMacroFunction |
User-defined table-macro function.
|
| Smalls.TableMacroFunctionWithNamedParameters |
User-defined table-macro function with named and optional parameters.
|
| Smalls.TestStaticTableFunction |
A table function that returns a
QueryableTable via a
static method. |
| Smalls.WideProductSale |
Table with a lot of columns.
|
| Smalls.WideSaleSchema |
Schema containing a
prod table with a lot of columns. |
| TestUtil |
Static utilities for JUnit tests.
|
Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.