Modifier and Type | Method and Description |
---|---|
FileInfo |
URIStatus.getFileInfo()
This is an experimental API.
|
Constructor and Description |
---|
URIStatus(FileInfo info)
Constructs an instance of this class from a
FileInfo . |
URIStatus(FileInfo info,
CacheContext context)
Constructs an instance of this class from a
FileInfo . |
Modifier and Type | Method and Description |
---|---|
static FileInfo |
GrpcUtils.fromProto(FileInfo pInfo)
Converts a proto type to a wire type.
|
Modifier and Type | Method and Description |
---|---|
static FileInfo |
GrpcUtils.toProto(FileInfo fileInfo)
Converts a wire type to a proto type.
|
Modifier and Type | Method and Description |
---|---|
FileInfo |
DefaultFileSystemMaster.createFile(AlluxioURI path,
CreateFileContext context) |
FileInfo |
FileSystemMaster.createFile(AlluxioURI path,
CreateFileContext context)
Creates a file (not a directory) for a given path.
|
FileInfo |
DefaultFileSystemMaster.getFileInfo(AlluxioURI path,
GetStatusContext context) |
FileInfo |
FileSystemMaster.getFileInfo(AlluxioURI path,
GetStatusContext context)
Returns the
FileInfo for a given path. |
FileInfo |
FileSystemMasterClient.getFileInfo(long fileId) |
FileInfo |
DefaultFileSystemMaster.getFileInfo(long fileId) |
FileInfo |
FileSystemMaster.getFileInfo(long fileId)
Returns the
FileInfo for a given file id. |
Modifier and Type | Method and Description |
---|---|
List<FileInfo> |
DefaultFileSystemMaster.listStatus(AlluxioURI path,
ListStatusContext context) |
List<FileInfo> |
FileSystemMaster.listStatus(AlluxioURI path,
ListStatusContext context)
Returns a list of
FileInfo for a given path. |
Modifier and Type | Method and Description |
---|---|
void |
ListStatusPartialResultStream.submit(FileInfo item) |
void |
ListStatusResultStream.submit(FileInfo item) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultFileSystemMaster.listStatus(AlluxioURI path,
ListStatusContext context,
ResultStream<FileInfo> resultStream) |
void |
FileSystemMaster.listStatus(AlluxioURI path,
ListStatusContext context,
ResultStream<FileInfo> resultStream)
Enumerates given path to given batch tracker.
|
Modifier and Type | Method and Description |
---|---|
FileInfo |
MutableInodeFile.generateClientFileInfo(String path) |
FileInfo |
MutableInodeDirectory.generateClientFileInfo(String path)
Generates client file info for a folder.
|
abstract FileInfo |
MutableInode.generateClientFileInfo(String path) |
FileInfo |
InodeView.generateClientFileInfo(String path)
Generates a
FileInfo of the file or folder. |
FileInfo |
Inode.generateClientFileInfo(String path) |
FileInfo |
FileSystemMasterView.getFileInfo(long fileId)
Returns the
FileInfo for a given path. |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<FileInfo> |
CopyJob.QUALIFIED_FILE_FILTER |
static java.util.function.Predicate<FileInfo> |
LoadJob.QUALIFIED_FILE_FILTER |
static java.util.function.Predicate<FileInfo> |
MoveJob.QUALIFIED_FILE_FILTER |
Modifier and Type | Method and Description |
---|---|
FileInfo |
FileIterable.FileIterator.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<FileInfo> |
UfsFileIterable.iterator() |
Constructor and Description |
---|
CopyJob(String src,
String dst,
boolean overwrite,
Optional<String> user,
String jobId,
OptionalLong bandwidth,
boolean usePartialListing,
boolean verificationEnabled,
boolean checkContent,
Iterable<FileInfo> fileIterable,
Optional<Job.FileFilter> filter)
Constructor.
|
FileIterable(FileSystemMaster fileSystemMaster,
String path,
Optional<String> user,
boolean usePartialListing,
java.util.function.Predicate<FileInfo> filter)
Creates a new instance of
FileIterable . |
LoadJob(String path,
Optional<String> user,
String jobId,
OptionalLong bandwidth,
boolean usePartialListing,
boolean verificationEnabled,
Iterable<FileInfo> fileIterable)
Constructor.
|
MoveJob(String src,
String dst,
boolean overwrite,
Optional<String> user,
String jobId,
OptionalLong bandwidth,
boolean usePartialListing,
boolean verificationEnabled,
boolean checkContent,
Iterable<FileInfo> fileIterable,
Optional<Job.FileFilter> filter)
Constructor.
|
UfsFileIterable(UnderFileSystem fs,
String path,
Optional<String> user,
java.util.function.Predicate<FileInfo> filter)
Creates a new instance of
FileIterable . |
Modifier and Type | Method and Description |
---|---|
java.util.function.Predicate<FileInfo> |
TimePredicate.get() |
java.util.function.Predicate<FileInfo> |
DatePredicate.get() |
java.util.function.Predicate<FileInfo> |
FilePredicate.get()
Get the predicate function from the file predicate.
|
java.util.function.Function<FileInfo,Long> |
TimePredicate.UnmodifiedForFactory.getTimestampGetter() |
abstract java.util.function.Function<FileInfo,Long> |
TimePredicate.Factory.getTimestampGetter() |
java.util.function.Function<FileInfo,Long> |
DatePredicate.LastModifiedDateFactory.getTimestampGetter() |
abstract java.util.function.Function<FileInfo,Long> |
DatePredicate.Factory.getTimestampGetter() |
Constructor and Description |
---|
DatePredicate(String filterName,
String value,
java.util.function.Function<FileInfo,Long> getter)
Creates an instance.
|
TimePredicate(String filterName,
String value,
java.util.function.Function<FileInfo,Long> getter)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
static String |
NettyRestUtils.getEntityTag(FileInfo status)
This helper method is used to get the ETag xAttr on an object.
|
Constructor and Description |
---|
UIFileInfo(FileInfo info,
AlluxioConfiguration alluxioConfiguration,
List<String> orderedTierAliases)
Creates a new instance of
UIFileInfo . |
Modifier and Type | Method and Description |
---|---|
FileInfo |
FileInfo.setAcl(AccessControlList acl) |
FileInfo |
FileInfo.setBlockIds(List<Long> blockIds) |
FileInfo |
FileInfo.setBlockSizeBytes(long blockSizeBytes) |
FileInfo |
FileInfo.setCacheable(boolean cacheable) |
FileInfo |
FileInfo.setCompleted(boolean completed) |
FileInfo |
FileInfo.setContentHash(String contentHash) |
FileInfo |
FileInfo.setCreationTimeMs(long creationTimeMs) |
FileInfo |
FileInfo.setDefaultAcl(DefaultAccessControlList defaultAcl) |
FileInfo |
FileInfo.setFileBlockInfos(List<FileBlockInfo> fileBlockInfos) |
FileInfo |
FileInfo.setFileId(long fileId) |
FileInfo |
FileInfo.setFolder(boolean folder) |
FileInfo |
FileInfo.setGroup(String group) |
FileInfo |
FileInfo.setInAlluxioPercentage(int inAlluxioPercentage) |
FileInfo |
FileInfo.setInMemoryPercentage(int inMemoryPercentage) |
FileInfo |
FileInfo.setLastAccessTimeMs(long lastAccessTimeMs) |
FileInfo |
FileInfo.setLastModificationTimeMs(long lastModificationTimeMs) |
FileInfo |
FileInfo.setLength(long length) |
FileInfo |
FileInfo.setMediumTypes(Set<String> mediumTypes) |
FileInfo |
FileInfo.setMode(int mode) |
FileInfo |
FileInfo.setMountId(long mountId) |
FileInfo |
FileInfo.setMountPoint(boolean mountPoint) |
FileInfo |
FileInfo.setName(String name) |
FileInfo |
FileInfo.setOwner(String owner) |
FileInfo |
FileInfo.setPath(String path) |
FileInfo |
FileInfo.setPersisted(boolean persisted) |
FileInfo |
FileInfo.setPersistenceState(String persistenceState) |
FileInfo |
FileInfo.setPinned(boolean pinned) |
FileInfo |
FileInfo.setReplicationMax(int replicationMax) |
FileInfo |
FileInfo.setReplicationMin(int replicationMin) |
FileInfo |
FileInfo.setTtl(long ttl) |
FileInfo |
FileInfo.setTtlAction(TtlAction ttlAction) |
FileInfo |
FileInfo.setUfsFingerprint(String ufsFingerprint) |
FileInfo |
FileInfo.setUfsPath(String ufsPath) |
FileInfo |
FileInfo.setUfsType(String ufsType) |
FileInfo |
FileInfo.setXAttr(Map<String,byte[]> xAttr) |
Modifier and Type | Method and Description |
---|---|
FileInfo |
BlockWorker.getFileInfo(long fileId)
Gets the file information.
|
Modifier and Type | Method and Description |
---|---|
FileInfo |
PagedDoraWorker.getFileInfo(String ufsFullPath,
GetStatusPOptions options) |
FileInfo |
DoraWorker.getFileInfo(String fileId,
GetStatusPOptions options)
Gets the file information.
|
Modifier and Type | Method and Description |
---|---|
FileInfo |
FileSystemMasterClient.getFileInfo(long fileId) |
Copyright © 2023. All Rights Reserved.