PHP 클래스 GraphAware\Neo4j\Client\Client

상속: implements GraphAware\Neo4j\Client\ClientInterface
파일 보기 프로젝트 열기: graphaware/neo4j-php-client 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$connectionManager GraphAware\Neo4j\Client\Connection\ConnectionManager
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

공개 메소드들

메소드 설명
__construct ( ConnectionManager $connectionManager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null )
getConnectionManager ( ) : ConnectionManager
getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface
getLabels ( string | null $conn = null ) : Label[]
run ( $query, null | array $parameters = null, null | string $tag = null, null | string $connectionAlias = null ) : GraphAware\Common\Result\Result | null Run a Cypher statement against the default database or the database specified.
runStack ( GraphAware\Neo4j\Client\StackInterface $stack ) : ResultCollection | null
runWrite ( string $query, null | array $parameters = null, null | string $tag = null ) : GraphAware\Common\Result\Result
sendCypherQuery ( string $query, null | array $parameters = null, null | string $tag = null, null | string $connectionAlias = null ) : GraphAware\Common\Result\Result
sendWriteQuery ( string $query, null | array $parameters = null, null | string $tag = null ) : GraphAware\Common\Result\Result
stack ( string | null $tag = null, string | null $connectionAlias = null ) : GraphAware\Neo4j\Client\StackInterface
transaction ( null | string $connectionAlias = null ) : Transaction

비공개 메소드들

메소드 설명
pipeline ( null | string $query = null, null | array $parameters = null, null | string $tag = null, null | string $connectionAlias = null ) : GraphAware\Common\Driver\PipelineInterface

메소드 상세

__construct() 공개 메소드

public __construct ( ConnectionManager $connectionManager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null )
$connectionManager GraphAware\Neo4j\Client\Connection\ConnectionManager
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

getConnectionManager() 공개 메소드

public getConnectionManager ( ) : ConnectionManager
리턴 GraphAware\Neo4j\Client\Connection\ConnectionManager

getEventDispatcher() 공개 메소드

public getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface
리턴 Symfony\Component\EventDispatcher\EventDispatcherInterface

getLabels() 공개 메소드

public getLabels ( string | null $conn = null ) : Label[]
$conn string | null
리턴 GraphAware\Neo4j\Client\Schema\Label[]

run() 공개 메소드

Run a Cypher statement against the default database or the database specified.
public run ( $query, null | array $parameters = null, null | string $tag = null, null | string $connectionAlias = null ) : GraphAware\Common\Result\Result | null
$query
$parameters null | array
$tag null | string
$connectionAlias null | string
리턴 GraphAware\Common\Result\Result | null

runStack() 공개 메소드

public runStack ( GraphAware\Neo4j\Client\StackInterface $stack ) : ResultCollection | null
$stack GraphAware\Neo4j\Client\StackInterface
리턴 GraphAware\Neo4j\Client\Result\ResultCollection | null

runWrite() 공개 메소드

public runWrite ( string $query, null | array $parameters = null, null | string $tag = null ) : GraphAware\Common\Result\Result
$query string
$parameters null | array
$tag null | string
리턴 GraphAware\Common\Result\Result

sendCypherQuery() 공개 메소드

사용 중단: since 4.0 - will be removed in 5.0 - use $client->run() instead
public sendCypherQuery ( string $query, null | array $parameters = null, null | string $tag = null, null | string $connectionAlias = null ) : GraphAware\Common\Result\Result
$query string
$parameters null | array
$tag null | string
$connectionAlias null | string
리턴 GraphAware\Common\Result\Result

sendWriteQuery() 공개 메소드

사용 중단: since 4.0 - will be removed in 5.0 - use $client->runWrite() instead
public sendWriteQuery ( string $query, null | array $parameters = null, null | string $tag = null ) : GraphAware\Common\Result\Result
$query string
$parameters null | array
$tag null | string
리턴 GraphAware\Common\Result\Result

stack() 공개 메소드

public stack ( string | null $tag = null, string | null $connectionAlias = null ) : GraphAware\Neo4j\Client\StackInterface
$tag string | null
$connectionAlias string | null
리턴 GraphAware\Neo4j\Client\StackInterface

transaction() 공개 메소드

public transaction ( null | string $connectionAlias = null ) : Transaction
$connectionAlias null | string
리턴 GraphAware\Neo4j\Client\Transaction\Transaction

프로퍼티 상세

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

protected ConnectionManager,GraphAware\Neo4j\Client\Connection $connectionManager
리턴 GraphAware\Neo4j\Client\Connection\ConnectionManager

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

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $eventDispatcher
리턴 Symfony\Component\EventDispatcher\EventDispatcherInterface