PHP Class Pinq\Queries\Builders\Interpretations\ScopeParser

Author: Elliot Levin ([email protected])
Inheritance: extends BaseParser, implements Pinq\Queries\Builders\Interpretations\IScopeParser
Afficher le fichier Open project: timetoogo/pinq

Protected Properties

Свойство Type Description
$segments Pinq\Queries\ISegment[] The parsed query segments.
$sourceInfo Pinq\Queries\ISourceInfo

Méthodes publiques

Méthode Description
buildJoinOptionsInterpretation ( )
buildScopeInterpretation ( )
buildSourceInterpretation ( )
getScope ( )
interpretGroupBy ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
interpretIndexBy ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
interpretJoin ( $segmentId, Pinq\Queries\Builders\Interpretations\IJoinOptionsInterpretation $joinOptionsInterpretation, Pinq\Queries\Builders\Functions\IFunction $joinToFunction )
interpretKeys ( $segmentId )
interpretOperation ( $segmentId, $operationType, Pinq\Queries\Builders\Interpretations\ISourceInterpretation $sourceInterpretation )
interpretOrderings ( $segmentId, array $orderings )
interpretReindex ( $segmentId )
interpretScopeSource ( Pinq\IQueryable $queryable )
interpretSelect ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
interpretSelectMany ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
interpretSlice ( $segmentId, $startId, $start, $amountId, $amount )
interpretUnique ( $segmentId )
interpretWhere ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $predicate )

Méthodes protégées

Méthode Description
buildElementProjection ( Pinq\Queries\Builders\Functions\IFunction $function ) : ElementProjection

Method Details

buildElementProjection() final protected méthode

final protected buildElementProjection ( Pinq\Queries\Builders\Functions\IFunction $function ) : ElementProjection
$function Pinq\Queries\Builders\Functions\IFunction
Résultat Pinq\Queries\Functions\ElementProjection

buildJoinOptionsInterpretation() public méthode

buildScopeInterpretation() public méthode

buildSourceInterpretation() public méthode

getScope() public méthode

public getScope ( )

interpretGroupBy() public méthode

public interpretGroupBy ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
$projection Pinq\Queries\Builders\Functions\IFunction

interpretIndexBy() public méthode

public interpretIndexBy ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
$projection Pinq\Queries\Builders\Functions\IFunction

interpretJoin() public méthode

public interpretJoin ( $segmentId, Pinq\Queries\Builders\Interpretations\IJoinOptionsInterpretation $joinOptionsInterpretation, Pinq\Queries\Builders\Functions\IFunction $joinToFunction )
$joinOptionsInterpretation Pinq\Queries\Builders\Interpretations\IJoinOptionsInterpretation
$joinToFunction Pinq\Queries\Builders\Functions\IFunction

interpretKeys() public méthode

public interpretKeys ( $segmentId )

interpretOperation() public méthode

public interpretOperation ( $segmentId, $operationType, Pinq\Queries\Builders\Interpretations\ISourceInterpretation $sourceInterpretation )
$sourceInterpretation Pinq\Queries\Builders\Interpretations\ISourceInterpretation

interpretOrderings() public méthode

public interpretOrderings ( $segmentId, array $orderings )
$orderings array

interpretReindex() public méthode

public interpretReindex ( $segmentId )

interpretScopeSource() public méthode

public interpretScopeSource ( Pinq\IQueryable $queryable )
$queryable Pinq\IQueryable

interpretSelect() public méthode

public interpretSelect ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
$projection Pinq\Queries\Builders\Functions\IFunction

interpretSelectMany() public méthode

public interpretSelectMany ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $projection )
$projection Pinq\Queries\Builders\Functions\IFunction

interpretSlice() public méthode

public interpretSlice ( $segmentId, $startId, $start, $amountId, $amount )

interpretUnique() public méthode

public interpretUnique ( $segmentId )

interpretWhere() public méthode

public interpretWhere ( $segmentId, Pinq\Queries\Builders\Functions\IFunction $predicate )
$predicate Pinq\Queries\Builders\Functions\IFunction

Property Details

$segments protected_oe property

The parsed query segments.
protected ISegment[],Pinq\Queries $segments
Résultat Pinq\Queries\ISegment[]

$sourceInfo protected_oe property

protected ISourceInfo,Pinq\Queries $sourceInfo
Résultat Pinq\Queries\ISourceInfo