Class GraphLoader

java.lang.Object
org.apache.jackrabbit.oak.segment.file.tar.GraphLoader

public final class GraphLoader extends Object
  • Method Details

    • loadGraph

      public static Buffer loadGraph(ReaderAtEnd readerAtEnd) throws IOException
      Loads the optional pre-compiled graph entry from the given tar file.
      Returns:
      the graph or null if one was not found
      Throws:
      IOException - if the tar file could not be read
    • parseGraph

      public static Map<UUID,List<UUID>> parseGraph(Buffer buffer)