public static class OutputWidthCalculators.CloneOutputWidthCalculator extends Object implements OutputWidthCalculator
| Modifier and Type | Field and Description |
|---|---|
static OutputWidthCalculators.CloneOutputWidthCalculator |
INSTANCE |
| Constructor and Description |
|---|
CloneOutputWidthCalculator() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOutputWidth(List<OutputWidthExpression.FixedLenExpr> args)
Defines a function's output size estimate as the same length as the first
argument.
|
public static final OutputWidthCalculators.CloneOutputWidthCalculator INSTANCE
public int getOutputWidth(List<OutputWidthExpression.FixedLenExpr> args)
Types.MAX_VARCHAR_LENGTH,
it is replaced with Types.MAX_VARCHAR_LENGTH.getOutputWidth in interface OutputWidthCalculatorargs - logical expressionsCopyright © 2021 The Apache Software Foundation. All rights reserved.