private function getOptions()
{
$options = [];
if (!$this->isRealTimeRequest()) {
$options['output'] = 'dataTable';
}
if ($this->dimentionsAreSet()) {
$options['dimensions'] = implode(',', $this->dimensions);
}
if ($this->filtersAreSet()) {
$options['filters'] = $this->filters;
}
if ($this->sortIsSet()) {
$options['sort'] = $this->sort;
}
return $options;
}