/// <inheritdoc />
 public Task <IGetMappingResponse> GetMappingAsync(IGetMappingRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IGetMappingRequest, GetMappingRequestParameters, GetMappingResponse, IGetMappingResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesGetMappingDispatchAsync <GetMappingResponse>(p, c)
     );
Ejemplo n.º 2
0
 /// <inheritdoc />
 public Task <IGetResponse <T> > GetAsync <T>(IGetRequest request, CancellationToken cancellationToken = default(CancellationToken))
     where T : class =>
 Dispatcher.DispatchAsync <IGetRequest, GetRequestParameters, GetResponse <T>, IGetResponse <T> >(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.GetDispatchAsync <GetResponse <T> >(p, c)
     );
Ejemplo n.º 3
0
 /// <inheritdoc />
 public Task <IForceMergeResponse> ForceMergeAsync(IForceMergeRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IForceMergeRequest, ForceMergeRequestParameters, ForceMergeResponse, IForceMergeResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesForcemergeDispatchAsync <ForceMergeResponse>(p, c)
     );
Ejemplo n.º 4
0
 /// <inheritdoc />
 public Task <IXPackUsageResponse> XPackUsageAsync(IXPackUsageRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IXPackUsageRequest, XPackUsageRequestParameters, XPackUsageResponse, IXPackUsageResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackUsageDispatchAsync <XPackUsageResponse>(p, c)
     );
Ejemplo n.º 5
0
 /// <inheritdoc />
 public Task <IGetLicenseResponse> GetLicenseAsync(IGetLicenseRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IGetLicenseRequest, GetLicenseRequestParameters, GetLicenseResponse, IGetLicenseResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackLicenseGetDispatchAsync <GetLicenseResponse>(p, c)
     );
Ejemplo n.º 6
0
 /// <inheritdoc />
 public ISearchResponse <TResult> Search <T, TResult>(ISearchRequest request)
     where T : class
     where TResult : class =>
 Dispatcher.Dispatch <ISearchRequest, SearchRequestParameters, SearchResponse <TResult> >(
     request,
     (p, d) => LowLevelDispatch.SearchDispatch <SearchResponse <TResult> >(p, d)
     );
 /// <inheritdoc />
 public Task <ISearchResponse <T> > ScrollAsync <T>(IScrollRequest request, CancellationToken cancellationToken = default(CancellationToken))
     where T : class =>
 Dispatcher.DispatchAsync <IScrollRequest, ScrollRequestParameters, SearchResponse <T>, ISearchResponse <T> >(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.ScrollDispatchAsync <SearchResponse <T> >(p, d, c)
     );
 /// <inheritdoc see cref="GetBasicLicenseStatus(System.Func{Nest.GetBasicLicenseStatusDescriptor,Nest.IGetBasicLicenseStatusRequest})"/>
 public Task <IGetBasicLicenseStatusResponse> GetBasicLicenseStatusAsync(IGetBasicLicenseStatusRequest request, CancellationToken cancellationToken = default
                                                                         ) =>
 Dispatcher.DispatchAsync <IGetBasicLicenseStatusRequest, GetBasicLicenseStatusRequestParameters, GetBasicLicenseStatusResponse, IGetBasicLicenseStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackLicenseGetBasicStatusDispatchAsync <GetBasicLicenseStatusResponse>(p, c)
     );
Ejemplo n.º 9
0
 /// <inheritdoc />
 public Task <INodesStatsResponse> NodesStatsAsync(INodesStatsRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <INodesStatsRequest, NodesStatsRequestParameters, NodesStatsResponse, INodesStatsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.NodesStatsDispatchAsync <NodesStatsResponse>(p, c)
     );
