Example #1
0
 public function interpretRemoveRange($operationId, ISourceInterpretation $sourceInterpretation)
 {
     /** @var $sourceInterpretation ISourceParser */
     $this->operation = new Operations\RemoveValues($sourceInterpretation->getSource());
 }
Example #2
0
 public function interpretOperation($segmentId, $operationType, ISourceInterpretation $sourceInterpretation)
 {
     /* @var $sourceInterpretation ISourceParser */
     $this->segments[] = new Segments\Operation($operationType, $sourceInterpretation->getSource());
 }
Example #3
0
 public function interpretJoinOptions($isGroupJoin, ISourceInterpretation $sourceInterpretation, $defaultKeyId, $defaultValueId, array $defaultValueKeyPair = null)
 {
     /* @var $sourceInterpretation ISourceParser */
     $hasDefault = $defaultValueKeyPair !== null;
     $this->joinOptions = new Join\Options($sourceInterpretation->getSource(), $isGroupJoin, $this->joinFilter, $hasDefault, $hasDefault ? $defaultValueId : null, $hasDefault ? $defaultKeyId : null);
 }