Class KnnVectorsWriter

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KnnVectorsWriter()
      Sole constructor
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void finish()
      Called once at the end before close
      void merge​(MergeState mergeState)
      Merges the segment vectors for all fields.
      abstract void writeField​(FieldInfo fieldInfo, KnnVectorsReader knnVectorsReader)
      Write all values contained in the provided reader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.io.Closeable

        close
    • Constructor Detail

      • KnnVectorsWriter

        protected KnnVectorsWriter()
        Sole constructor
    • Method Detail

      • writeField

        public abstract void writeField​(FieldInfo fieldInfo,
                                        KnnVectorsReader knnVectorsReader)
                                 throws java.io.IOException
        Write all values contained in the provided reader
        Throws:
        java.io.IOException
      • finish

        public abstract void finish()
                             throws java.io.IOException
        Called once at the end before close
        Throws:
        java.io.IOException