PHP Class Pinq\Queries\Builders\Interpretations\ScopeParser

Author: Elliot Levin ([email protected])
Inheritance: extends BaseParser, implements Pinq\Queries\Builders\Interpretations\IScopeParser
显示文件 Open project: timetoogo/pinq

Protected Properties

Property Type Description
$segments Pinq\Queries\ISegment[] The parsed query segments.
$sourceInfo Pinq\Queries\ISourceInfo

Public Methods

Method 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 )

Protected Methods

Method Description
buildElementProjection ( Pinq\Queries\Builders\Functions\IFunction $function ) : ElementProjection

Method Details

buildElementProjection() final protected method

final protected buildElementProjection ( Pinq\Queries\Builders\Functions\IFunction $function ) : ElementProjection
$function Pinq\Queries\Builders\Functions\IFunction
return Pinq\Queries\Functions\ElementProjection

buildJoinOptionsInterpretation() public method

buildScopeInterpretation() public method

buildSourceInterpretation() public method

getScope() public method

public getScope ( )

interpretGroupBy() public method

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

interpretIndexBy() public method

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

interpretJoin() public method

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 method

public interpretKeys ( $segmentId )

interpretOperation() public method

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

interpretOrderings() public method

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

interpretReindex() public method

public interpretReindex ( $segmentId )

interpretScopeSource() public method

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

interpretSelect() public method

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

interpretSelectMany() public method

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

interpretSlice() public method

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

interpretUnique() public method

public interpretUnique ( $segmentId )

interpretWhere() public method

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
return Pinq\Queries\ISegment[]

$sourceInfo protected_oe property

protected ISourceInfo,Pinq\Queries $sourceInfo
return Pinq\Queries\ISourceInfo