@InterfaceAudience.Public @InterfaceStability.Unstable public class FixedBlockResolver extends BlockResolver implements Configurable
| Modifier and Type | Field and Description | 
|---|---|
| static String | BLOCKSIZE | 
| static long | BLOCKSIZE_DEFAULT | 
| static String | START_BLOCK | 
| Constructor and Description | 
|---|
| FixedBlockResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<Long> | blockLengths(FileStatus s) | 
| Configuration | getConf()Return the configuration used by this object. | 
| int | getReplication(FileStatus s) | 
| long | lastId() | 
| long | nextId() | 
| long | preferredBlockSize(FileStatus s) | 
| void | setConf(Configuration conf)Set the configuration to be used by this object. | 
buildBlock, buildBlock, resolvepublic static final String BLOCKSIZE
public static final String START_BLOCK
public static final long BLOCKSIZE_DEFAULT
public void setConf(Configuration conf)
ConfigurablesetConf in interface Configurableconf - configuration to be usedpublic Configuration getConf()
ConfigurablegetConf in interface Configurableprotected List<Long> blockLengths(FileStatus s)
blockLengths in class BlockResolvers - the external reference.public long nextId()
nextId in class BlockResolverpublic long lastId()
lastId in class BlockResolverpublic long preferredBlockSize(FileStatus s)
preferredBlockSize in class BlockResolvers - the external reference.public int getReplication(FileStatus s)
getReplication in class BlockResolvers - the external reference.Copyright © 2025 Apache Software Foundation. All rights reserved.