@InterfaceAudience.Public @InterfaceStability.Unstable public class FileRegion extends Object implements BlockAlias
Constructor and Description |
---|
FileRegion(org.apache.hadoop.hdfs.protocol.Block block,
org.apache.hadoop.hdfs.protocol.ProvidedStorageLocation providedStorageLocation) |
FileRegion(long blockId,
Path path,
long offset,
long length) |
FileRegion(long blockId,
Path path,
long offset,
long length,
long genStamp) |
FileRegion(long blockId,
Path path,
long offset,
long length,
long genStamp,
byte[] nonce) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.apache.hadoop.hdfs.protocol.Block |
getBlock() |
org.apache.hadoop.hdfs.protocol.ProvidedStorageLocation |
getProvidedStorageLocation() |
int |
hashCode() |
public FileRegion(long blockId, Path path, long offset, long length, long genStamp)
public FileRegion(long blockId, Path path, long offset, long length, long genStamp, byte[] nonce)
public FileRegion(long blockId, Path path, long offset, long length)
public FileRegion(org.apache.hadoop.hdfs.protocol.Block block, org.apache.hadoop.hdfs.protocol.ProvidedStorageLocation providedStorageLocation)
public org.apache.hadoop.hdfs.protocol.Block getBlock()
getBlock
in interface BlockAlias
public org.apache.hadoop.hdfs.protocol.ProvidedStorageLocation getProvidedStorageLocation()
Copyright © 2020 Apache Software Foundation. All rights reserved.