public class Lfs extends Hfs
Tap class that provides access to the Local File System via Hadoop.
Note that using a Lfs 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.
stringPath| Constructor and Description |
|---|
Lfs(cascading.scheme.Scheme scheme,
java.lang.String stringPath)
Constructor Lfs creates a new Lfs instance.
|
Lfs(cascading.scheme.Scheme scheme,
java.lang.String stringPath,
cascading.tap.SinkMode sinkMode)
Constructor Lfs creates a new Lfs instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected FileSystem |
getFileSystem(Configuration conf) |
protected void |
setStringPath(java.lang.String stringPath) |
applySourceConfInitIdentifiers, create, createResource, deleteChildResource, deleteChildResource, deleteResource, getBlockSize, getBlockSize, getChildIdentifiers, getChildIdentifiers, getChildIdentifiers, getChildIdentifiers, getCombinedInputSafeMode, getDeclaredInputPaths, getDefaultFileSystem, getDefaultFileSystemURIScheme, getFileStatus, getFullIdentifier, getIdentifier, getLocalModeScheme, getModifiedTime, getPath, getReplication, getReplication, getSize, getSize, getTempPath, getURIScheme, getUseCombinedInput, isDirectory, isDirectory, makeTemporaryPathDirString, makeURIScheme, openForRead, openForWrite, resetFileStatuses, resourceExists, setUriScheme, sinkConfInit, sourceConfInit, sourceConfInitAddInputPath, sourceConfInitAddInputPaths, sourceConfInitComplete, verifyNoDuplicates, withChildIdentifier, withScheme, withSinkModecommitResource, entryStream, entryStream, entryStreamCopy, entryStreamCopy, equals, flowConfInit, getConfigDef, getNodeConfigDef, getScheme, getSinkFields, getSinkMode, getSourceFields, getStepConfigDef, getTrace, hasConfigDef, hashCode, hasNodeConfigDef, hasStepConfigDef, id, isKeep, isReplace, isSink, isSource, isTemporary, isUpdate, openForRead, openForReadUnchecked, openForWrite, outgoingScopeFor, prepareResourceForRead, prepareResourceForWrite, presentSinkFields, presentSourceFields, resolveIncomingOperationArgumentFields, resolveIncomingOperationPassThroughFields, retrieveSinkFields, retrieveSourceFields, rollbackResource, setScheme, spliterator, splititerator, taps, toString, tupleStream, tupleStream, tupleStreamCopy, tupleStreamCopy@ConstructorProperties(value={"scheme","stringPath"})
public Lfs(cascading.scheme.Scheme scheme,
java.lang.String stringPath)
scheme - of type SchemestringPath - of type String@ConstructorProperties(value={"scheme","stringPath","sinkMode"})
public Lfs(cascading.scheme.Scheme scheme,
java.lang.String stringPath,
cascading.tap.SinkMode sinkMode)
scheme - of type SchemestringPath - of type StringsinkMode - of type SinkModeprotected void setStringPath(java.lang.String stringPath)
setStringPath in class Hfsprotected FileSystem getFileSystem(Configuration conf)
getFileSystem in class HfsCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.