OP_TYPE_CREATE
OP_TYPE_CREATE
$_data : \Elastica\Document|\Elastica\Script\AbstractScript
setDocument(\Elastica\Document $document) : $this
\Elastica\Document | $document |
setScript(\Elastica\Script\AbstractScript $script) : $this
\Elastica\Script\AbstractScript | $script |
setData(\Elastica\Script\AbstractScript|\Elastica\Document $data) : $this
\Elastica\Script\AbstractScript|\Elastica\Document | $data |
getDocument() : \Elastica\Document|null
Note: This is for backwards compatibility.
getScript() : \Elastica\Script\AbstractScript|null
Note: This is for backwards compatibility.
getData() : \Elastica\Document|\Elastica\Script\AbstractScript
create(\Elastica\Document|\Elastica\Script\AbstractScript $data, string $opType = null) : static
\Elastica\Document|\Elastica\Script\AbstractScript | $data | |
string | $opType |
setIndex(string|\Elastica\Index $index) : $this
string|\Elastica\Index | $index |
setType(string|\Elastica\Type $type) : $this
string|\Elastica\Type | $type |
_getMetadata(\Elastica\AbstractUpdateAction $source) : array
\Elastica\AbstractUpdateAction | $source |