public class FunctionUtil extends Object
Constructor and Description |
---|
FunctionUtil() |
Modifier and Type | Method and Description |
---|---|
static ScalarTokenType |
widestInputType(FunctionContext ctx)
Returns the widest input type for all
ScalarValuedFunction
arguments in the context. |
static ScalarTokenType |
widestInputType(FunctionContext ctx,
int... indices)
Returns the widest input type for all specified
ScalarValuedFunction
arguments in the context. |
public static ScalarTokenType widestInputType(FunctionContext ctx)
ScalarValuedFunction
arguments in the context.ctx
- the processing contextTokenTypeConstant.SCALAR
), null
is returned.public static ScalarTokenType widestInputType(FunctionContext ctx, int... indices)
ScalarValuedFunction
arguments in the context.ctx
- the processing contextindices
- the arguments to use in the calculationTokenTypeConstant.SCALAR
), null
is returned.Copyright © 2020 Actian Corporation. All rights reserved.