/** * Set the transaction and statements to use * * @param Client $client * @param Transaction $transaction * @param array $statements * @param boolean $commit */ public function __construct(Client $client, Transaction $transaction, $statements = array(), $commit = false) { parent::__construct($client); $this->transaction = $transaction; $this->statements = $statements; $this->commit = $commit; }
/** * Set the parameters to search * * @param Client $client * @param Label $label * @param string $propertyName * @param mixed $propertyValue */ public function __construct(Client $client, Label $label, $propertyName = null, $propertyValue = null) { parent::__construct($client); $this->label = $label; $this->propertyName = $propertyName; $this->propertyValue = $propertyValue; }
/** * Set the traversal to execute * * @param Client $client * @param Traversal $traversal * @param Node $node * @param string $returnType */ public function __construct(Client $client, Traversal $traversal, Node $node, $returnType) { parent::__construct($client); $this->traversal = $traversal; $this->node = $node; $this->returnType = $returnType; }
/** * Set the index to drive the command * * @param Client $client * @param Index $index * @param string $key * @param string $value */ public function __construct(Client $client, Index $index, $key, $value) { parent::__construct($client); $this->index = $index; $this->key = $key; $this->value = $value; }
/** * Set the index to drive the command * * @param Client $client * @param Index $index * @param PropertyContainer $entity * @param string $key * @param string $value */ public function __construct(Client $client, Index $index, PropertyContainer $entity, $key, $value) { parent::__construct($client); $this->index = $index; $this->entity = $entity; $this->key = $key; $this->value = $value; }
/** * Set the operation to drive the command * * @param Client $client * @param SingleCommand $base * @param integer $opId */ public function __construct(Client $client, SingleCommand $base, $opId) { parent::__construct($client); $this->base = $base; $this->opId = $opId; }
/** * Set the node to drive the command * * @param Client $client * @param Node $node */ public function __construct(Client $client, Classes $node) { parent::__construct($client); $this->node = $node; }
/** * Set the relationship to drive the command * * @param Client $client * @param Relationship $rel */ public function __construct(Client $client, Relationship $rel) { parent::__construct($client); $this->rel = $rel; }
/** * Set the query to execute * * @param Client $client * @param Query $query */ public function __construct(Client $client, Query $query) { parent::__construct($client); $this->query = $query; }
/** * Set the type of index to retrieve * * @param Client $client * @param string $type */ public function __construct(Client $client, $type) { parent::__construct($client); $this->type = $type; }
/** * Optionally provide a node to limit to * * @param Client $client * @param Node $node */ public function __construct(Client $client, Node $node = null) { parent::__construct($client); $this->node = $node; }
/** * Set the index to drive the command * * @param Client $client * @param Index $index */ public function __construct(Client $client, Index $index) { parent::__construct($client); $this->index = $index; }
/** * Set the parameters to search * * @param Client $client * @param PathFinder $finder */ public function __construct(Client $client, PathFinder $finder) { parent::__construct($client); $this->finder = $finder; }
/** * Set the classes to drive the command * * @param Client $client * @param Node $classes */ public function __construct(Client $client, Classes $classes) { parent::__construct($client); $this->classes = $classes; }
/** * Set the transaction to rollback * * @param Client $client * @param Transaction $transaction */ public function __construct(Client $client, Transaction $transaction) { parent::__construct($client); $this->transaction = $transaction; }