1 | <?php |
||
10 | class RetryStatement implements IteratorAggregate, Statement |
||
11 | { |
||
12 | private $statement; |
||
13 | private $retryConnection; |
||
14 | private $retryStrategy; |
||
15 | |||
16 | use CallAndRetry; |
||
17 | |||
18 | /** |
||
19 | * @param Statement $statement |
||
20 | */ |
||
21 | public function __construct(Statement $statement, RetryConnection $retryConnection, RetryStrategy $retryStrategy) |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function execute($params = NULL) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function bindParam($column, &$variable, $type = null, $length = null) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function bindValue($param, $value, $type = null) |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function fetch($fetchMode = null) |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function fetchAll($fetchMode = null) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function fetchColumn($columnIndex = 0) |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function errorCode() |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function errorInfo() |
||
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | public function closeCursor() |
||
101 | |||
102 | /** |
||
103 | * {@inheritdoc} |
||
104 | */ |
||
105 | public function rowCount() |
||
109 | |||
110 | /** |
||
111 | * {@inheritdoc} |
||
112 | */ |
||
113 | public function columnCount() |
||
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null) |
||
125 | |||
126 | /** |
||
127 | * {@inheritdoc} |
||
128 | */ |
||
129 | public function getIterator() |
||
133 | |||
134 | private function context() |
||
138 | } |
||
139 |