private function createConstraint($token, $column, $operator, $value, $filter)
    {
        if (!$this->isFilterable($filter, $value)) {
            return $this;
        }

        $this->append(sprintf('%s %s %s %s ', $token, $this->quote($column), $operator, $value));
        return $this;
    }