diff --git a/src/Druid/Query/Component/Filter/InFilter.php b/src/Druid/Query/Component/Filter/InFilter.php new file mode 100644 index 0000000..de956ed --- /dev/null +++ b/src/Druid/Query/Component/Filter/InFilter.php @@ -0,0 +1,78 @@ +dimension = $dimension; + $this->values = $values; + } + + /** + * @return string + */ + public function getDimension() + { + return $this->dimension; + } + + /** + * @return array + */ + public function getValues() + { + return $this->values; + } +} diff --git a/src/Druid/Query/Component/FilterInterface.php b/src/Druid/Query/Component/FilterInterface.php index d966b82..1d4f054 100644 --- a/src/Druid/Query/Component/FilterInterface.php +++ b/src/Druid/Query/Component/FilterInterface.php @@ -38,4 +38,5 @@ interface FilterInterface extends TypedInterface, ComponentInterface const TYPE_LOGICAL_AND = 'and'; const TYPE_LOGICAL_OR = 'or'; const TYPE_LOGICAL_NOT = 'not'; + const TYPE_LOGICAL_IN = 'in'; }