Свойство | Тип | Описание | |
---|---|---|---|
$errors | |||
$identifiers | array | ||
$nodes | Neoxygen\NeoClient\Formatter\Node[] | ||
$relationships | Neoxygen\NeoClient\Formatter\Relationship[] | ||
$tableFormat | array |
Метод | Описание | |
---|---|---|
__construct ( ) | ||
addIdentifierValue ( $k, $v ) | ||
addNode ( Neoxygen\NeoClient\Formatter\Node $node ) | ||
addNodeToIdentifier ( $nodeId, $identifier ) | ||
addRelationship ( Neoxygen\NeoClient\Formatter\Relationship $relationship ) | ||
addRelationshipToIdentifier ( $relationshipId, $identifier ) | ||
addRowToIdentifier ( $value, $identifier ) | ||
get ( string $identifier, mixed $default = null, boolean $singleAsArray = false ) : mixed | Returns the item or items bound to the given identifier, or $default if no items are bound. | |
getAllByIdentifier ( ) : array | ||
getIdentifiers ( ) : string[] | ||
getNodeById ( integer $id ) : Neoxygen\NeoClient\Formatter\Node | null | Returns a single node by its Neo4j node ID number, or null if the node is not present in the result. | |
getNodes ( string | string[] | null $label = null, boolean $labelizedKeys = false ) : Neoxygen\NeoClient\Formatter\Node[] | Returns all nodes if called without arguments. Returns all nodes with the given labels if called with an array of labels. Otherwise, acts identically as {@link Result::getNodesByLabels()}. | |
getNodesByLabel ( string $name, boolean $labelizedKeys = false ) : Neoxygen\NeoClient\Formatter\Node[] | Returns all nodes with the given label. | |
getNodesByLabels ( array $labels = [], boolean $labelizedKeys = false ) : Neoxygen\NeoClient\Formatter\Node[] | Returns all nodes with the given labels. | |
getNodesCount ( ) : integer | ||
getRelationship ( integer $id ) : Neoxygen\NeoClient\Formatter\Relationship | null | Returns the relationship by its Neo4j ID. | |
getRelationships ( ) : Neoxygen\NeoClient\Formatter\Relationship[] | ||
getRelationshipsCount ( ) : integer | ||
getSingle ( string $identifier, mixed $default = null ) : mixed | Returns a single item bound to the given identifier, or the default if the identifier is not bound. | |
getSingleNode ( string | null $label = null ) : Neoxygen\NeoClient\Formatter\Node | null | Returns a single node from the nodes collection Use when you do cypher queries returning only one node. | |
getSingleNodeByLabel ( string $label ) : Neoxygen\NeoClient\Formatter\Node | null | Returns a single node for a given label. | |
getTableFormat ( ) : array | ||
hasIdentifier ( string $i ) : boolean | ||
setTableFormat ( array $table ) |
public addNode ( Neoxygen\NeoClient\Formatter\Node $node ) | ||
$node | Neoxygen\NeoClient\Formatter\Node |
public addRelationship ( Neoxygen\NeoClient\Formatter\Relationship $relationship ) | ||
$relationship | Neoxygen\NeoClient\Formatter\Relationship |
public addRelationshipToIdentifier ( $relationshipId, $identifier ) |
public getNodeById ( integer $id ) : Neoxygen\NeoClient\Formatter\Node | null | ||
$id | integer | Neo4j node ID. |
Результат | Neoxygen\NeoClient\Formatter\Node | null |
public getNodesByLabel ( string $name, boolean $labelizedKeys = false ) : Neoxygen\NeoClient\Formatter\Node[] | ||
$name | string | |
$labelizedKeys | boolean | When true, the results are indexed by node label. Assumes only one node per label. |
Результат | Neoxygen\NeoClient\Formatter\Node[] |
public getNodesByLabels ( array $labels = [], boolean $labelizedKeys = false ) : Neoxygen\NeoClient\Formatter\Node[] | ||
$labels | array | |
$labelizedKeys | boolean | When true, the results are indexed by node label. Assumes one node per label. |
Результат | Neoxygen\NeoClient\Formatter\Node[] |
public getNodesCount ( ) : integer | ||
Результат | integer | Number of nodes in the result. |
public getRelationship ( integer $id ) : Neoxygen\NeoClient\Formatter\Relationship | null | ||
$id | integer | The id of the relationship. |
Результат | Neoxygen\NeoClient\Formatter\Relationship | null |
public getRelationships ( ) : Neoxygen\NeoClient\Formatter\Relationship[] | ||
Результат | Neoxygen\NeoClient\Formatter\Relationship[] |
public getRelationshipsCount ( ) : integer | ||
Результат | integer | Number of relationships in the result. |
public getSingleNodeByLabel ( string $label ) : Neoxygen\NeoClient\Formatter\Node | null | ||
$label | string | The label to match for |
Результат | Neoxygen\NeoClient\Formatter\Node | null | The Node or null if not node found matching the label |
public hasIdentifier ( string $i ) : boolean | ||
$i | string | Query identifier to check. |
Результат | boolean |
protected Node[],Neoxygen\NeoClient\Formatter $nodes | ||
Результат | Neoxygen\NeoClient\Formatter\Node[] |
protected Relationship[],Neoxygen\NeoClient\Formatter $relationships | ||
Результат | Neoxygen\NeoClient\Formatter\Relationship[] |