Examples of UnexpectedOperatorType


Examples of org.apache.drill.common.logical.UnexpectedOperatorType

    return input;
  }

  @JsonProperty(value="input", required=true)
  public void setInput(LogicalOperator input) {
    if(input instanceof SinkOperator) throw new UnexpectedOperatorType("You have set the input of a sink node of type ["+input.getClass().getSimpleName()+ "] as the input for another node of type ["+this.getClass().getSimpleName()+ "].  This is invalid.");
    this.input = input;
    input.registerAsSubscriber(this);
  }
View Full Code Here

Examples of org.apache.drill.common.logical.UnexpectedOperatorType

  @SuppressWarnings("unchecked")
  private <O extends G> List<O> checkOperatorType(Collection<G> ops, Class<O> classIdentifier, String error){
    for(G o : ops){
      if(!classIdentifier.isAssignableFrom(o.getClass())){
        throw new UnexpectedOperatorType(o, error);
      }
    }
    return (List<O>) ops;
  }
View Full Code Here

Examples of org.apache.drill.common.logical.UnexpectedOperatorType

  }

  @JsonProperty(value="input", required=true)
  public void setInput(LogicalOperator input) {
    if (input instanceof SinkOperator) {
      throw new UnexpectedOperatorType("You have set the input of a sink node of type ["+input.getClass().getSimpleName()+ "] as the input for another node of type ["+this.getClass().getSimpleName()+ "].  This is invalid.");
    }
    this.input = input;
    input.registerAsSubscriber(this);
  }
View Full Code Here

Examples of org.apache.drill.common.logical.UnexpectedOperatorType

  @SuppressWarnings("unchecked")
  private <O extends G> List<O> checkOperatorType(Collection<G> ops, Class<O> classIdentifier, String error){
    for(G o : ops){
      if(!classIdentifier.isAssignableFrom(o.getClass())){
        throw new UnexpectedOperatorType(o, error);
      }
    }
    return (List<O>) ops;
  }
View Full Code Here

Examples of org.apache.drill.common.logical.UnexpectedOperatorType

    return input;
  }

  @JsonProperty(value="input", required=true)
  public void setInput(LogicalOperator input) {
    if(input instanceof SinkOperator) throw new UnexpectedOperatorType("You have set the input of a sink node of type ["+input.getClass().getSimpleName()+ "] as the input for another node of type ["+this.getClass().getSimpleName()+ "].  This is invalid.");
    this.input = input;
    input.registerAsSubscriber(this);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.