Package org.apache.hadoop.hdfs.protocol
Class EncryptionZoneIterator
java.lang.Object
org.apache.hadoop.fs.BatchedRemoteIterator<Long,EncryptionZone>
org.apache.hadoop.hdfs.protocol.EncryptionZoneIterator
- All Implemented Interfaces:
org.apache.hadoop.fs.RemoteIterator<EncryptionZone>
@Private
@Evolving
public class EncryptionZoneIterator
extends org.apache.hadoop.fs.BatchedRemoteIterator<Long,EncryptionZone>
EncryptionZoneIterator is a remote iterator that iterates over encryption
zones. It supports retrying in case of namenode failover.
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptionZoneIterator(ClientProtocol namenode, org.apache.hadoop.tracing.Tracer tracer) -
Method Summary
Modifier and TypeMethodDescriptionelementToPrevKey(EncryptionZone entry) org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<EncryptionZone>makeRequest(Long prevId) Methods inherited from class org.apache.hadoop.fs.BatchedRemoteIterator
hasNext, next
-
Constructor Details
-
EncryptionZoneIterator
-
-
Method Details
-
makeRequest
public org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<EncryptionZone> makeRequest(Long prevId) throws IOException - Specified by:
makeRequestin classorg.apache.hadoop.fs.BatchedRemoteIterator<Long,EncryptionZone> - Throws:
IOException
-
elementToPrevKey
- Specified by:
elementToPrevKeyin classorg.apache.hadoop.fs.BatchedRemoteIterator<Long,EncryptionZone>
-