Package org.apache.flink.core.fs.local

Examples of org.apache.flink.core.fs.local.LocalFileStatus


    return super.open(f);
  }
 
  @Override
  public FileStatus getFileStatus(Path f) throws IOException {
    LocalFileStatus status = (LocalFileStatus) super.getFileStatus(f);
    return new LocalFileStatus(status.getFile(), this);
  }
View Full Code Here


  @Override
  public FileStatus[] listStatus(Path f) throws IOException {
    FileStatus[] stati = super.listStatus(f);
    LocalFileStatus[] newStati = new LocalFileStatus[stati.length];
    for (int i = 0; i < stati.length; i++) {
      newStati[i] = new LocalFileStatus(((LocalFileStatus) stati[i]).getFile(), this);
    }
    return newStati;
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.core.fs.local.LocalFileStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.