PHP 클래스 GraphAware\Neo4j\Client\HttpDriver\Transaction

상속: implements GraphAware\Common\Transaction\TransactionInterface
파일 보기 프로젝트 열기: graphaware/neo4j-php-client

보호된 프로퍼티들

프로퍼티 타입 설명
$closed boolean
$expires
$pending
$session Session
$state
$transactionId integer | null

공개 메소드들

메소드 설명
__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 ( )

비공개 메소드들

메소드 설명
assertNotClosed ( )
assertNotStarted ( )
assertStarted ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Session $session )
$session Session

begin() 공개 메소드

public begin ( )

commit() 공개 메소드

public commit ( )

getSession() 공개 메소드

public getSession ( )

getStatus() 공개 메소드

public getStatus ( )

isCommited() 공개 메소드

public isCommited ( )

isOpen() 공개 메소드

public isOpen ( )

isRolledBack() 공개 메소드

public isRolledBack ( )

push() 공개 메소드

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

rollback() 공개 메소드

public rollback ( )

run() 공개 메소드

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

runMultiple() 공개 메소드

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

status() 공개 메소드

public status ( )

success() 공개 메소드

public success ( )

프로퍼티 상세

$closed 보호되어 있는 프로퍼티

protected bool $closed
리턴 boolean

$expires 보호되어 있는 프로퍼티

protected $expires

$pending 보호되어 있는 프로퍼티

protected $pending

$session 보호되어 있는 프로퍼티

protected Session,GraphAware\Neo4j\Client\HttpDriver $session
리턴 Session

$state 보호되어 있는 프로퍼티

protected $state

$transactionId 보호되어 있는 프로퍼티

protected int|null $transactionId
리턴 integer | null