Class HgkvDirImpl

    • Method Detail

      • create

        public static HgkvDir create​(java.lang.String path)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • open

        public static HgkvDir open​(java.lang.String path)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • segments

        public java.util.List<HgkvFile> segments()
        Description copied from interface: HgkvDir
        Return the segments in HgkvDir. A HgkvDir is a complete file, HgkvDir consists of multiple HgkvFile.
        Specified by:
        segments in interface HgkvDir
      • output

        public BufferedFileOutput output()
                                  throws java.io.FileNotFoundException
        Description copied from interface: HgkvFile
        Output of hgkv file.
        Specified by:
        output in interface HgkvFile
        Throws:
        java.io.FileNotFoundException