org.apache.storm.blobstore

## Class BlobStore.KeyTranslationIterator

- java.lang.Object
- - org.apache.storm.blobstore.BlobStore.KeyTranslationIterator

- All Implemented Interfaces:
    Iterator<String>
  Enclosing class:
    BlobStore

      public static class BlobStore.KeyTranslationIterator
      extends Object
      implements Iterator<String>

  Blob store implements its own version of iterator to list the blobs.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyTranslationIterator(Iterator<String> it, String prefix)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `String` | `next()`
    `void` | `remove()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining`

- - ### Constructor Detail

    - #### KeyTranslationIterator

          public KeyTranslationIterator(Iterator<String> it,
                                        String prefix)
                                 throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<String>`

    - #### next

          public String next()

      Specified by:
        `next` in interface `Iterator<String>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `Iterator<String>`

Copyright © 2019 The Apache Software Foundation. All rights reserved.