elasticsearch\BulkCommand $actions

$actions public property Actions to be executed in this bulk command, given as either an array of arrays or as one newline-delimited string. All actions except delete span two lines. public array|string $actions = null

elasticsearch\BatchQueryResult __destruct()

__destruct() public method Destructor. public void __destruct ( )

elasticsearch\BatchQueryResult valid()

valid() public method Returns whether there is a valid dataset at the current position. This method is required by the interface Iterator. public boolean valid ( )return boolean Whether there is a valid dataset at the current position.

elasticsearch\BatchQueryResult rewind()

rewind() public method Resets the iterator to the initial state. This method is required by the interface Iterator. public void rewind ( )

elasticsearch\BatchQueryResult reset()

reset() public method Resets the batch query. This method will clean up the existing batch query so that a new batch query can be performed. public void reset ( )

elasticsearch\BatchQueryResult next()

next() public method Moves the internal pointer to the next dataset. This method is required by the interface Iterator. public void next ( )

elasticsearch\BatchQueryResult key()

key() public method Returns the index of the current dataset. This method is required by the interface Iterator. public integer key ( )return integer The index of the current row.

elasticsearch\BatchQueryResult fetchData()

fetchData() protected method Fetches the next batch of data. protected array fetchData ( )return array The data fetched

elasticsearch\BatchQueryResult current()

current() public method Returns the current dataset. This method is required by the interface Iterator. public mixed current ( )return mixed The current dataset.

elasticsearch\BatchQueryResult $scrollWindow

$scrollWindow public property The amount of time to keep the scroll window open (in ElasticSearch time units. public string $scrollWindow = '1m'