Class FileOperations.FileAccessOperation<SubclassType extends FileOperations.FileAccessOperation<SubclassType>>

    • Constructor Detail

      • FileAccessOperation

        protected FileAccessOperation()
    • Method Detail

      • withTableConfiguration

        public SubclassType withTableConfiguration​(AccumuloConfiguration tableConfiguration)
        Specify the table configuration defining access to this file.
      • forFile

        public SubclassType forFile​(String filename,
                                    org.apache.hadoop.fs.FileSystem fs,
                                    org.apache.hadoop.conf.Configuration fsConf)
        Specify the file this operation should apply to.
      • forFile

        public SubclassType forFile​(String filename)
        Specify the file this operation should apply to.
      • inFileSystem

        public 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.
      • setFilename

        protected void setFilename​(String filename)
      • getFilename

        public String getFilename()
      • getFileSystem

        public org.apache.hadoop.fs.FileSystem getFileSystem()
      • setConfiguration

        protected void setConfiguration​(org.apache.hadoop.conf.Configuration fsConf)
      • getConfiguration

        public org.apache.hadoop.conf.Configuration getConfiguration()
      • validate

        protected void validate()
        Check for null parameters.