Package | Description |
---|---|
com.asakusafw.operation.tools.directio |
Direct I/O tools.
|
com.asakusafw.runtime.directio |
Direct I/O access from Asakusa Framework.
|
com.asakusafw.runtime.directio.hadoop |
Direct I/O access for Hadoop Environment.
|
Modifier and Type | Method and Description |
---|---|
FilePattern |
BasePath.asFilePattern()
Returns the file pattern.
|
FilePattern |
BasePath.resolve(FilePattern pattern)
Returns a file pattern that is a sequence of this and the given pattern.
|
Modifier and Type | Method and Description |
---|---|
Optional<FilePattern> |
DirectIoPath.getResourcePattern()
Returns the resource pattern.
|
Optional<FilePattern> |
BasePath.restOf(String path)
Extracts the rest resource pattern of the given path.
|
Modifier and Type | Method and Description |
---|---|
FilePattern |
BasePath.resolve(FilePattern pattern)
Returns a file pattern that is a sequence of this and the given pattern.
|
Constructor and Description |
---|
DirectIoPath(DataSourceInfo source,
BasePath basePath,
FilePattern resourcePattern)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static FilePattern |
FilePattern.compile(String patternString)
Compiles pattern expression.
|
static FilePattern |
FilePattern.of(List<? extends FilePattern.Segment> segments)
Returns a pattern of the given segments.
|
Modifier and Type | Method and Description |
---|---|
static List<org.apache.hadoop.fs.FileStatus> |
HadoopDataSourceUtil.search(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path base,
FilePattern pattern)
Searches file/directories by pattern.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.