OmniSciDB  a5dc49c757
 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 702 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 703 of file HeavyDBSqlOperatorTable.java.

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

703  {
704  super("SAMPLE_RATIO",
705  SqlKind.OTHER_FUNCTION,
706  null,
707  null,
708  OperandTypes.family(signature()),
709  SqlFunctionCategory.SYSTEM);
710  }

+ 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 713 of file HeavyDBSqlOperatorTable.java.

713  {
714  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
715  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
716  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.SampleRatio.signature ( )
inlinestaticprivate

Definition at line 718 of file HeavyDBSqlOperatorTable.java.

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

718  {
719  java.util.ArrayList<SqlTypeFamily> families =
720  new java.util.ArrayList<SqlTypeFamily>();
721  families.add(SqlTypeFamily.NUMERIC);
722  return families;
723  }

+ Here is the caller graph for this function:


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