public RiakMapReduceQuery ReduceErlang(Action <RiakFluentActionPhaseErlang> setup) { var phase = new RiakReducePhase <RiakPhaseLanguageErlang>(); var fluent = new RiakFluentActionPhaseErlang(phase); setup(fluent); _phases.Add(phase); return(this); }
public RiakMapReduceQuery ReduceJs(Action <RiakFluentActionPhaseJavascript> setup) { var phase = new RiakReducePhase <RiakPhaseLanguageJavascript>(); var fluent = new RiakFluentActionPhaseJavascript(phase); setup(fluent); _phases.Add(phase); return(this); }
public RiakMapReduceQuery ReduceJs(Action<RiakFluentActionPhaseJavascript> setup) { var phase = new RiakReducePhase<RiakPhaseLanguageJavascript>(); var fluent = new RiakFluentActionPhaseJavascript(phase); setup(fluent); _phases.Add(phase); return this; }
public RiakMapReduceQuery ReduceErlang(Action<RiakFluentActionPhaseErlang> setup) { var phase = new RiakReducePhase<RiakPhaseLanguageErlang>(); var fluent = new RiakFluentActionPhaseErlang(phase); setup(fluent); _phases.Add(phase); return this; }