1 | <?php |
||
9 | class RetryStatement implements IteratorAggregate, Statement |
||
10 | { |
||
11 | private $statement; |
||
12 | private $retryConnection; |
||
13 | private $retryStrategy; |
||
14 | |||
15 | use CallAndRetry; |
||
16 | |||
17 | /** |
||
18 | * @param Statement $statement |
||
19 | */ |
||
20 | public function __construct(Statement $statement, RetryConnection $retryConnection, RetryStrategy $retryStrategy) |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function execute($params = NULL) |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function bindParam($column, &$variable, $type = null, $length = null) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function bindValue($param, $value, $type = null) |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function fetch($fetchMode = null) |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function fetchAll($fetchMode = null) |
||
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | public function fetchColumn($columnIndex = 0) |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function errorCode() |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | public function errorInfo() |
||
92 | |||
93 | /** |
||
94 | * {@inheritdoc} |
||
95 | */ |
||
96 | public function closeCursor() |
||
100 | |||
101 | /** |
||
102 | * {@inheritdoc} |
||
103 | */ |
||
104 | public function rowCount() |
||
108 | |||
109 | /** |
||
110 | * {@inheritdoc} |
||
111 | */ |
||
112 | public function columnCount() |
||
116 | |||
117 | /** |
||
118 | * {@inheritdoc} |
||
119 | */ |
||
120 | public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null) |
||
124 | |||
125 | /** |
||
126 | * {@inheritdoc} |
||
127 | */ |
||
128 | public function getIterator() |
||
132 | } |
||
133 |