저자: Elliot Levin (elliotlevin@hotmail.com)
상속: extends ProjectionBase
예제 #1
0
 /**
  * @param IFunction $function
  *
  * @return Functions\ElementProjection
  */
 protected final function buildElementProjection(IFunction $function)
 {
     return $this->buildFunction($function, Functions\ElementProjection::factory());
 }
예제 #2
0
 public function getParameters()
 {
     return $this->predicateFunction->getParameterIds();
 }
예제 #3
0
 public function interpretRemoveWhere($operationId, IFunction $function)
 {
     $this->operation = new Operations\RemoveWhere($this->buildFunction($function, Functions\ElementProjection::factory()));
 }
예제 #4
0
 /**
  * @return callable
  */
 protected function functionFactory()
 {
     return Functions\ElementProjection::factory();
 }
예제 #5
0
 public function getParameters()
 {
     return $this->projectionFunction === null ? [] : $this->projectionFunction->getParameterIds();
 }
예제 #6
0
파일: Ordering.php 프로젝트: timetoogo/pinq
 /**
  * @return string[]
  */
 public function getParameters()
 {
     return array_merge([$this->isAscendingId], $this->projectionFunction->getParameterIds());
 }
예제 #7
0
 protected function buildOptionalProjection(IFunction $function = null)
 {
     if ($function === null) {
         return null;
     }
     return $this->buildFunction($function, Queries\Functions\ElementProjection::factory());
 }
예제 #8
0
 public function interpretEqualityJoinFilter(IFunction $outerProjection, IFunction $innerProjection)
 {
     $this->joinFilter = new Join\Filter\Equality($this->buildFunction($outerProjection, Functions\ElementProjection::factory()), $this->buildFunction($innerProjection, Functions\ElementProjection::factory()));
 }
예제 #9
0
파일: Equality.php 프로젝트: timetoogo/pinq
 public function walk(O\ExpressionWalker $walker)
 {
     return $this->update($this->outerKeyFunction->walk($walker), $this->innerKeyFunction->walk($walker));
 }