Class ChunkingKeyInput

  • All Implemented Interfaces:
    java.io.Serializable

    public class ChunkingKeyInput
    extends com.google.appengine.tools.mapreduce.Input<java.util.List<com.google.appengine.api.datastore.Key>>
    A MapReduce Input adapter that chunks an input of keys into sublists of keys.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ChunkingKeyInput​(com.google.appengine.tools.mapreduce.Input<com.google.appengine.api.datastore.Key> input, int chunkSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<com.google.appengine.tools.mapreduce.InputReader<java.util.List<com.google.appengine.api.datastore.Key>>> createReaders()  
      • Methods inherited from class com.google.appengine.tools.mapreduce.Input

        getContext
      • Methods inherited from class java.lang.Object

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

      • ChunkingKeyInput

        public ChunkingKeyInput​(com.google.appengine.tools.mapreduce.Input<com.google.appengine.api.datastore.Key> input,
                                int chunkSize)
    • Method Detail

      • createReaders

        public java.util.List<com.google.appengine.tools.mapreduce.InputReader<java.util.List<com.google.appengine.api.datastore.Key>>> createReaders()
                                                                                                                                               throws java.io.IOException
        Specified by:
        createReaders in class com.google.appengine.tools.mapreduce.Input<java.util.List<com.google.appengine.api.datastore.Key>>
        Throws:
        java.io.IOException