Package eu.stratosphere.api.java.typeutils

Examples of eu.stratosphere.api.java.typeutils.RecordTypeInfo


   *
   * @param f The {@link OutputFormat} implementation used to sink the data.
   * @param name The given name for the sink, used in plans, logs and progress messages.
   */
  public GenericDataSink(OutputFormat<Record> f, String name) {
    super(f, new UnaryOperatorInformation<Record, Nothing>(new RecordTypeInfo(), new NothingTypeInfo()), name);
  }
View Full Code Here


   * @param f The {@link OutputFormat} implementation used to sink the data.
   * @param name The given name for the sink, used in plans, logs and progress messages.
   */
  public GenericDataSink(Class<? extends OutputFormat<Record>> f, String name) {
    super(new UserCodeClassWrapper<OutputFormat<Record>>(f),
        new UnaryOperatorInformation<Record, Nothing>(new RecordTypeInfo(), new NothingTypeInfo()), name);
  }
View Full Code Here

   * @param f The {@link FileOutputFormat} implementation used to encode the data.
   * @param filePath The path to the file to write the contents to.
   * @param name The given name for the sink, used in plans, logs and progress messages.
   */
  public FileDataSink(FileOutputFormat<Record> f, String filePath, String name) {
    super(f,  new UnaryOperatorInformation<Record, Nothing>(new RecordTypeInfo(), new NothingTypeInfo()), filePath, name);
  }
View Full Code Here

   * @param filePath The path to the file to write the contents to.
   * @param name The given name for the sink, used in plans, logs and progress messages.
   */
  public FileDataSink(Class<? extends FileOutputFormat<Record>> f, String filePath, String name) {
    super(new UserCodeClassWrapper<FileOutputFormat<Record>>(f),
        new UnaryOperatorInformation<Record, Nothing>(new RecordTypeInfo(), new NothingTypeInfo()),
        filePath, name);
  }
View Full Code Here

import eu.stratosphere.types.Record;

public class OperatorInfoHelper {

  public static OperatorInformation<Record> source() {
    return new OperatorInformation<Record>(new RecordTypeInfo());
  }
View Full Code Here

  public static OperatorInformation<Record> source() {
    return new OperatorInformation<Record>(new RecordTypeInfo());
  }

  public static UnaryOperatorInformation<Record, Record> unary() {
    return new UnaryOperatorInformation<Record, Record>(new RecordTypeInfo(), new RecordTypeInfo());
  }
View Full Code Here

  public static UnaryOperatorInformation<Record, Record> unary() {
    return new UnaryOperatorInformation<Record, Record>(new RecordTypeInfo(), new RecordTypeInfo());
  }

  public static BinaryOperatorInformation<Record, Record, Record> binary() {
    return new BinaryOperatorInformation<Record, Record, Record>(new RecordTypeInfo(), new RecordTypeInfo(), new RecordTypeInfo());
  }
View Full Code Here

   * Specialized operator to use as a recognizable place-holder for the working set input to the
   * step function.
   */
  public static class WorksetPlaceHolder extends DeltaIterationBase.WorksetPlaceHolder<Record> {
    public WorksetPlaceHolder(DeltaIterationBase<?, Record> container) {
      super(container, new OperatorInformation<Record>(new RecordTypeInfo()));
    }
View Full Code Here

   * Specialized operator to use as a recognizable place-holder for the solution set input to the
   * step function.
   */
  public static class SolutionSetPlaceHolder extends DeltaIterationBase.SolutionSetPlaceHolder<Record> {
    public SolutionSetPlaceHolder(DeltaIterationBase<Record, ?> container) {
      super(container, new OperatorInformation<Record>(new RecordTypeInfo()));
    }
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.java.typeutils.RecordTypeInfo

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.