예제 #1
0
 public _DirListingIterator_177(Hdfs _enclosing, Path f, Path baseArg1, bool baseArg2
                                )
     : base(_enclosing, baseArg1, baseArg2)
 {
     this._enclosing = _enclosing;
     this.f          = f;
 }
예제 #2
0
 public _DirListingIterator_163(Hdfs _enclosing, Path p, Path baseArg1, bool baseArg2
                                )
     : base(_enclosing, baseArg1, baseArg2)
 {
     this._enclosing = _enclosing;
     this.p          = p;
 }
예제 #3
0
 /// <exception cref="System.IO.IOException"/>
 private DirListingIterator(Hdfs _enclosing, Path p, bool needLocation)
 {
     this._enclosing = _enclosing;
     // if status
     this.src          = this._enclosing.GetUriPath(p);
     this.needLocation = needLocation;
     // fetch the first batch of entries in the directory
     this.thisListing = this._enclosing.dfs.ListPaths(this.src, HdfsFileStatus.EmptyName
                                                      , needLocation);
     if (this.thisListing == null)
     {
         // the directory does not exist
         throw new FileNotFoundException("File " + this.src + " does not exist.");
     }
 }