Package org.apache.crunch.impl.mr.emit

Examples of org.apache.crunch.impl.mr.emit.IntermediateEmitter


            outputName);
      } else {
        this.emitter = new OutputEmitter(outputConverter, ctxt.getContext());
      }
    } else if (!children.isEmpty()) {
      this.emitter = new IntermediateEmitter(outputPType, children,
          ctxt.getContext().getConfiguration());
    } else {
      throw new CrunchRuntimeException("Invalid RTNode config: no emitter for: " + nodeName);
    }
  }
View Full Code Here


        this.emitter = new OutputEmitter(outputConverter, ctxt.getContext());
      }
    } else if (!children.isEmpty()) {
      Configuration conf = ctxt.getContext().getConfiguration();
      boolean disableDeepCopy = conf.getBoolean(RuntimeParameters.DISABLE_DEEP_COPY, false);
      this.emitter = new IntermediateEmitter(outputPType, children, conf, disableDeepCopy || fn.disableDeepCopy());
    } else {
      throw new CrunchRuntimeException("Invalid RTNode config: no emitter for: " + nodeName);
    }
  }
View Full Code Here

        this.emitter = new OutputEmitter(outputConverter, ctxt.getContext());
      }
    } else if (!children.isEmpty()) {
      Configuration conf = ctxt.getContext().getConfiguration();
      boolean disableDeepCopy = conf.getBoolean(RuntimeParameters.DISABLE_DEEP_COPY, false);
      this.emitter = new IntermediateEmitter(outputPType, children, conf, disableDeepCopy || fn.disableDeepCopy());
    } else {
      throw new CrunchRuntimeException("Invalid RTNode config: no emitter for: " + nodeName);
    }
  }
View Full Code Here

        this.emitter = new MultipleOutputEmitter(outputConverter, ctxt.getMultipleOutputs(), outputName);
      } else {
        this.emitter = new OutputEmitter(outputConverter, ctxt.getContext());
      }
    } else if (!children.isEmpty()) {
      this.emitter = new IntermediateEmitter(outputPType, children, ctxt.getContext().getConfiguration());
    } else {
      throw new CrunchRuntimeException("Invalid RTNode config: no emitter for: " + nodeName);
    }
  }
View Full Code Here

            outputName);
      } else {
        this.emitter = new OutputEmitter(outputConverter, ctxt.getContext());
      }
    } else if (!children.isEmpty()) {
      this.emitter = new IntermediateEmitter(outputPType, children,
          ctxt.getContext().getConfiguration());
    } else {
      throw new CrunchRuntimeException("Invalid RTNode config: no emitter for: " + nodeName);
    }
  }
View Full Code Here

        this.emitter = new MultipleOutputEmitter(outputConverter, ctxt.getMultipleOutputs(), outputName);
      } else {
        this.emitter = new OutputEmitter(outputConverter, ctxt.getContext());
      }
    } else if (!children.isEmpty()) {
      this.emitter = new IntermediateEmitter(children);
    } else {
      throw new CrunchRuntimeException("Invalid RTNode config: no emitter for: " + nodeName);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.crunch.impl.mr.emit.IntermediateEmitter

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.