|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.tap.Tap<JobConf,RecordReader,OutputCollector>
cascading.tap.hadoop.Hfs
cascading.tap.hadoop.Lfs
public class Lfs
Class Lfs is a Tap
class that provides access to the Local File System via Hadoop.
Tap
instance in a Flow
will force a portion of not the whole Flow to be executed
in "local" mode forcing the Flow to execute in the current JVM. Mixing with Dfs
and other Tap
types is possible, providing a means to implement complex file/data management functions.
Use Hfs
if you need a Tap instance that inherits the default FileSystem
used by Hadoop.
Field Summary |
---|
Fields inherited from class cascading.tap.hadoop.Hfs |
---|
stringPath, TEMPORARY_DIRECTORY |
Constructor Summary | |
---|---|
Lfs(Fields fields,
String stringPath)
Deprecated. |
|
Lfs(Fields fields,
String stringPath,
SinkMode sinkMode)
Deprecated. |
|
Lfs(Scheme scheme,
String stringPath)
Constructor Lfs creates a new Lfs instance. |
|
Lfs(Scheme scheme,
String stringPath,
boolean replace)
Deprecated. |
|
Lfs(Scheme scheme,
String stringPath,
SinkMode sinkMode)
Constructor Lfs creates a new Lfs instance. |
Method Summary | |
---|---|
protected FileSystem |
getFileSystem(JobConf conf)
|
protected void |
setStringPath(String stringPath)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@ConstructorProperties(value={"fields","stringPath"}) @Deprecated public Lfs(Fields fields, String stringPath)
fields
- of type FieldsstringPath
- of type String@ConstructorProperties(value={"scheme","stringPath"}) public Lfs(Scheme scheme, String stringPath)
scheme
- of type SchemestringPath
- of type String@ConstructorProperties(value={"scheme","stringPath","replace"}) @Deprecated public Lfs(Scheme scheme, String stringPath, boolean replace)
scheme
- of type SchemestringPath
- of type Stringreplace
- of type boolean@ConstructorProperties(value={"fields","stringPath","sinkMode"}) @Deprecated public Lfs(Fields fields, String stringPath, SinkMode sinkMode)
fields
- of type FieldsstringPath
- of type StringsinkMode
- of type SinkMode@ConstructorProperties(value={"scheme","stringPath","sinkMode"}) public Lfs(Scheme scheme, String stringPath, SinkMode sinkMode)
scheme
- of type SchemestringPath
- of type StringsinkMode
- of type SinkModeMethod Detail |
---|
protected void setStringPath(String stringPath)
setStringPath
in class Hfs
protected FileSystem getFileSystem(JobConf conf)
getFileSystem
in class Hfs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |