internal static IGremlinQuery <TElement> Create <TElement>(IGraphModel model, IGremlinQueryExecutor queryExecutor, string graphName = null, ILogger logger = null) { return(new GremlinQuery <TElement, Unit, Unit, Unit, Unit, Unit>( model, queryExecutor, graphName != null ? ImmutableList <Step> .Empty.Add(IdentifierStep.Create(graphName)) : ImmutableList <Step> .Empty, ImmutableDictionary <StepLabel, string> .Empty, logger)); }
public static IGremlinQuery <TElement> Create <TElement>(string graphName, IGremlinQueryEnvironment environment) { return(Create <TElement>( ImmutableList <Step> .Empty.Add(IdentifierStep.Create(graphName)), environment)); }