OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio:

Public Member Functions

 SampleRatio ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
signature ()
 

Detailed Description

Definition at line 676 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio.SampleRatio ( )
inline

Definition at line 677 of file HeavyDBSqlOperatorTable.java.

References com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio.signature().

677  {
678  super("SAMPLE_RATIO",
679  SqlKind.OTHER_FUNCTION,
680  null,
681  null,
682  OperandTypes.family(signature()),
683  SqlFunctionCategory.SYSTEM);
684  }

+ Here is the call graph for this function:

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 687 of file HeavyDBSqlOperatorTable.java.

687  {
688  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
689  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
690  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio.signature ( )
inlinestaticprivate

Definition at line 692 of file HeavyDBSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio.SampleRatio().

692  {
693  java.util.ArrayList<SqlTypeFamily> families =
694  new java.util.ArrayList<SqlTypeFamily>();
695  families.add(SqlTypeFamily.NUMERIC);
696  return families;
697  }

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: