PHP Class GraphAware\Neo4j\Client\HttpDriver\Transaction

Inheritance: implements GraphAware\Common\Transaction\TransactionInterface
Datei anzeigen Open project: graphaware/neo4j-php-client

Protected Properties

Property Type Description
$closed boolean
$expires
$pending
$session Session
$state
$transactionId integer | null

Public Methods

Method Description
__construct ( Session $session )
begin ( )
commit ( )
getSession ( )
getStatus ( )
isCommited ( )
isOpen ( )
isRolledBack ( )
push ( $query, array $parameters = [], $tag = null )
rollback ( )
run ( GraphAware\Common\Cypher\Statement $statement ) : GraphAware\Common\Result\RecordCursorInterface
runMultiple ( array $statements ) : GraphAware\Common\Result\ResultCollection
status ( )
success ( )

Private Methods

Method Description
assertNotClosed ( )
assertNotStarted ( )
assertStarted ( )

Method Details

__construct() public method

public __construct ( Session $session )
$session Session

begin() public method

public begin ( )

commit() public method

public commit ( )

getSession() public method

public getSession ( )

getStatus() public method

public getStatus ( )

isCommited() public method

public isCommited ( )

isOpen() public method

public isOpen ( )

isRolledBack() public method

public isRolledBack ( )

push() public method

public push ( $query, array $parameters = [], $tag = null )
$parameters array

rollback() public method

public rollback ( )

run() public method

public run ( GraphAware\Common\Cypher\Statement $statement ) : GraphAware\Common\Result\RecordCursorInterface
$statement GraphAware\Common\Cypher\Statement
return GraphAware\Common\Result\RecordCursorInterface

runMultiple() public method

public runMultiple ( array $statements ) : GraphAware\Common\Result\ResultCollection
$statements array
return GraphAware\Common\Result\ResultCollection

status() public method

public status ( )

success() public method

public success ( )

Property Details

$closed protected_oe property

protected bool $closed
return boolean

$expires protected_oe property

protected $expires

$pending protected_oe property

protected $pending

$session protected_oe property

protected Session,GraphAware\Neo4j\Client\HttpDriver $session
return Session

$state protected_oe property

protected $state

$transactionId protected_oe property

protected int|null $transactionId
return integer | null