Lines Matching refs:this

23      * @return $this
27 return $this->setParam('_id', $id);
37 return $this->hasParam('_id') ? $this->getParam('_id') : null;
42 return null !== $this->getId();
56 return $this->setParam('_index', $index);
68 return $this->getParam('_index');
74 * @return $this
79 $this->setVersion($responseData['_version']);
83 $this->setSequenceNumber($responseData['_seq_no']);
87 $this->setPrimaryTerm($responseData['_primary_term']);
90 return $this;
98 * @return $this
104 return $this->setParam('if_seq_no', $number);
116 return $this->getParam('if_seq_no');
121 return $this->hasParam('if_seq_no');
129 * @return $this
135 return $this->setParam('if_primary_term', $term);
147 return $this->getParam('if_primary_term');
152 return $this->hasParam('if_primary_term');
160 * @return $this
166 return $this->setParam('version', (int) $version);
178 return $this->getParam('version');
186 return $this->hasParam('version');
194 * @return $this
198 return $this->setParam('op_type', $opType);
210 return $this->getParam('op_type');
218 return $this->hasParam('op_type');
226 * @return $this
230 return $this->setParam('routing', $value);
242 return $this->getParam('routing');
250 return $this->hasParam('routing');
256 * @return $this
264 return $this->setParam('fields', (string) $fields);
268 * @return $this
272 return $this->setFields('_source');
282 return $this->getParam('fields');
290 return $this->hasParam('fields');
296 * @return $this
300 return $this->setParam('retry_on_conflict', (int) $num);
310 return $this->getParam('retry_on_conflict');
318 return $this->hasParam('retry_on_conflict');
326 * @return $this
334 return $this->setParam(Reindex::REFRESH, $refresh);
344 $refresh = $this->getParam('refresh');
356 return $this->hasParam('refresh');
362 * @return $this
366 return $this->setParam('timeout', $timeout);
376 return $this->getParam('timeout');
384 return $this->hasParam('timeout');
390 * @return $this
394 return $this->setParam('consistency', $timeout);
404 return $this->getParam('consistency');
412 return $this->hasParam('consistency');
418 * @return $this
422 return $this->setParam('replication', $timeout);
432 return $this->getParam('replication');
440 return $this->hasParam('replication');
446 * @return $this
451 $this->_upsert = $document;
453 return $this;
461 return $this->_upsert;
469 return null !== $this->_upsert;
480 return \array_filter(\array_intersect_key($this->getParams(), \array_flip($fields)));
483 return \array_filter($this->getParams());