|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcascading.tap.Tap
cascading.tap.Hfs
cascading.tap.Dfs
public class Dfs
Class Dfs is a Tap class that provides access to the Hadoop Distributed File System.
URI constructors to specify a different HDFS cluster than the default.
| Constructor Summary | |
|---|---|
Dfs(Fields sourceFields,
String stringPath)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields sourceFields,
String stringPath,
boolean replace)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields sourceFields,
URI uri)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields sourceFields,
URI uri,
boolean replace)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Scheme scheme,
String stringPath)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Scheme scheme,
String stringPath,
boolean replace)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Scheme scheme,
URI uri)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Scheme scheme,
URI uri,
boolean replace)
Constructor Dfs creates a new Dfs instance. |
|
| Method Summary | |
|---|---|
protected FileSystem |
getDefaultFileSystem(JobConf jobConf)
|
protected void |
setStringPath(String stringPath)
|
| Methods inherited from class cascading.tap.Hfs |
|---|
deletePath, equals, getFileSystem, getPath, getPathModified, getQualifiedPath, getTemporaryDirectory, getTempPath, getURIScheme, hashCode, isUseTapCollector, makeDirs, makeTemporaryPathDir, makeURIScheme, openForRead, openForWrite, pathExists, setTemporaryDirectory, setUriScheme, sinkInit, sourceInit, toString |
| Methods inherited from class cascading.tap.Tap |
|---|
flowInit, getScheme, getSinkFields, getSourceFields, isAppend, isKeep, isReplace, isSink, isSource, outgoingScopeFor, resolveFields, resolveIncomingOperationFields, setScheme, setUseTapCollector, sink, source, taps |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Dfs(Fields sourceFields,
URI uri)
sourceFields - of type Fieldsuri - of type URI
public Dfs(Fields sourceFields,
URI uri,
boolean replace)
sourceFields - of type Fieldsuri - of type URIreplace - of type boolean
public Dfs(Fields sourceFields,
String stringPath)
sourceFields - of type FieldsstringPath - of type String
public Dfs(Fields sourceFields,
String stringPath,
boolean replace)
sourceFields - of type FieldsstringPath - of type Stringreplace - of type boolean
public Dfs(Scheme scheme,
URI uri)
scheme - of type Schemeuri - of type URI
public Dfs(Scheme scheme,
URI uri,
boolean replace)
scheme - of type Schemeuri - of type URIreplace - of type boolean
public Dfs(Scheme scheme,
String stringPath)
scheme - of type SchemestringPath - of type String
public Dfs(Scheme scheme,
String stringPath,
boolean replace)
scheme - of type SchemestringPath - of type Stringreplace - of type boolean| Method Detail |
|---|
protected void setStringPath(String stringPath)
setStringPath in class Hfs
protected FileSystem getDefaultFileSystem(JobConf jobConf)
throws IOException
getDefaultFileSystem in class HfsIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||