PHP Интерфейс Pinq\Providers\DSL\IQueryCompilerConfiguration

Автор: Elliot Levin ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getCompiledQueryCache ( Pinq\Queries\ISourceInfo $sourceInfo ) : Pinq\Caching\ICacheAdapter Gets the cache adapter to store the query templates and compiled queries.
getCompiledRequestQueryHash ( Expression $requestExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null ) : string Gets a unique string identifier of the compiled request query.
getQueryConfiguration ( ) : Pinq\Providers\Configuration\IQueryConfiguration
loadCompiledRequestQuery ( Expression $requestExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, Pinq\Queries\IResolvedParameterRegistry &$resolvedParameters = null ) : Compilation\ICompiledRequest Loads the compiled query from the supplied request expression and assigns the resolved parameters to the $resolvedParameters parameter.

Описание методов

getCompiledQueryCache() публичный Метод

Gets the cache adapter to store the query templates and compiled queries.
public getCompiledQueryCache ( Pinq\Queries\ISourceInfo $sourceInfo ) : Pinq\Caching\ICacheAdapter
$sourceInfo Pinq\Queries\ISourceInfo
Результат Pinq\Caching\ICacheAdapter

getCompiledRequestQueryHash() публичный Метод

Gets a unique string identifier of the compiled request query.
public getCompiledRequestQueryHash ( Expression $requestExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null ) : string
$requestExpression Pinq\Expressions\Expression
$evaluationContext Pinq\Expressions\IEvaluationContext
Результат string

getQueryConfiguration() публичный Метод

public getQueryConfiguration ( ) : Pinq\Providers\Configuration\IQueryConfiguration
Результат Pinq\Providers\Configuration\IQueryConfiguration

loadCompiledRequestQuery() публичный Метод

Loads the compiled query from the supplied request expression and assigns the resolved parameters to the $resolvedParameters parameter.
public loadCompiledRequestQuery ( Expression $requestExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, Pinq\Queries\IResolvedParameterRegistry &$resolvedParameters = null ) : Compilation\ICompiledRequest
$requestExpression Pinq\Expressions\Expression
$evaluationContext Pinq\Expressions\IEvaluationContext
$resolvedParameters Pinq\Queries\IResolvedParameterRegistry
Результат Compilation\ICompiledRequest