protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <NodesShutdownRequestParameters> pathInfo) { NodesShutdownPathInfo.Update(pathInfo); }
public static void Update(ElasticsearchPathInfo <SnapshotStatusRequestParameters> pathInfo, ISnapshotStatusRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.GET; }
public static void Update(IConnectionSettingsValues settings, ElasticsearchPathInfo <SearchRequestParameters> pathInfo, ISearchRequest request) { pathInfo.HttpMethod = request.RequestParameters.ContainsKey("source") ? PathInfoHttpMethod.GET : PathInfoHttpMethod.POST; }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <MultiTermVectorsRequestParameters> pathInfo) { pathInfo.HttpMethod = PathInfoHttpMethod.POST; }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <GetIndexSettingsRequestParameters> pathInfo) { GetIndexSettingsPathInfo.Update(pathInfo, this); }
public static void Update(IConnectionSettingsValues settings, ElasticsearchPathInfo <UpdateSettingsRequestParameters> pathInfo) { pathInfo.HttpMethod = PathInfoHttpMethod.PUT; }
public static void Update(ElasticsearchPathInfo <MultiTermVectorsRequestParameters> pathInfo, IMultiTermVectorsRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.POST; }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <CatFielddataRequestParameters> pathInfo) { CatRequestPathInfo.Update(pathInfo); }
public static void Update(ElasticsearchPathInfo <DeleteScriptRequestParameters> pathInfo, IDeleteScriptRequest request) { pathInfo.Id = request.Id; pathInfo.Lang = request.Lang; pathInfo.HttpMethod = PathInfoHttpMethod.DELETE; }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <TemplateExistsRequestParameters> pathInfo) { TemplateExistsPathInfo.Update(pathInfo, this); }
public static void Update(ElasticsearchPathInfo <PutTemplateRequestParameters> pathInfo, IPutTemplateRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.PUT; }
public static void Update(ElasticsearchPathInfo <TemplateExistsRequestParameters> pathInfo, ITemplateExistsRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.HEAD; }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <PercolateCountRequestParameters> pathInfo) { PercolateCountPathInfo.Update(pathInfo, this); }
public static void Update <T>(ElasticsearchPathInfo <PercolateCountRequestParameters> pathInfo, IPercolateCountRequest <T> request) where T : class { pathInfo.HttpMethod = PathInfoHttpMethod.POST; }
protected abstract void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <TParameters> pathInfo);
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <DeleteScriptRequestParameters> pathInfo) { DeleteScriptPathInfo.Update(pathInfo, this); }
protected override void SetRouteParameters(IConnectionSettingsValues settings, ElasticsearchPathInfo <TParameters> pathInfo) { RepositoryPathRouteParameters.SetRouteParameters(this, settings, pathInfo); }
protected override void SetRouteParameters(IConnectionSettingsValues settings, ElasticsearchPathInfo <TParameters> pathInfo) { IndicesTypePathRouteParameters.SetRouteParameters <TParameters>(this, settings, pathInfo); }
public static void Update(ElasticsearchPathInfo <RefreshRequestParameters> pathInfo, IRefreshRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.POST; }
public static void Update(ElasticsearchPathInfo <ClusterStatsRequestParameters> pathInfo) { pathInfo.HttpMethod = PathInfoHttpMethod.GET; }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <MultiTermVectorsRequestParameters> pathInfo) { MultiTermVectorsPathInfo.Update(pathInfo, this); }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <ClusterStatsRequestParameters> pathInfo) { ClusterStatsPathInfo.Update(pathInfo); }
public static void Update(ElasticsearchPathInfo <GetIndexSettingsRequestParameters> pathInfo, IGetIndexSettingsRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.GET; }
public WatcherPathInfo(ElasticsearchPathInfo <TParameters> elasticsearchPathInfo) { this.HttpMethod = elasticsearchPathInfo.HttpMethod; this.Id = elasticsearchPathInfo.Id; this.Name = elasticsearchPathInfo.Name; }
protected override void SetRouteParameters(IConnectionSettingsValues settings, ElasticsearchPathInfo <TParameters> pathInfo) { base.SetRouteParameters(settings, pathInfo); pathInfo.Index.ThrowIfNullOrEmpty("index"); pathInfo.Type.ThrowIfNullOrEmpty("type"); pathInfo.Id.ThrowIfNullOrEmpty("id"); }
protected virtual void SetRouteParameters( IConnectionSettingsValues settings, ElasticsearchPathInfo <TParameters> pathInfo) { }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <SnapshotStatusRequestParameters> pathInfo) { SnapshotStatusPathInfo.Update(pathInfo, this); }
protected virtual void ValidatePathInfo(ElasticsearchPathInfo <TParameters> pathInfo) { }
protected override void UpdatePathInfo(IConnectionSettingsValues settings, ElasticsearchPathInfo <SearchRequestParameters> pathInfo) { SearchPathInfo.Update(settings, pathInfo, this); }
public static void Update(ElasticsearchPathInfo <NodesShutdownRequestParameters> pathInfo) { pathInfo.HttpMethod = PathInfoHttpMethod.POST; }