| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.ftp | |
| org.apache.hadoop.fs.local |
Filesystem implementations that allow Hadoop to read directly from
the local file system.
|
| org.apache.hadoop.util |
Common utilities.
|
| Modifier and Type | Method | Description |
|---|---|---|
DataChecksum.Type |
FsServerDefaults.getChecksumType() |
|
DataChecksum.Type |
Options.ChecksumOpt.getChecksumType() |
|
DataChecksum.Type |
MD5MD5CRC32CastagnoliFileChecksum.getCrcType() |
|
DataChecksum.Type |
MD5MD5CRC32FileChecksum.getCrcType() |
returns the CRC type.
|
DataChecksum.Type |
MD5MD5CRC32GzipFileChecksum.getCrcType() |
|
static DataChecksum.Type |
MD5MD5CRC32FileChecksum.getCrcTypeFromAlgorithmName(java.lang.String algorithm) |
| Constructor | Description |
|---|---|
ChecksumOpt(DataChecksum.Type type,
int size) |
Normal ctor
|
CompositeCrcFileChecksum(int crc,
DataChecksum.Type crcType,
int bytesPerCrc) |
Create a CompositeCrcFileChecksum.
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType) |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri) |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri,
byte storagepolicy) |
|
FsServerDefaults(long blockSize,
int bytesPerChecksum,
int writePacketSize,
short replication,
int fileBufferSize,
boolean encryptDataTransfer,
long trashInterval,
DataChecksum.Type checksumType,
java.lang.String keyProviderUri,
byte storagepolicy,
boolean snapshotTrashRootEnabled) |
| Modifier and Type | Field | Description |
|---|---|---|
static DataChecksum.Type |
FtpConfigKeys.CHECKSUM_TYPE_DEFAULT |
| Modifier and Type | Field | Description |
|---|---|---|
static DataChecksum.Type |
LocalConfigKeys.CHECKSUM_TYPE_DEFAULT |
| Modifier and Type | Method | Description |
|---|---|---|
DataChecksum.Type |
DataChecksum.getChecksumType() |
|
static DataChecksum.Type |
DataChecksum.Type.valueOf(int id) |
the type corresponding to the id.
|
static DataChecksum.Type |
DataChecksum.Type.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DataChecksum.Type[] |
DataChecksum.Type.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
static int |
DataChecksum.getCrcPolynomialForType(DataChecksum.Type type) |
getCrcPolynomialForType.
|
static CrcComposer |
CrcComposer.newCrcComposer(DataChecksum.Type type,
long bytesPerCrcHint) |
Returns a CrcComposer which will collapse all ingested CRCs into a single
value.
|
static DataChecksum |
DataChecksum.newDataChecksum(DataChecksum.Type type,
int bytesPerChecksum) |
|
static CrcComposer |
CrcComposer.newStripedCrcComposer(DataChecksum.Type type,
long bytesPerCrcHint,
long stripeLength) |
Returns a CrcComposer which will collapse CRCs for every combined
underlying data size which aligns with the specified stripe boundary.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.