Uses of Interface
org.apache.hadoop.hdfs.BlockReader
Packages that use BlockReader
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
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 BlockReaderModifier and TypeMethodDescriptionprotected BlockReaderDFSInputStream.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 BlockReaderModifier and TypeClassDescriptionclassThis is a wrapper around connection to datanode and understands checksum, offset etc.final classAn ExternalBlockReader uses pluggable ReplicaAccessor objects to read from replicas.Methods in org.apache.hadoop.hdfs.client.impl that return BlockReaderModifier and TypeMethodDescriptionBlockReaderFactory.build()Build a BlockReader with the given options.static BlockReaderBlockReaderRemote.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 BlockReaderModifier and TypeMethodDescriptionstatic voidIOUtilsClient.updateReadStatistics(ReadStatistics readStatistics, int nRead, BlockReader blockReader)