Interface FeedReader

All Known Implementing Classes:
JsonFeedReader, VespaXMLFeedReader

public interface FeedReader
Minimal interface for reading operations from a stream for a feeder. Interface extracted from VespaXMLFeedReader to enable JSON feeding.
Author:
steinar
  • Method Summary

    Modifier and Type
    Method
    Description
    Reads the next operation from the stream.
  • Method Details

    • read

      FeedOperation read() throws Exception
      Reads the next operation from the stream.
      Returns:
      operation, possibly invalid if none was found.
      Throws:
      Exception