Package org.apache.solr.common
Interface PushWriter
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Subinterfaces:
JsonTextWriter,TextWriter
- All Known Implementing Classes:
JavaBinCodec
This is an interface to stream data out using a push API
-
Method Summary
Modifier and TypeMethodDescriptionvoidWrite an array.voidWrite a Map.
-
Method Details
-
writeMap
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
-
writeIterator
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
-