public static final String SLICE ="slice";
private Map<String,Action> actions;
public ActionFactory(){
actions = new HashMap<String,Action>();
actions.put(CREATE_SESSION, new SaveSessionAction());
actions.put(LOAD_SESSION, new LoadSessionAction());
actions.put(SET_KEYSPACE, new SetKeyspaceAction());
actions.put(GET_KEYSPACE, new GetKeyspaceAction());
actions.put(CREATE_FILTER, new CreateFilterAction());
actions.put(UPSERT, new UpsertAction());