/// <inheritdoc /> public Task <IClearScrollResponse> ClearScrollAsync(IClearScrollRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher.DispatchAsync <IClearScrollRequest, ClearScrollRequestParameters, ClearScrollResponse, IClearScrollResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.ClearScrollDispatchAsync <ClearScrollResponse>(p, d, c) );
/// <inheritdoc /> public IEmptyResponse ClearScroll(IClearScrollRequest clearScrollRequest) { return(this.Dispatch <IClearScrollRequest, ClearScrollRequestParameters, EmptyResponse>( clearScrollRequest, (p, d) => { var body = PatchClearScroll(p); return this.RawDispatch.ClearScrollDispatch <EmptyResponse>(p, body); } )); }
/// <inheritdoc/> public Task <IClearScrollResponse> ClearScrollAsync(IClearScrollRequest request) => this.Dispatcher.DispatchAsync <IClearScrollRequest, ClearScrollRequestParameters, ClearScrollResponse, IClearScrollResponse>( request, (p, d) => this.LowLevelDispatch.ClearScrollDispatchAsync <ClearScrollResponse>(p, d) );
/// <inheritdoc/> public IClearScrollResponse ClearScroll(IClearScrollRequest request) => this.Dispatcher.Dispatch <IClearScrollRequest, ClearScrollRequestParameters, ClearScrollResponse>( request, (p, d) => this.LowLevelDispatch.ClearScrollDispatch <ClearScrollResponse>(p, d) );
public Task <ClearScrollResponse> ClearScrollAsync(IClearScrollRequest request, CancellationToken ct = new CancellationToken()) { throw new NotImplementedException(); }
public ClearScrollResponse ClearScroll(IClearScrollRequest request) { throw new NotImplementedException(); }
/// <inheritdoc/> public IEmptyResponse ClearScroll(IClearScrollRequest request) => this.Dispatcher.Dispatch <IClearScrollRequest, ClearScrollRequestParameters, EmptyResponse>( request, (p, d) => this.LowLevelDispatch.ClearScrollDispatch <EmptyResponse>(p, PatchClearScroll(p)) );
public static void Update(ElasticsearchPathInfo <ClearScrollRequestParameters> pathInfo, IClearScrollRequest request) { if (request.ScrollId.IsNullOrEmpty()) { throw new DslException("missing ScrollId()"); } pathInfo.ScrollId = request.ScrollId; pathInfo.HttpMethod = PathInfoHttpMethod.DELETE; }
/// <inheritdoc/> public Task<IClearScrollResponse> ClearScrollAsync(IClearScrollRequest request) => this.Dispatcher.DispatchAsync<IClearScrollRequest, ClearScrollRequestParameters, ClearScrollResponse, IClearScrollResponse>( request, (p, d) => this.LowLevelDispatch.ClearScrollDispatchAsync<ClearScrollResponse>(p, d) );
/// <inheritdoc/> public IClearScrollResponse ClearScroll(IClearScrollRequest request) => this.Dispatcher.Dispatch<IClearScrollRequest, ClearScrollRequestParameters, ClearScrollResponse>( request, (p, d) => this.LowLevelDispatch.ClearScrollDispatch<ClearScrollResponse>(p, d) );
/// <inheritdoc/> public IEmptyResponse ClearScroll(IClearScrollRequest request) => this.Dispatcher.Dispatch<IClearScrollRequest, ClearScrollRequestParameters, EmptyResponse>( request, (p, d) => this.LowLevelDispatch.ClearScrollDispatch<EmptyResponse>(p, PatchClearScroll(p)) );
/// <inheritdoc/> public Task<IClearScrollResponse> ClearScrollAsync(IClearScrollRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IClearScrollRequest, ClearScrollRequestParameters, ClearScrollResponse, IClearScrollResponse>( request, cancellationToken, (p, d, c) => this.LowLevelDispatch.ClearScrollDispatchAsync<ClearScrollResponse>(p, d, c) );
/// <inheritdoc /> public Task <ClearScrollResponse> ClearScrollAsync(IClearScrollRequest request, CancellationToken ct = default) => DoRequestAsync <IClearScrollRequest, ClearScrollResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public ClearScrollResponse ClearScroll(IClearScrollRequest request) => DoRequest <IClearScrollRequest, ClearScrollResponse>(request, request.RequestParameters);