gravitino.audit.fileset_data_operation.FilesetDataOperation¶
- class gravitino.audit.fileset_data_operation.FilesetDataOperation(value)¶
Bases:
Enum
An enum class containing fileset data operations that supported.
- __init__()¶
Attributes
Creates a new file.
Opens a file.
Opens a file and writes to it.
Opens a file and appends to it.
Appends some content into a file.
Renames a file or a directory.
Deletes a file or a directory.
Gets a file status from a file or a directory.
Lists file statuses under a directory.
Creates a directory.
Checks if a file or a directory exists.
Gets the created time of a file.
Gets the modified time of a file.
Copies a file.
Gets the content of a file.
Copies a remote file to local.
Unknown data operation.
- APPEND = 'APPEND'¶
Appends some content into a file.
- CAT_FILE = 'CAT_FILE'¶
Gets the content of a file.
- COPY_FILE = 'COPY_FILE'¶
Copies a file.
- CREATE = 'CREATE'¶
Creates a new file.
- CREATED_TIME = 'CREATED_TIME'¶
Gets the created time of a file.
- DELETE = 'DELETE'¶
Deletes a file or a directory.
- EXISTS = 'EXISTS'¶
Checks if a file or a directory exists.
- GET_FILE = 'GET_FILE'¶
Copies a remote file to local.
- GET_FILE_STATUS = 'GET_FILE_STATUS'¶
Gets a file status from a file or a directory.
- LIST_STATUS = 'LIST_STATUS'¶
Lists file statuses under a directory.
- MKDIRS = 'MKDIRS'¶
Creates a directory.
- MODIFIED_TIME = 'MODIFIED_TIME'¶
Gets the modified time of a file.
- OPEN = 'OPEN'¶
Opens a file.
- OPEN_AND_APPEND = 'OPEN_AND_APPEND'¶
Opens a file and appends to it.
- OPEN_AND_WRITE = 'OPEN_AND_WRITE'¶
Opens a file and writes to it.
- RENAME = 'RENAME'¶
Renames a file or a directory.
- UNKNOWN = 'UNKNOWN'¶
Unknown data operation.