Package org.apache.crunch.io.impl

Examples of org.apache.crunch.io.impl.FileTargetImpl


   * @param formatClass The {@code FileOutputFormat} to write the data to
   * @return A new {@code Target} instance
   */
  public static <K extends Writable, V extends Writable> Target formattedFile(
      Path path, Class<? extends FileOutputFormat<K, V>> formatClass) {
    return new FileTargetImpl(path, formatClass, SequentialFileNamingScheme.getInstance());
  }
View Full Code Here


   * @param formatClass The {@code FileOutputFormat} to write the data to
   * @return A new {@code Target} instance
   */
  public static <K extends Writable, V extends Writable> Target formattedFile(
      Path path, Class<? extends FileOutputFormat<K, V>> formatClass) {
    return new FileTargetImpl(path, formatClass, SequentialFileNamingScheme.getInstance());
  }
View Full Code Here

  public static Target formattedFile(String pathName, Class<? extends FileOutputFormat> formatClass) {
    return formattedFile(new Path(pathName), formatClass);
  }

  public static Target formattedFile(Path path, Class<? extends FileOutputFormat> formatClass) {
    return new FileTargetImpl(path, formatClass, new SequentialFileNamingScheme());
  }
View Full Code Here

   * @param formatClass The {@code FileOutputFormat} to write the data to
   * @return A new {@code Target} instance
   */
  public static <K extends Writable, V extends Writable> Target formattedFile(
      Path path, Class<? extends FileOutputFormat<K, V>> formatClass) {
    return new FileTargetImpl(path, formatClass, new SequentialFileNamingScheme());
  }
View Full Code Here

  public static Target formattedFile(String pathName, Class<? extends FileOutputFormat> formatClass) {
    return formattedFile(new Path(pathName), formatClass);
  }

  public static Target formattedFile(Path path, Class<? extends FileOutputFormat> formatClass) {
    return new FileTargetImpl(path, formatClass);
  }
View Full Code Here

TOP

Related Classes of org.apache.crunch.io.impl.FileTargetImpl

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.