PHP Class GraphAware\Neo4j\Client\Formatter\Result

Inheritance: extends GraphAware\Common\Result\AbstractRecordCursor
Datei anzeigen Open project: graphaware/neo4j-php-client Class Usage Examples

Protected Properties

Property Type Description
$fields string[]
$records RecordView[]
$resultSummary GraphAware\Neo4j\Client\HttpDriver\Result\ResultSummary

Public Methods

Method Description
__construct ( GraphAware\Common\Cypher\StatementInterface $statement )
firstRecord ( ) : RecordView
firstRecordOrDefault ( $default )
getRecord ( ) : RecordView
getRecords ( ) : RecordView[]
hasRecord ( ) : boolean
pushRecord ( $data, $graph )
setFields ( array $fields )
setGraph ( array $graph )
setStats ( array $stats )
size ( )

Private Methods

Method Description
array_map_deep ( array $array, array $graph ) : array
extractIdFromRestUrl ( string $url ) : integer
getNodesFromPathMetadata ( array $metadata, array $graph ) : array
getRelationshipsFromPathMetadata ( array $metadata, array $graph ) : array

Method Details

__construct() public method

public __construct ( GraphAware\Common\Cypher\StatementInterface $statement )
$statement GraphAware\Common\Cypher\StatementInterface

firstRecord() public method

public firstRecord ( ) : RecordView
return RecordView

firstRecordOrDefault() public method

public firstRecordOrDefault ( $default )

getRecord() public method

public getRecord ( ) : RecordView
return RecordView

getRecords() public method

public getRecords ( ) : RecordView[]
return RecordView[]

hasRecord() public method

public hasRecord ( ) : boolean
return boolean

pushRecord() public method

public pushRecord ( $data, $graph )
$data
$graph

setFields() public method

public setFields ( array $fields )
$fields array

setGraph() public method

public setGraph ( array $graph )
$graph array

setStats() public method

public setStats ( array $stats )
$stats array

size() public method

public size ( )

Property Details

$fields protected_oe property

protected string[] $fields
return string[]

$records protected_oe property

protected RecordView[],GraphAware\Neo4j\Client\Formatter $records
return RecordView[]

$resultSummary protected_oe property

protected ResultSummary,GraphAware\Neo4j\Client\HttpDriver\Result $resultSummary
return GraphAware\Neo4j\Client\HttpDriver\Result\ResultSummary