Class CommitLogImports


  • public final class CommitLogImports
    extends java.lang.Object
    Helpers for reading CommitLog records from a file.

    This class is adapted from RestoreCommitLogsAction, and will be used in the initial population of the Cloud SQL database.

    • Method Detail

      • loadEntities

        public static com.google.common.collect.ImmutableList<VersionedEntity> loadEntities​(java.nio.channels.ReadableByteChannel channel)
        Covenience method that adapts loadEntities(InputStream) to a ReadableByteChannel.