pub struct FileInfo {Show 23 fields
pub block_ids: Vec<i64>,
pub block_size_bytes: i64,
pub cacheable: bool,
pub completed: bool,
pub creation_time_ms: i64,
pub file_block_infos: Vec<FileBlockInfo>,
pub file_id: i64,
pub folder: bool,
pub group: String,
pub in_memory_percentage: i32,
pub last_modification_time_ms: i64,
pub length: i64,
pub name: String,
pub path: String,
pub persisted: bool,
pub persistence_state: String,
pub pinned: bool,
pub mode: i32,
pub mount_point: bool,
pub owner: String,
pub ttl: i64,
pub ttl_action: String,
pub ufs_path: String,
}
Expand description
FileInfo represents a file’s information.
Fields§
§block_ids: Vec<i64>
BlockIds holds the block ids.
block_size_bytes: i64
BlockSizeBytes is the block size (in bytes).
cacheable: bool
Cacheable determines whether the file is cacheable.
completed: bool
Completed determines whether the file is completed.
creation_time_ms: i64
CreationTimesMs is the creation time (in milliseconds).
file_block_infos: Vec<FileBlockInfo>
FileBlockInfos holds the file block information.
file_id: i64
FileID is the file id.
folder: bool
Folder determines whether the file is a folder.
group: String
Group is the group.
in_memory_percentage: i32
InMemoryPercentage represents the in-memory percentage.
last_modification_time_ms: i64
LastModificationTimeMs is the last modification time (in milliseconds).
length: i64
Length is the file length.
name: String
Name is the file name.
path: String
Path is the file path.
persisted: bool
Persisted determines whether file is persisted.
persistence_state: String
PersistenceState represents the persistence state.
pinned: bool
Pinned determines whether the file is pinned.
mode: i32
Mode is the access mode.
mount_point: bool
MountPoint determines whether the file is a mount point.
owner: String
Owner is the owner.
ttl: i64
TTL is the time-to-live window.
ttl_action: String
TTLAction si the time-to-live action.
ufs_path: String
UfsPath is the UFS path.