Class VespaFeedWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    public class VespaFeedWriter
    extends java.io.BufferedWriter
    Author:
    Magnar Nedland
    • Field Summary

      • Fields inherited from class java.io.Writer

        lock
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void writePredicateDocument​(int id, java.lang.String fieldName, com.yahoo.document.predicate.Predicate predicate)  
      • Methods inherited from class java.io.BufferedWriter

        flush, newLine, write, write, write
      • Methods inherited from class java.io.Writer

        append, append, append, nullWriter, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.BufferedWriter
        Throws:
        java.io.IOException
      • writePredicateDocument

        public void writePredicateDocument​(int id,
                                           java.lang.String fieldName,
                                           com.yahoo.document.predicate.Predicate predicate)