@Override public Void visit(SqlIntervalQualifier intervalQualifier) { throw Util.needToImplement(intervalQualifier); } }
@Override public Void visit(SqlNodeList nodeList) { throw Util.needToImplement(nodeList); }
@Override public Void visit(SqlDynamicParam param) { throw Util.needToImplement(param); }
@Override public Void visit(SqlDataTypeSpec type) { throw Util.needToImplement(type); }
public RelDataType getValidatedNodeType(SqlNode node) { RelDataType type = getValidatedNodeTypeIfKnown(node); if (type == null) { throw Util.needToImplement(node); } else { return type; } }
public RelDataType visit(SqlNodeList nodeList) { // Operand is of a type that we can't derive a type for. If the // operand is of a peculiar type, such as a SqlNodeList, then you // should override the operator's validateCall() method so that it // doesn't try to validate that operand as an expression. throw Util.needToImplement(nodeList); }
for (SqlNode operand : operands) { if (!(operand.getKind() == SqlKind.ROW)) { throw Util.needToImplement( "Values function where operands are scalars");
public void unparse( SqlWriter writer, SqlOperator operator, SqlCall call, int leftPrec, int rightPrec) { // You probably need to override the operator's unparse // method. throw Util.needToImplement(this); } },
public void addListener(RelOptListener newListener) { // TODO jvs 6-Apr-2006: new superclass AbstractRelOptPlanner // now defines a multicast listener; just need to hook it in if (listener != null) { throw Util.needToImplement("multiple VolcanoPlanner listeners"); } listener = newListener; }
public void unparse( SqlWriter writer, SqlOperator operator, SqlCall call, int leftPrec, int rightPrec) { // You probably need to override the operator's unparse // method. throw Util.needToImplement(this); } },
public Iterator<IntPair> iterator() { throw Util.needToImplement(this); } }
public void addListener(RelOptListener newListener) { // TODO jvs 6-Apr-2006: new superclass AbstractRelOptPlanner // now defines a multicast listener; just need to hook it in if (listener != null) { throw Util.needToImplement("multiple VolcanoPlanner listeners"); } listener = newListener; }
public RelDataType getValidatedNodeType(SqlNode node) { RelDataType type = getValidatedNodeTypeIfKnown(node); if (type == null) { throw Util.needToImplement(node); } else { return type; } }
public RelDataType getValidatedNodeType(SqlNode node) { RelDataType type = getValidatedNodeTypeIfKnown(node); if (type == null) { throw Util.needToImplement(node); } else { return type; } }
/** * Returns the type inferred for a dynamic parameter. * * @param index 0-based index of dynamic parameter * @return inferred type, never null */ public RelDataType getDynamicParamType(int index) { SqlNode sqlNode = dynamicParamSqlNodes.get(index); if (sqlNode == null) { throw Util.needToImplement("dynamic param type inference"); } return validator.getValidatedNodeType(sqlNode); }
public RexNode convertCall(SqlRexContext cx, SqlCall call) { final SqlRexConvertlet convertlet = convertletTable.get(call); if (convertlet != null) { return convertlet.convertCall(cx, call); } // No convertlet was suitable. (Unlikely, because the standard // convertlet table has a fall-back for all possible calls.) throw Util.needToImplement(call); }
public RelDataType visit(SqlNodeList nodeList) { // Operand is of a type that we can't derive a type for. If the // operand is of a peculiar type, such as a SqlNodeList, then you // should override the operator's validateCall() method so that it // doesn't try to validate that operand as an expression. throw Util.needToImplement(nodeList); }
public RelDataType visit(SqlNodeList nodeList) { // Operand is of a type that we can't derive a type for. If the // operand is of a peculiar type, such as a SqlNodeList, then you // should override the operator's validateCall() method so that it // doesn't try to validate that operand as an expression. throw Util.needToImplement(nodeList); }
public void rewriteRel(LogicalAggregate rel) { RelDataType inputType = rel.getInput().getRowType(); for (RelDataTypeField field : inputType.getFieldList()) { if (field.getType().isStruct()) { // TODO jvs 10-Feb-2005 throw Util.needToImplement("aggregation on structured types"); } } rewriteGeneric(rel); }
public void rewriteRel(LogicalAggregate rel) { RelDataType inputType = rel.getInput().getRowType(); for (RelDataTypeField field : inputType.getFieldList()) { if (field.getType().isStruct()) { // TODO jvs 10-Feb-2005 throw Util.needToImplement("aggregation on structured types"); } } rewriteGeneric(rel); }