Uses of Interface org.apache.hadoop.hdfs.BlockReader (Apache Hadoop HDFS Client 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs, interface: BlockReader

# Uses of Interface
org.apache.hadoop.hdfs.BlockReader

Packages that use BlockReader
Package
Description
org.apache.hadoop.hdfs
org.apache.hadoop.hdfs.client.impl
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.hdfs.util
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- ## Uses of BlockReader in org.apache.hadoop.hdfs

  Methods in org.apache.hadoop.hdfs that return BlockReader
  Modifier and Type
  Method
  Description
  `protected BlockReader`
  DFSInputStream.`getBlockReader(LocatedBlock targetBlock, long offsetInBlock, long length, InetSocketAddress targetAddr, org.apache.hadoop.fs.StorageType storageType, DatanodeInfo datanode)`

- ## Uses of BlockReader in org.apache.hadoop.hdfs.client.impl

  Classes in org.apache.hadoop.hdfs.client.impl that implement BlockReader
  Modifier and Type
  Class
  Description
  `class`
  `BlockReaderRemote`
  This is a wrapper around connection to datanode and understands checksum, offset etc.
  `final class`
  `ExternalBlockReader`
  An ExternalBlockReader uses pluggable ReplicaAccessor objects to read from replicas.
  Methods in org.apache.hadoop.hdfs.client.impl that return BlockReader
  Modifier and Type
  Method
  Description
  `BlockReader`
  BlockReaderFactory.`build()`
  Build a BlockReader with the given options.
  `static BlockReader`
  BlockReaderRemote.`newBlockReader(String file, ExtendedBlock block, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken, long startOffset, long len, boolean verifyChecksum, String clientName, Peer peer, DatanodeID datanodeID, PeerCache peerCache, CachingStrategy cachingStrategy, int networkDistance, org.apache.hadoop.conf.Configuration configuration)`
  Create a new BlockReader specifically to satisfy a read.

- ## Uses of BlockReader in org.apache.hadoop.hdfs.util

  Methods in org.apache.hadoop.hdfs.util with parameters of type BlockReader
  Modifier and Type
  Method
  Description
  `static void`
  IOUtilsClient.`updateReadStatistics(ReadStatistics readStatistics, int nRead, BlockReader blockReader)`