public CosmosDbNativeGremlinQueryProvider(IGremlinClient client, ILogger logger)
 {
     this._baseProvider = new WorkaroundCosmosDbBugsQueryProvider(client
                                                                  .ToNativeGremlinQueryProvider(
                                                                      "g",
                                                                      logger));
 }
 public static INativeGremlinQueryProvider <TNativeTarget> Select <TNativeSource, TNativeTarget>(this INativeGremlinQueryProvider <TNativeSource> provider, Func <TNativeSource, TNativeTarget> projection)
 {
     return(new SelectNativeGremlinQueryProvider <TNativeSource, TNativeTarget>(provider, projection));
 }
 public static IModelGremlinQueryProvider <TNative> WithModel <TNative>(this INativeGremlinQueryProvider <TNative> provider, IGraphModel model)
 {
     return(new ModelGremlinQueryProvider <TNative>(provider, model));
 }
 public SelectNativeGremlinQueryProvider(INativeGremlinQueryProvider <TNativeSource> provider, Func <TNativeSource, TNativeTarget> projection)
 {
     this._provider   = provider;
     this._projection = projection;
 }
 public ModelGremlinQueryProvider(INativeGremlinQueryProvider <TNative> baseProvider, IGraphModel newModel)
 {
     this.Model         = newModel;
     this._baseProvider = baseProvider;
 }
 public WorkaroundCosmosDbBugsQueryProvider(INativeGremlinQueryProvider <JToken> nativeGremlinQueryProviderImplementation)
 {
     this._nativeGremlinQueryProviderImplementation = nativeGremlinQueryProviderImplementation;
 }