public class JobTraceReader extends Object
LoggedJob
instances.Constructor and Description |
---|
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
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.