private void setOperatorType(@NotNull Operator.TYPE type) {
        if (operatorType == null) {
            operatorType = type;
        }

        if (operatorType != type) {
            throw new ErrorParsingException("incorrect query: there should be one operator type");
        }
    }