Interfaces
amsdal_glue.interfaces.DataCommandService ¶
Bases: ABC
Abstract base class for executing data command operations.
Methods:
Name | Description |
---|---|
execute |
DataCommand) -> DataResult: Executes the given data command and returns the result. |
execute
abstractmethod
¶
execute(command)
Executes the given data command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
command
|
DataCommand
|
The data command to execute. |
required |
Returns:
Name | Type | Description |
---|---|---|
DataResult |
DataResult
|
The result of the data command. |
amsdal_glue.interfaces.DataQueryService ¶
Bases: ABC
Abstract base class for executing data query operations.
Methods:
Name | Description |
---|---|
execute |
DataQueryOperation) -> DataResult: Executes the given data query operation and returns the result. |
execute
abstractmethod
¶
execute(query_op)
Executes the given data query operation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
query_op
|
DataQueryOperation
|
The data query operation to execute. |
required |
Returns:
Name | Type | Description |
---|---|---|
DataResult |
DataResult
|
The result of the data query operation. |
amsdal_glue.interfaces.LockCommandService ¶
Bases: ABC
Abstract base class for executing lock command operations.
Methods:
Name | Description |
---|---|
execute |
LockCommand) -> LockResult: Executes the given lock command and returns the result. |
execute
abstractmethod
¶
execute(command)
Executes the given lock command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
command
|
LockCommand
|
The lock command to execute. |
required |
Returns:
Name | Type | Description |
---|---|---|
LockResult |
LockResult
|
The result of the lock command. |
amsdal_glue.interfaces.SchemaCommandService ¶
Bases: ABC
Abstract base class for executing schema command operations.
Methods:
Name | Description |
---|---|
execute |
SchemaCommand) -> SchemaResult: Executes the given schema command and returns the result. |
execute
abstractmethod
¶
execute(command)
Executes the given schema command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
command
|
SchemaCommand
|
The schema command to execute. |
required |
Returns:
Name | Type | Description |
---|---|---|
SchemaResult |
SchemaResult
|
The result of the schema command. |
amsdal_glue.interfaces.SchemaQueryService ¶
Bases: ABC
Abstract base class for executing schema query operations.
Methods:
Name | Description |
---|---|
execute |
SchemaQueryOperation) -> SchemaResult: Executes the given schema query operation and returns the result. |
execute
abstractmethod
¶
execute(query_op)
Executes the given schema query operation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
query_op
|
SchemaQueryOperation
|
The schema query operation to execute. |
required |
Returns:
Name | Type | Description |
---|---|---|
SchemaResult |
SchemaResult
|
The result of the schema query operation. |
amsdal_glue.interfaces.TransactionCommandService ¶
Bases: ABC
Abstract base class for executing transaction command operations.
Methods:
Name | Description |
---|---|
execute |
TransactionCommand) -> TransactionResult: Executes the given transaction command and returns the result. |
execute
abstractmethod
¶
execute(command)
Executes the given transaction command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
command
|
TransactionCommand
|
The transaction command to execute. |
required |
Returns:
Name | Type | Description |
---|---|---|
TransactionResult |
TransactionResult
|
The result of the transaction command. |