public class TransformSqlReturnTypes extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.calcite.sql.type.SqlReturnTypeInference |
ARG0_VARCHAR_FORCE_NULLABLE
Type-inference strategy whereby the result type of a call is the type of the operand #0
(0-based), with nulls always allowed.
|
static org.apache.calcite.sql.type.SqlReturnTypeInference |
ARG2_TIMESTAMP_FORCE_NULLABLE |
static org.apache.calcite.sql.type.SqlReturnTypeInference |
IF_NULLABLE
Determine the return type of IF functions with arguments that has the least restrictive (eg:
numeric, character, binary).
|
static org.apache.calcite.sql.type.SqlReturnTypeInference |
NUMERIC_FROM_ARG1_DEFAULT1 |
static org.apache.calcite.sql.type.SqlReturnTypeInference |
NUMERIC_FROM_ARG1_DEFAULT1_NULLABLE |
static org.apache.calcite.sql.type.SqlReturnTypeInference |
ROUND_FUNCTION
ROUND(num [,len]) type inference.
|
static org.apache.calcite.sql.type.SqlReturnTypeInference |
ROUND_FUNCTION_NULLABLE |
static org.apache.calcite.sql.type.SqlReturnTypeInference |
VARCHAR_FORCE_NULLABLE |
static org.apache.calcite.sql.type.SqlReturnTypeInference |
VARCHAR_NOT_NULL |
| 构造器和说明 |
|---|
TransformSqlReturnTypes() |
public static final org.apache.calcite.sql.type.SqlReturnTypeInference ROUND_FUNCTION
public static final org.apache.calcite.sql.type.SqlReturnTypeInference ARG0_VARCHAR_FORCE_NULLABLE
public static final org.apache.calcite.sql.type.SqlReturnTypeInference VARCHAR_FORCE_NULLABLE
public static final org.apache.calcite.sql.type.SqlReturnTypeInference VARCHAR_NOT_NULL
public static final org.apache.calcite.sql.type.SqlReturnTypeInference ROUND_FUNCTION_NULLABLE
public static final org.apache.calcite.sql.type.SqlReturnTypeInference IF_NULLABLE
public static final org.apache.calcite.sql.type.SqlReturnTypeInference NUMERIC_FROM_ARG1_DEFAULT1
public static final org.apache.calcite.sql.type.SqlReturnTypeInference NUMERIC_FROM_ARG1_DEFAULT1_NULLABLE
public static final org.apache.calcite.sql.type.SqlReturnTypeInference ARG2_TIMESTAMP_FORCE_NULLABLE
Copyright © 2025 The Apache Software Foundation. All rights reserved.