blob: 587f38113856149ef031aafaa358950228f3bc4b [file] [log] [blame]
package edu.uci.ics.asterix.om.io;
import edu.uci.ics.asterix.om.base.IAObject;
public interface IAOMReader {
// Initializes a reader for the collection defined by a certain location.
public void init(IALocation location) throws AsterixIOException;
// Reads the current object and goes to the next item in the collection.
// When it reaches the end, it returns null.
public IAObject read() throws AsterixIOException;
public void close() throws AsterixIOException;
}