Aerospike\LDT\LDT::size PHP Method

size() public method

Sets $num_elements with the number of elements in the LDT.
public size ( integer &$num_elements ) : integer
$num_elements integer returned
return integer status code of the operation
    public function size(&$num_elements)
    {
        $status = $this->client->apply($this->key, $this->module, 'size', array($this->bin), $num_elements);
        $this->processStatusCode($status);
        return $status;
    }