Uses of Enum Class org.apache.hadoop.fs.StorageType (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.fs, enum: StorageType

# Uses of Enum Class
org.apache.hadoop.fs.StorageType

Packages that use StorageType
Package
Description
org.apache.hadoop.fs
Implementations of `AbstractFileSystem` for hdfs over rpc and hdfs over web.
org.apache.hadoop.hdfs.client
This package provides the administrative APIs for HDFS.
org.apache.hadoop.hdfs.protocol
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- ## Uses of StorageType in org.apache.hadoop.fs

  Fields in org.apache.hadoop.fs declared as StorageType
  Modifier and Type
  Field
  Description
  `static final StorageType`
  StorageType.`DEFAULT`
  `static final StorageType[]`
  StorageType.`EMPTY_ARRAY`
  Methods in org.apache.hadoop.fs that return StorageType
  Modifier and Type
  Method
  Description
  `StorageType[]`
  BlockStoragePolicySpi.`getCreationFallbacks()`
  Get the fallback storage types for creating new block replicas.
  `StorageType[]`
  BlockStoragePolicySpi.`getReplicationFallbacks()`
  Get the fallback storage types for replicating existing block replicas.
  `StorageType[]`
  BlockLocation.`getStorageTypes()`
  Get the storage type of each replica of the block.
  `StorageType[]`
  BlockStoragePolicySpi.`getStorageTypes()`
  Return the preferred storage types associated with this policy.
  `static StorageType`
  StorageType.`parseStorageType(int i)`
  `static StorageType`
  StorageType.`parseStorageType(String s)`
  `static StorageType`
  StorageType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static StorageType[]`
  StorageType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.hadoop.fs that return types with arguments of type StorageType
  Modifier and Type
  Method
  Description
  `static List<StorageType>`
  StorageType.`asList()`
  `static List<StorageType>`
  StorageType.`getMovableTypes()`
  `static List<StorageType>`
  StorageType.`getTypesSupportingQuota()`
  Methods in org.apache.hadoop.fs with parameters of type StorageType
  Modifier and Type
  Method
  Description
  `static boolean`
  StorageType.`allowSameDiskTiering(StorageType storageType)`
  `static String`
  StorageType.`getConf(Configuration conf, StorageType t, String name)`
  Get the configured values for different StorageType.
  `long`
  QuotaUsage.`getTypeConsumed(StorageType type)`
  Return storage type consumed.
  `long`
  QuotaUsage.`getTypeQuota(StorageType type)`
  Return storage type quota.
  `void`
  FileSystem.`setQuotaByStorageType(Path src, StorageType type, long quota)`
  Set per storage type quota for the given `Path`.
  `void`
  BlockLocation.`setStorageTypes(StorageType[] storageTypes)`
  Method parameters in org.apache.hadoop.fs with type arguments of type StorageType
  Modifier and Type
  Method
  Description
  `static String`
  QuotaUsage.`getStorageTypeHeader(List<StorageType> storageTypes)`
  return the header of with the StorageTypes.
  `protected String`
  QuotaUsage.`getTypesQuotaUsage(boolean hOption, List<StorageType> types)`
  `String`
  ContentSummary.`toString(boolean qOption, boolean hOption, boolean tOption, boolean xOption, List<StorageType> types)`
  Return the string representation of the object in the output format.
  `String`
  ContentSummary.`toString(boolean qOption, boolean hOption, boolean tOption, List<StorageType> types)`
  Return the string representation of the object in the output format.
  `String`
  QuotaUsage.`toString(boolean hOption, boolean tOption, List<StorageType> types)`
  Return the string representation of the object in the output format.
  Constructors in org.apache.hadoop.fs with parameters of type StorageType
  Modifier
  Constructor
  Description
  ``
  `BlockLocation(String[] names, String[] hosts, String[] cachedHosts, String[] topologyPaths, String[] storageIds, StorageType[] storageTypes, long offset, long length, boolean corrupt)`

- ## Uses of StorageType in org.apache.hadoop.hdfs.client

  Methods in org.apache.hadoop.hdfs.client with parameters of type StorageType
  Modifier and Type
  Method
  Description
  `void`
  HdfsAdmin.`clearQuotaByStorageType(Path src, StorageType type)`
  Clear the space quota by storage type for a directory.
  `void`
  HdfsAdmin.`setQuotaByStorageType(Path src, StorageType type, long quota)`
  Set the quota by storage type for a directory.

- ## Uses of StorageType in org.apache.hadoop.hdfs.protocol

  Fields in org.apache.hadoop.hdfs.protocol declared as StorageType
  Modifier and Type
  Field
  Description
  `protected StorageType`
  QuotaByStorageTypeExceededException.`type`
  Constructors in org.apache.hadoop.hdfs.protocol with parameters of type StorageType
  Modifier
  Constructor
  Description
  ``
  `QuotaByStorageTypeExceededException(long quota, long count, StorageType type)`