Package com.odiago.flumebase.exec

Examples of com.odiago.flumebase.exec.EmptyEventWrapper


    WindowSpec window = null;
    try {
      // This should evaluate to itself, but make sure to resolve it anyway.
      assert mWindowExpr.isConstant();
      window = (WindowSpec) mWindowExpr.eval(new EmptyEventWrapper());
    } catch (IOException ioe) {
      // mWindowExpr should be constant, so this should be impossible.
      LOG.error("IOException calculating window expression: " + ioe);
      // Signal error by returning a null flow specification anyway.
      planContext.setFlowSpec(null);
View Full Code Here


  @Override
  public String toStringOneLine() {
    StringBuilder sb = new StringBuilder();
    sb.append("RANGE(From=");
    try {
      sb.append(mPrevSize.eval(new EmptyEventWrapper()));
    } catch (IOException ioe) {
      sb.append("???");
    }
    sb.append(" ");
    sb.append(mPrevScale);
    sb.append(", To=");
    try {
      sb.append(mAfterSize.eval(new EmptyEventWrapper()));
    } catch (IOException ioe) {
      sb.append("???");
    }
    sb.append(" ");
    sb.append(mAfterScale);
View Full Code Here

TOP

Related Classes of com.odiago.flumebase.exec.EmptyEventWrapper

Copyright © 2018 www.massapicom. 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.