Package com.yahoo.search.predicate.utils
Class VespaFeedWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.BufferedWriter
-
- com.yahoo.search.predicate.utils.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
-
-
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)
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.BufferedWriter
- Throws:
java.io.IOException
-
writePredicateDocument
public void writePredicateDocument(int id, java.lang.String fieldName, com.yahoo.document.predicate.Predicate predicate)
-
-