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

CREATE

Creates a new file.

OPEN

Opens a file.

OPEN_AND_WRITE

Opens a file and writes to it.

OPEN_AND_APPEND

Opens a file and appends to it.

APPEND

Appends some content into a file.

RENAME

Renames a file or a directory.

DELETE

Deletes a file or a directory.

GET_FILE_STATUS

Gets a file status from a file or a directory.

LIST_STATUS

Lists file statuses under a directory.

MKDIRS

Creates a directory.

EXISTS

Checks if a file or a directory exists.

CREATED_TIME

Gets the created time of a file.

MODIFIED_TIME

Gets the modified time of a file.

COPY_FILE

Copies a file.

CAT_FILE

Gets the content of a file.

GET_FILE

Copies a remote file to local.

UNKNOWN

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.