141142143144145146147148149150151
{ switch (session.getOperation()) { case INSERT_PRICES: return new PriceInserter(index); case UPDATE_PORTFOLIOS: return new PortfolioInserter(index); case INSERT_HISTORICAL_PRICES: