

package org.apache.samza.sql.runner;

import java.util.Map;
import org.apache.samza.context.ApplicationTaskContext;
import org.apache.samza.sql.translator.TranslatorContext;


public class SamzaSqlApplicationContext implements ApplicationTaskContext {
  private Map<Integer, TranslatorContext> queryIdAndTranslatorContextMap;

  public SamzaSqlApplicationContext(Map<Integer, TranslatorContext> queryAndTranslatorContextMap) {
    this.queryIdAndTranslatorContextMap = queryAndTranslatorContextMap;
  }

  public Map<Integer, TranslatorContext> getTranslatorContexts() {
    return queryIdAndTranslatorContextMap;
  }

  @Override
  public void start() {
  }

  @Override
  public void stop() {
  }
}
