|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cascading.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 fields,
String stringPath)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields fields,
String stringPath,
boolean replace)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields fields,
String stringPath,
SinkMode sinkMode)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields fields,
URI uri)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields fields,
URI uri,
boolean replace)
Constructor Dfs creates a new Dfs instance. |
|
Dfs(Fields fields,
URI uri,
SinkMode sinkMode)
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,
String stringPath,
SinkMode sinkMode)
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. |
|
Dfs(Scheme scheme,
URI uri,
SinkMode sinkMode)
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, getDefaultFileSystemURIScheme, getFileSystem, getPath, getPathModified, getQualifiedPath, getTemporaryDirectory, getTempPath, getURIScheme, hashCode, isWriteDirect, makeDirs, makeTemporaryPathDir, makeURIScheme, openForRead, openForWrite, pathExists, setTemporaryDirectory, setUriScheme, sinkInit, sourceInit, toString |
Methods inherited from class cascading.tap.Tap |
---|
flowInit, getIdentifier, getScheme, getSinkFields, getSinkMode, getSourceFields, isAppend, isEquivalentTo, isKeep, isReplace, isSink, isSource, isUpdate, outgoingScopeFor, resolveFields, resolveIncomingOperationFields, setScheme, setWriteDirect, sink, source, taps |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@ConstructorProperties(value={"fields","uri"}) public Dfs(Fields fields, URI uri)
fields
- of type Fieldsuri
- of type URI@ConstructorProperties(value={"fields","uri","replace"}) public Dfs(Fields fields, URI uri, boolean replace)
fields
- of type Fieldsuri
- of type URIreplace
- of type boolean@ConstructorProperties(value={"fields","uri","sinkMode"}) public Dfs(Fields fields, URI uri, SinkMode sinkMode)
fields
- of type Fieldsuri
- of type URIsinkMode
- of type SinkMode@ConstructorProperties(value={"fields","stringPath"}) public Dfs(Fields fields, String stringPath)
fields
- of type FieldsstringPath
- of type String@ConstructorProperties(value={"fields","stringPath","replace"}) public Dfs(Fields fields, String stringPath, boolean replace)
fields
- of type FieldsstringPath
- of type Stringreplace
- of type boolean@ConstructorProperties(value={"fields","stringPath","sinkMode"}) public Dfs(Fields fields, String stringPath, SinkMode sinkMode)
fields
- of type FieldsstringPath
- of type StringsinkMode
- of type SinkMode@ConstructorProperties(value={"scheme","uri"}) public Dfs(Scheme scheme, URI uri)
scheme
- of type Schemeuri
- of type URI@ConstructorProperties(value={"scheme","uri","replace"}) public Dfs(Scheme scheme, URI uri, boolean replace)
scheme
- of type Schemeuri
- of type URIreplace
- of type boolean@ConstructorProperties(value={"scheme","uri","sinkMode"}) public Dfs(Scheme scheme, URI uri, SinkMode sinkMode)
scheme
- of type Schemeuri
- of type URIsinkMode
- of type SinkMode@ConstructorProperties(value={"scheme","stringPath"}) public Dfs(Scheme scheme, String stringPath)
scheme
- of type SchemestringPath
- of type String@ConstructorProperties(value={"scheme","stringPath","replace"}) public Dfs(Scheme scheme, String stringPath, boolean replace)
scheme
- of type SchemestringPath
- of type Stringreplace
- of type boolean@ConstructorProperties(value={"scheme","stringPath","sinkMode"}) public Dfs(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 getDefaultFileSystem(JobConf jobConf) throws IOException
getDefaultFileSystem
in class Hfs
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |