Class SearchDocumentSerializer


  • public final class SearchDocumentSerializer
    extends java.lang.Object
    Binary serializer for response documents.

    NOTE: this serializer is not thread safe.

    • Constructor Detail

      • SearchDocumentSerializer

        public SearchDocumentSerializer()
    • Method Detail

      • write

        public void write​(java.io.OutputStream out,
                          SearchDocument doc)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public SearchDocument read​(java.io.InputStream in)
                            throws java.io.IOException
        Throws:
        java.io.IOException