Example #1
0
        internal virtual void Group(GremlinToSqlContext currentContext, string sideEffectKey, List <object> parameters)
        {
            GremlinGroupVariable newVariable = new GremlinGroupVariable(this, sideEffectKey, parameters);

            currentContext.VariableList.Add(newVariable);
            currentContext.TableReferences.Add(newVariable);
            if (sideEffectKey == null)
            {
                currentContext.SetPivotVariable(newVariable);
            }
        }
Example #2
0
        internal virtual void Group(GremlinToSqlContext currentContext, string sideEffectKey, GremlinToSqlContext groupByContext,
                                    GremlinToSqlContext projectByContext, bool isProjectingACollection)
        {
            GremlinGroupVariable newVariable = new GremlinGroupVariable(this, sideEffectKey, groupByContext, projectByContext, isProjectingACollection);

            currentContext.VariableList.Add(newVariable);
            currentContext.TableReferences.Add(newVariable);
            if (sideEffectKey == null)
            {
                currentContext.SetPivotVariable(newVariable);
            }
        }