Class BackupUtils

  • public class BackupUtils
    extends java.lang.Object
    Utilities for working with backups.
    • Constructor Detail

      • BackupUtils

        public BackupUtils()
    • Method Detail

      • createDeserializingIterator

        public static java.util.Iterator<ImmutableObject> createDeserializingIterator​( input,
                                                                                      boolean withAppIdOverride)
        Return an iterator of ImmutableObject instances deserialized from the given stream.

        This parses out delimited protocol buffers for raw Datastore entities and then Ofy-loads those as ImmutableObject.

        The iterator reads from the stream on demand, and as such will fail if the stream is closed.

      • deserializeEntities

        public static<ImmutableObject> deserializeEntities​(byte[] bytes)