|
static java.util.List
< SqlTypeFamily > | signature () |
|
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.ST_Distance |
( |
| ) |
|
|
inlinepackage |
Definition at line 2160 of file HeavyDBSqlOperatorTable.java.
2161 super(
"ST_Distance",
2162 SqlKind.OTHER_FUNCTION,
2166 SqlFunctionCategory.SYSTEM);
static java.util.List< SqlTypeFamily > signature()
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 2170 of file HeavyDBSqlOperatorTable.java.
2171 assert opBinding.getOperandCount() == 2;
2172 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2173 return typeFactory.createTypeWithNullability(
2174 typeFactory.createSqlType(SqlTypeName.DOUBLE),
2175 opBinding.getOperandType(0).isNullable()
2176 || opBinding.getOperandType(1).isNullable());
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.signature |
( |
| ) |
|
|
inlinestaticprivate |
Definition at line 2179 of file HeavyDBSqlOperatorTable.java.
2180 java.util.List<SqlTypeFamily> st_distance_sig =
2181 new java.util.ArrayList<SqlTypeFamily>();
2182 st_distance_sig.add(SqlTypeFamily.ANY);
2183 st_distance_sig.add(SqlTypeFamily.ANY);
2184 return st_distance_sig;
The documentation for this class was generated from the following file: