|
static java.util.List
< SqlTypeFamily > | signature () |
|
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.ST_Distance |
( |
| ) |
|
|
inlinepackage |
Definition at line 1965 of file HeavyDBSqlOperatorTable.java.
1966 super(
"ST_Distance",
1967 SqlKind.OTHER_FUNCTION,
1971 SqlFunctionCategory.SYSTEM);
static java.util.List< SqlTypeFamily > signature()
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 1975 of file HeavyDBSqlOperatorTable.java.
1976 assert opBinding.getOperandCount() == 2;
1977 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1978 return typeFactory.createTypeWithNullability(
1979 typeFactory.createSqlType(SqlTypeName.DOUBLE),
1980 opBinding.getOperandType(0).isNullable()
1981 || opBinding.getOperandType(1).isNullable());
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.signature |
( |
| ) |
|
|
inlinestaticprivate |
Definition at line 1984 of file HeavyDBSqlOperatorTable.java.
1985 java.util.List<SqlTypeFamily> st_distance_sig =
1986 new java.util.ArrayList<SqlTypeFamily>();
1987 st_distance_sig.add(SqlTypeFamily.ANY);
1988 st_distance_sig.add(SqlTypeFamily.ANY);
1989 return st_distance_sig;
The documentation for this class was generated from the following file: