/** * SlicePredicate constructor * @param string $slicePredicateType Type of Slice Predicate, either 'SliceRange' or 'Columns' * @param array $predicateAttribute Attribute of the SlicePredicate, its value is interpreted according to the type of SlicePredicate that is being built */ public function __construct($slicePredicateType = self::TYPE_RANGE, array $predicateAttribute = array()) { parent::__construct(); if ($slicePredicateType == self::TYPE_COLUMNS || $slicePredicateType == self::TYPE_RANGE) { $this->_slicePredicateType = $slicePredicateType; } $this->buildPredicateAttribute($predicateAttribute); }