protected static class FileOperations.FileAccessOperation<SubclassType extends FileOperations.FileAccessOperation<SubclassType>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
FileOperations.FileAccessOperation() |
Modifier and Type | Method and Description |
---|---|
SubclassType |
forFile(String filename)
Specify the file this operation should apply to.
|
SubclassType |
forFile(String filename,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration fsConf)
Specify the file this operation should apply to.
|
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
getFilename() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
AccumuloConfiguration |
getTableConfiguration() |
SubclassType |
inFileSystem(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration fsConf)
Specify the filesystem which this operation should apply to, along with its configuration.
|
protected void |
setConfiguration(org.apache.hadoop.conf.Configuration fsConf) |
protected void |
setFilename(String filename) |
protected void |
validate()
Check for null parameters.
|
SubclassType |
withTableConfiguration(AccumuloConfiguration tableConfiguration)
Specify the table configuration defining access to this file.
|
protected FileOperations.FileAccessOperation()
public SubclassType withTableConfiguration(AccumuloConfiguration tableConfiguration)
public SubclassType forFile(String filename, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration fsConf)
public SubclassType forFile(String filename)
public SubclassType inFileSystem(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration fsConf)
protected void setFilename(String filename)
public String getFilename()
public org.apache.hadoop.fs.FileSystem getFileSystem()
protected void setConfiguration(org.apache.hadoop.conf.Configuration fsConf)
public org.apache.hadoop.conf.Configuration getConfiguration()
public AccumuloConfiguration getTableConfiguration()
protected void validate()
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.