This project has retired. For details please refer to its Attic page.
PathTarget (Apache Crunch 0.4.0-incubating API)

org.apache.crunch.io
Interface PathTarget

All Superinterfaces:
MapReduceTarget, Target
All Known Implementing Classes:
PathTargetImpl

public interface PathTarget
extends MapReduceTarget

A target whose output goes to a given path on a file system.


Method Summary
 FileNamingScheme getFileNamingScheme()
          Get the naming scheme to be used for outputs being written to an output path.
 org.apache.hadoop.fs.Path getPath()
           
 
Methods inherited from interface org.apache.crunch.io.MapReduceTarget
configureForMapReduce
 
Methods inherited from interface org.apache.crunch.Target
accept, asSourceTarget
 

Method Detail

getPath

org.apache.hadoop.fs.Path getPath()

getFileNamingScheme

FileNamingScheme getFileNamingScheme()
Get the naming scheme to be used for outputs being written to an output path.

Returns:
the naming scheme to be used


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.