Package org.apache.solr.common
Interface PushWriter
- 
- All Superinterfaces:
- AutoCloseable,- Closeable
 - All Known Subinterfaces:
- JsonTextWriter,- TextWriter
 - All Known Implementing Classes:
- JavaBinCodec,- JavabinTupleStreamParser,- SolrJSONWriter
 
 public interface PushWriter extends Closeable This is an interface to stream data out using a push API
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteIterator(IteratorWriter iw)Write an array.voidwriteMap(MapWriter mw)Write a Map.
 
- 
- 
- 
Method Detail- 
writeMapvoid writeMap(MapWriter mw) throws IOException Write a Map. The map is opened in the beginning of the method and closed at the end. All map entries MUST be written before this method returns- Throws:
- IOException
 
 - 
writeIteratorvoid writeIterator(IteratorWriter iw) throws IOException Write an array. The array is opened at the beginning of this method and closed at the end. All array entries must be written before this method returns- Throws:
- IOException
 
 
- 
 
-