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 Detail

      • read

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