|
static java.util.List
< SqlTypeFamily > | signature () |
|
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.ST_Distance |
( |
| ) |
|
|
inlinepackage |
Definition at line 1777 of file HeavyDBSqlOperatorTable.java.
1778 super(
"ST_Distance",
1779 SqlKind.OTHER_FUNCTION,
1783 SqlFunctionCategory.SYSTEM);
static java.util.List< SqlTypeFamily > signature()
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.inferReturnType |
( |
SqlOperatorBinding |
opBinding | ) |
|
|
inline |
Definition at line 1787 of file HeavyDBSqlOperatorTable.java.
1788 assert opBinding.getOperandCount() == 2;
1789 final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1790 return typeFactory.createTypeWithNullability(
1791 typeFactory.createSqlType(SqlTypeName.DOUBLE),
1792 opBinding.getOperandType(0).isNullable()
1793 || opBinding.getOperandType(1).isNullable());
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Distance.signature |
( |
| ) |
|
|
inlinestaticprivate |
Definition at line 1796 of file HeavyDBSqlOperatorTable.java.
1797 java.util.List<SqlTypeFamily> st_distance_sig =
1798 new java.util.ArrayList<SqlTypeFamily>();
1799 st_distance_sig.add(SqlTypeFamily.ANY);
1800 st_distance_sig.add(SqlTypeFamily.ANY);
1801 return st_distance_sig;
The documentation for this class was generated from the following file: