Uses of Class
org.apache.hadoop.hdfs.util.StripedBlockUtil.AlignedStripe
Packages that use StripedBlockUtil.AlignedStripe
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of StripedBlockUtil.AlignedStripe in org.apache.hadoop.hdfs.util
Methods in org.apache.hadoop.hdfs.util that return StripedBlockUtil.AlignedStripeModifier and TypeMethodDescriptionstatic StripedBlockUtil.AlignedStripe[]StripedBlockUtil.divideByteRangeIntoStripes(ErasureCodingPolicy ecPolicy, int cellSize, LocatedStripedBlock blockGroup, long rangeStartInBlockGroup, long rangeEndInBlockGroup, ByteBuffer buf) This method divides a requested byte range into an array of inclusiveStripedBlockUtil.AlignedStripe.static StripedBlockUtil.AlignedStripe[]StripedBlockUtil.divideOneStripe(ErasureCodingPolicy ecPolicy, int cellSize, LocatedStripedBlock blockGroup, long rangeStartInBlockGroup, long rangeEndInBlockGroup, ByteBuffer buf) Similar functionality withStripedBlockUtil.divideByteRangeIntoStripes(org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy, int, org.apache.hadoop.hdfs.protocol.LocatedStripedBlock, long, long, java.nio.ByteBuffer), but is used by stateful read and uses ByteBuffer as reading target buffer.