Data
amsdal_glue.DataCommand
dataclass
¶
Bases: Operation
Represents a data command operation.
Attributes:
Name | Type | Description |
---|---|---|
mutations |
list[DataMutation]
|
The list of data mutations to be applied. |
amsdal_glue.InsertData
dataclass
¶
Bases: DataMutation
Represents an insert data mutation.
Attributes:
Name | Type | Description |
---|---|---|
data |
list[Data]
|
The list of data to be inserted. |
amsdal_glue.UpdateData
dataclass
¶
Bases: DataMutation
Represents an update data mutation.
Attributes:
Name | Type | Description |
---|---|---|
data |
Data
|
The data to be updated. |
query |
Conditions | None
|
The conditions to filter the data to be updated. Defaults to None. |
amsdal_glue.DeleteData
dataclass
¶
Bases: DataMutation
Represents a delete data mutation.
Attributes:
Name | Type | Description |
---|---|---|
query |
Conditions | None
|
The conditions to filter the data to be deleted. Defaults to None. |
amsdal_glue.Metadata
dataclass
¶
Represents metadata for an object.
Attributes:
Name | Type | Description |
---|---|---|
object_id |
str
|
The unique identifier for the object. |
object_version |
str | None
|
The version of the object. Defaults to None. |
created_at |
str | None
|
The creation timestamp of the object. Defaults to None. |
updated_at |
str | None
|
The last updated timestamp of the object. Defaults to None. |