Gda.Batch¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Gets emitted whenever a |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
object |
r |
Class Details¶
- class Gda.Batch(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- add_statement(stmt)¶
- Parameters:
stmt (
Gda.Statement
) – a statement to add to self's statements list
Add stmt to the list of statements managed by self. A
Gda.Statement
object can be added multiple times to aGda.Batch
object.
- get_parameters()¶
- Raises:
- Returns:
True
if no error occurred.- Return type:
Get a new
Gda.Set
object which groups all the execution parameters which self needs for all the statements it includes. This new object is returned though out_params.Note that if self does not need any parameter, then out_params is set to
None
.
- get_statements()¶
- Returns:
a list of
Gda.Statement
which should not be modified.- Return type:
Get a list of the
Gda.Statement
objects contained in self
- remove_statement(stmt)¶
- Parameters:
stmt (
Gda.Statement
) – a statement to remove from self's statements list
Removes stmt from the list of statements managed by self. If stmt is present several times in self's statements’ list, then only the first one is removed.
- serialize()¶
- Returns:
a string containing the serialized version of self
- Return type:
Creates a string representing the contents of self.
- do_changed(changed_stmt) virtual¶
- Parameters:
changed_stmt (
Gda.Statement
) –
Signal Details¶
- Gda.Batch.signals.changed(batch, changed_stmt)¶
- Signal Name:
changed
- Flags:
- Parameters:
batch (
Gda.Batch
) – The object which received the signalchanged_stmt (
GObject.Object
) – the statement which has been changed
Gets emitted whenever a
Gda.Statement
in the batch object changes