Class IndexWriter.LongArray1NWriter

  • Enclosing class:
    IndexWriter

    public static class IndexWriter.LongArray1NWriter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LongArray1NWriter​(int size, java.io.File indexFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      Terminate the LongArray1NWriter and delete any files which have been written so far.
      void flush()  
      java.io.File getIndexFile()  
      void log​(int index, long[] values)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongArray1NWriter

        public LongArray1NWriter​(int size,
                                 java.io.File indexFile)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • log

        public void log​(int index,
                        long[] values)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • cancel

        public void cancel()
        Terminate the LongArray1NWriter and delete any files which have been written so far. Use to cancel part way through.
      • getIndexFile

        public java.io.File getIndexFile()