PHP Class GraphAware\Neo4j\Client\Connection\Connection

Exibir arquivo Open project: graphaware/neo4j-php-client Class Usage Examples

Public Methods

Method Description
__construct ( string $alias, string $uri, GraphAware\Bolt\Configuration | null $config = null ) Connection constructor.
createPipeline ( null $query = null, array $parameters = [], null $tag = null ) : GraphAware\Common\Driver\PipelineInterface
getAlias ( ) : string
getDriver ( ) : GraphAware\Common\Driver\DriverInterface
getSession ( ) : GraphAware\Common\Driver\SessionInterface
getTransaction ( ) : GraphAware\Common\Transaction\TransactionInterface
run ( string $statement, array | null $parameters = null, null | string $tag = null ) : GraphAware\Common\Result\Result
runMixed ( array $queue ) : GraphAware\Common\Result\ResultCollection

Private Methods

Method Description
buildDriver ( )
checkSession ( )

Method Details

__construct() public method

Connection constructor.
public __construct ( string $alias, string $uri, GraphAware\Bolt\Configuration | null $config = null )
$alias string
$uri string
$config GraphAware\Bolt\Configuration | null

createPipeline() public method

public createPipeline ( null $query = null, array $parameters = [], null $tag = null ) : GraphAware\Common\Driver\PipelineInterface
$query null
$parameters array
$tag null
return GraphAware\Common\Driver\PipelineInterface

getAlias() public method

public getAlias ( ) : string
return string

getDriver() public method

public getDriver ( ) : GraphAware\Common\Driver\DriverInterface
return GraphAware\Common\Driver\DriverInterface

getSession() public method

public getSession ( ) : GraphAware\Common\Driver\SessionInterface
return GraphAware\Common\Driver\SessionInterface

getTransaction() public method

public getTransaction ( ) : GraphAware\Common\Transaction\TransactionInterface
return GraphAware\Common\Transaction\TransactionInterface

run() public method

public run ( string $statement, array | null $parameters = null, null | string $tag = null ) : GraphAware\Common\Result\Result
$statement string
$parameters array | null
$tag null | string
return GraphAware\Common\Result\Result

runMixed() public method

public runMixed ( array $queue ) : GraphAware\Common\Result\ResultCollection
$queue array
return GraphAware\Common\Result\ResultCollection