TQuery IGremlinQueryBase.Select <TQuery, TStepElement>(StepLabel <TQuery, TStepElement> label) { if (Steps.LastOrDefault() is AsStep asStep && asStep.StepLabels.Contains(label)) { return(ChangeQueryType <TQuery>()); } return(this .Select(label) .ChangeQueryType <TQuery>()); }
IInEdgeGremlinQuery <TElement, TNewInVertex> IEdgeGremlinQuery <TElement> .To <TNewInVertex>(StepLabel <TNewInVertex> stepLabel) => To <TElement, Unit, TNewInVertex>(stepLabel);
IGremlinQuery <TStep> IGremlinQuery.Select <TStep>(StepLabel <TStep> label) => Select <TStep>(label);
TQuery IGremlinQuery.Select <TQuery, TStepElement>(StepLabel <TQuery, TStepElement> label) { return(this .Select <TStepElement>(label) .ChangeQueryType <TQuery>()); }
public static bool Contains <TElement>(this StepLabel <TElement[]> stepLabel, TElement element) { throw new InvalidOperationException($"{nameof(StepLabelExtensions)}.{nameof(Contains)} is not intended to be executed. It's use is only valid within expressions."); }
public AggregateStep(Scope scope, StepLabel stepLabel) { Scope = scope; StepLabel = stepLabel; }
IOutEdgeGremlinQuery <TElement, TNewOutVertex> IEdgeGremlinQueryBase <TElement> .From <TNewOutVertex>(StepLabel <TNewOutVertex> stepLabel) => From <TElement, TNewOutVertex, TInVertex>(stepLabel);
IEdgeGremlinQuery <TElement, TTargetVertex, TOutVertex> IEdgeGremlinQuery <TElement, TOutVertex> .From <TTargetVertex>(StepLabel <TTargetVertex> stepLabel) => AddStep <TElement, TTargetVertex, TOutVertex, Unit, Unit, Unit>(new FromLabelStep(stepLabel));
IOutEdgeGremlinQuery <TElement, TNewOutVertex> IEdgeGremlinQueryBase <TElement> .From <TNewOutVertex>(StepLabel <TNewOutVertex> stepLabel) => AddStep <TElement, TNewOutVertex, object, object, object, object>(new FromLabelStep(stepLabel), QuerySemantics.Edge);
IBothEdgeGremlinQuery <TElement, TOutVertex, TTargetVertex> IInOrOutEdgeGremlinQueryBase <TElement, TOutVertex> .To <TTargetVertex>(StepLabel <TTargetVertex> stepLabel) => To <TElement, TOutVertex, TTargetVertex>(stepLabel);
IValueGremlinQuery <TLabelledElement> IGremlinQueryBase.Select <TLabelledElement>(StepLabel <TLabelledElement> label) => Select(label);
public FromLabelStep(StepLabel stepLabel) { StepLabel = stepLabel; }
public AggregateStep(StepLabel stepLabel) { StepLabel = stepLabel; }
public StepLabelExpressionFragment(StepLabel stepLabel, Expression?expression = default) : base(stepLabel, expression) { }
IEdgeGremlinQuery <TElement, TOutVertex, TTargetVertex> IEdgeGremlinQuery <TElement, TOutVertex> .To <TTargetVertex>(StepLabel <TTargetVertex> stepLabel) => To <TElement, TOutVertex, TTargetVertex>(stepLabel);
IBothEdgeGremlinQuery <TElement, TTargetVertex, TOutVertex> IInOrOutEdgeGremlinQueryBase <TElement, TOutVertex> .From <TTargetVertex>(StepLabel <TTargetVertex> stepLabel) => AddStep <TElement, TTargetVertex, TOutVertex, object, object, object>(new FromLabelStep(stepLabel), QuerySemantics.Edge);
IOutEdgeGremlinQuery <TElement, TNewOutVertex> IEdgeGremlinQuery <TElement> .From <TNewOutVertex>(StepLabel <TNewOutVertex> stepLabel) => AddStep <TElement, TNewOutVertex, Unit, Unit, Unit, Unit>(new FromLabelStep(stepLabel));
public ToLabelStep(StepLabel stepLabel) { StepLabel = stepLabel; }
public WhereStepLabelAndPredicateStep(StepLabel stepLabel, P predicate) { StepLabel = stepLabel; Predicate = predicate; }
public static bool Contains <TSource>(this IEnumerable <TSource> source, StepLabel <TSource> stepLabel) { throw new InvalidOperationException($"{nameof(EnumerableExtensions)}.{nameof(Contains)} is not intended to be executed. It's use is only valid within expressions."); }