public class JobTraceReader extends Object
LoggedJob
instances.构造器和说明 |
---|
JobTraceReader(InputStream input)
Constructor.
|
JobTraceReader(Path path,
Configuration conf)
Constructor.
|
public JobTraceReader(Path path, Configuration conf) throws IOException
path
- Path to the JSON trace file, possibly compressed.conf
- IOException
public JobTraceReader(InputStream input) throws IOException
input
- The input stream for the JSON trace.IOException
public T getNext() throws IOException
IOException
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
IOException
Copyright © 2009 The Apache Software Foundation