Ejemplo n.º 10
0
 /// <inheritdoc />
 public Task <IRollupSearchResponse <THit> > RollupSearchAsync <THit>(IRollupSearchRequest request, CancellationToken cancellationToken = default)
     where THit : class =>
 Dispatcher.DispatchAsync <IRollupSearchRequest, RollupSearchRequestParameters, RollupSearchResponse <THit>, IRollupSearchResponse <THit> >(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackRollupRollupSearchDispatchAsync <RollupSearchResponse <THit> >(p, d, c)
     );
 /// <inheritdoc />
 public Task <IEnableUserResponse> EnableUserAsync(IEnableUserRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IEnableUserRequest, EnableUserRequestParameters, EnableUserResponse, IEnableUserResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackSecurityEnableUserDispatchAsync <EnableUserResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IDeleteRoleResponse> DeleteRoleAsync(IDeleteRoleRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse, IDeleteRoleResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackSecurityDeleteRoleDispatchAsync <DeleteRoleResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IRemoteInfoResponse> RemoteInfoAsync(IRemoteInfoRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IRemoteInfoRequest, RemoteInfoRequestParameters, RemoteInfoResponse, IRemoteInfoResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.ClusterRemoteInfoDispatchAsync <RemoteInfoResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IExistsResponse> IndexExistsAsync(IIndexExistsRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                ) =>
 Dispatcher.DispatchAsync <IIndexExistsRequest, IndexExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesExistsDispatchAsync <ExistsResponse>(p, c)
     );
 /// <inheritdoc cref="StartBasicLicense(System.Func{Nest.StartBasicLicenseDescriptor,Nest.IStartBasicLicenseRequest})"/>
 public Task <IStartBasicLicenseResponse> StartBasicLicenseAsync(IStartBasicLicenseRequest request, CancellationToken cancellationToken = default
                                                                 ) =>
 Dispatcher.DispatchAsync <IStartBasicLicenseRequest, StartBasicLicenseRequestParameters, StartBasicLicenseResponse, IStartBasicLicenseResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackLicensePostStartBasicDispatchAsync <StartBasicLicenseResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IClearCacheResponse> ClearCacheAsync(IClearCacheRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IClearCacheRequest, ClearCacheRequestParameters, ClearCacheResponse, IClearCacheResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesClearCacheDispatchAsync <ClearCacheResponse>(p, c)
     );
Ejemplo n.º 17
0
 /// <inheritdoc />
 public Task <IExistsResponse> SourceExistsAsync(ISourceExistsRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                 ) =>
 Dispatcher.DispatchAsync <ISourceExistsRequest, SourceExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.ExistsSourceDispatchAsync <ExistsResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IStartWatcherResponse> StartWatcherAsync(IStartWatcherRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IStartWatcherRequest, StartWatcherRequestParameters, StartWatcherResponse, IStartWatcherResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackWatcherStartDispatchAsync <StartWatcherResponse>(p, c)
     );
Ejemplo n.º 19
0
 /// <inheritdoc />
 public Task <IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest request,
                                                         CancellationToken cancellationToken = default(CancellationToken)
                                                         ) =>
 Dispatcher.DispatchAsync <IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesGetUpgradeDispatchAsync <UpgradeStatusResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IStopDatafeedResponse> StopDatafeedAsync(IStopDatafeedRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IStopDatafeedRequest, StopDatafeedRequestParameters, StopDatafeedResponse, IStopDatafeedResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlStopDatafeedDispatchAsync <StopDatafeedResponse>(p, c)
     );
Ejemplo n.º 21
0
 /// <inheritdoc />
 public Task <IClusterHealthResponse> ClusterHealthAsync(IClusterHealthRequest request,
                                                         CancellationToken cancellationToken = default(CancellationToken)
                                                         ) =>
 Dispatcher.DispatchAsync <IClusterHealthRequest, ClusterHealthRequestParameters, ClusterHealthResponse, IClusterHealthResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.ClusterHealthDispatchAsync <ClusterHealthResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IWatcherStatsResponse> WatcherStatsAsync(IWatcherStatsRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IWatcherStatsRequest, WatcherStatsRequestParameters, WatcherStatsResponse, IWatcherStatsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackWatcherStatsDispatchAsync <WatcherStatsResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IMachineLearningInfoResponse> MachineLearningInfoAsync(IMachineLearningInfoRequest request,
                                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                                     ) =>
 Dispatcher.DispatchAsync <IMachineLearningInfoRequest, MachineLearningInfoRequestParameters, MachineLearningInfoResponse, IMachineLearningInfoResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlInfoDispatchAsync <MachineLearningInfoResponse>(p, c)
     );
Ejemplo n.º 24
0
 /// <inheritdoc />
 public Task <IGetSnapshotResponse> GetSnapshotAsync(IGetSnapshotRequest request,
                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                     ) =>
 Dispatcher.DispatchAsync <IGetSnapshotRequest, GetSnapshotRequestParameters, GetSnapshotResponse, IGetSnapshotResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.SnapshotGetDispatchAsync <GetSnapshotResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <ISnapshotStatusResponse> SnapshotStatusAsync(ISnapshotStatusRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <ISnapshotStatusRequest, SnapshotStatusRequestParameters, SnapshotStatusResponse, ISnapshotStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.SnapshotStatusDispatchAsync <SnapshotStatusResponse>(p, c)
     );
Ejemplo n.º 26
0
 /// <inheritdoc />
 public Task <IAuthenticateResponse> AuthenticateAsync(IAuthenticateRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IAuthenticateRequest, AuthenticateRequestParameters, AuthenticateResponse, IAuthenticateResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackSecurityAuthenticateDispatchAsync <AuthenticateResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IDeletePipelineResponse> DeletePipelineAsync(IDeletePipelineRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IDeletePipelineRequest, DeletePipelineRequestParameters, DeletePipelineResponse, IDeletePipelineResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IngestDeletePipelineDispatchAsync <DeletePipelineResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <ICancelTasksResponse> CancelTasksAsync(ICancelTasksRequest request,
                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                     ) =>
 Dispatcher.DispatchAsync <ICancelTasksRequest, CancelTasksRequestParameters, CancelTasksResponse, ICancelTasksResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.TasksCancelDispatchAsync <CancelTasksResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IDeleteScriptResponse> DeleteScriptAsync(IDeleteScriptRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IDeleteScriptRequest, DeleteScriptRequestParameters, DeleteScriptResponse, IDeleteScriptResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.DeleteScriptDispatchAsync <DeleteScriptResponse>(p, c)
     );
Ejemplo n.º 30
0
 /// <inheritdoc />
 public Task <ISearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse, ISearchShardsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.SearchShardsDispatchAsync <SearchShardsResponse>(p, c)
     );