示例#1
0
 /// <inheritdoc cref="DeleteForecast(Nest6.Id,Nest6.ForecastIds,System.Func{Nest6.DeleteForecastDescriptor,Nest6.IDeleteForecastRequest})" />
 public Task <IDeleteForecastResponse> DeleteForecastAsync(IDeleteForecastRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)) =>
 Dispatcher.DispatchAsync <IDeleteForecastRequest, DeleteForecastRequestParameters, DeleteForecastResponse, IDeleteForecastResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlDeleteForecastDispatchAsync <DeleteForecastResponse>(p, c)
     );
示例#2
0
 /// <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)
     );
示例#3
0
 /// <inheritdoc see cref="GetBasicLicenseStatus(System.Func{Nest6.GetBasicLicenseStatusDescriptor,Nest6.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)
     );
示例#4
0
 /// <inheritdoc />
 public Task <IExistsResponse> AliasExistsAsync(IAliasExistsRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                ) =>
 Dispatcher.DispatchAsync <IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesExistsAliasDispatchAsync <ExistsResponse>(p, c)
     );
示例#5
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)
     );
示例#6
0
 /// <inheritdoc />
 public Task <ICloseIndexResponse> CloseIndexAsync(ICloseIndexRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <ICloseIndexRequest, CloseIndexRequestParameters, CloseIndexResponse, ICloseIndexResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesCloseDispatchAsync <CloseIndexResponse>(p, c)
     );
示例#7
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)
     );
示例#8
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)
     );
示例#9
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)
     );
示例#10
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)
     );
示例#11
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)
     );
示例#12
0
 /// <inheritdoc cref="StartBasicLicense(System.Func{Nest6.StartBasicLicenseDescriptor,Nest6.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)
     );
示例#13
0
 /// <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)
     );
示例#14
0
 /// <inheritdoc />
 public Task <IDeleteUserResponse> DeleteUserAsync(IDeleteUserRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <IDeleteUserRequest, DeleteUserRequestParameters, DeleteUserResponse, IDeleteUserResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackSecurityDeleteUserDispatchAsync <DeleteUserResponse>(p, c)
     );
示例#15
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)
     );
示例#16
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)
     );
示例#17
0
 /// <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)
     );
示例#18
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)
     );
示例#19
0
 /// <inheritdoc />
 public Task <IPutCalendarJobResponse> PutCalendarJobAsync(IPutCalendarJobRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IPutCalendarJobRequest, PutCalendarJobRequestParameters, PutCalendarJobResponse, IPutCalendarJobResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlPutCalendarJobDispatchAsync <PutCalendarJobResponse>(p, c)
     );
示例#20
0
 /// <inheritdoc />
 public Task <IDeleteSnapshotResponse> DeleteSnapshotAsync(IDeleteSnapshotRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IDeleteSnapshotRequest, DeleteSnapshotRequestParameters, DeleteSnapshotResponse, IDeleteSnapshotResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.SnapshotDeleteDispatchAsync <DeleteSnapshotResponse>(p, c)
     );
示例#21
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)
     );
示例#22
0
 /// <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)
     );
示例#23
0
 /// <inheritdoc />
 public Task <IChangePasswordResponse> ChangePasswordAsync(IChangePasswordRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IChangePasswordRequest, ChangePasswordRequestParameters, ChangePasswordResponse, IChangePasswordResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackSecurityChangePasswordDispatchAsync <ChangePasswordResponse>(p, d, c)
     );
示例#24
0
 /// <inheritdoc cref="GetIlmStatus(System.Func{Nest6.GetIlmStatusDescriptor,Nest6.IGetIlmStatusRequest})" />
 public Task <IGetIlmStatusResponse> GetIlmStatusAsync(IGetIlmStatusRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IGetIlmStatusRequest, GetIlmStatusRequestParameters, GetIlmStatusResponse, IGetIlmStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackIlmGetStatusDispatchAsync <GetIlmStatusResponse>(p, c)
     );
示例#25
0
 /// <inheritdoc cref="ExplainLifecycle(Nest6.IndexName,System.Func{Nest6.ExplainLifecycleDescriptor,Nest6.IExplainLifecycleRequest})" />
 public Task <IExplainLifecycleResponse> ExplainLifecycleAsync(IExplainLifecycleRequest request,
                                                               CancellationToken cancellationToken = default(CancellationToken)
                                                               ) =>
 Dispatcher.DispatchAsync <IExplainLifecycleRequest, ExplainLifecycleRequestParameters, ExplainLifecycleResponse, IExplainLifecycleResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackIlmExplainLifecycleDispatchAsync <ExplainLifecycleResponse>(p, c)
     );
示例#26
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)
     );
示例#27
0
 /// <inheritdoc />
 public Task <IClusterStateResponse> ClusterStateAsync(IClusterStateRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IClusterStateRequest, ClusterStateRequestParameters, ClusterStateResponse, IClusterStateResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.ClusterStateDispatchAsync <ClusterStateResponse>(p, c)
     );
示例#28
0
 /// <inheritdoc cref="RemovePolicy(Nest6.IndexName,System.Func{Nest6.RemovePolicyDescriptor,Nest6.IRemovePolicyRequest})" />
 public Task <IRemovePolicyResponse> RemovePolicyAsync(IRemovePolicyRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IRemovePolicyRequest, RemovePolicyRequestParameters, RemovePolicyResponse, IRemovePolicyResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackIlmRemovePolicyDispatchAsync <RemovePolicyResponse>(p, c)
     );
示例#29
0
 /// <inheritdoc />
 public Task <IListTasksResponse> DeleteByQueryRethrottleAsync(IDeleteByQueryRethrottleRequest request,
                                                               CancellationToken cancellationToken = default(CancellationToken)
                                                               ) =>
 Dispatcher.DispatchAsync <IDeleteByQueryRethrottleRequest, DeleteByQueryRethrottleRequestParameters, ListTasksResponse, IListTasksResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.DeleteByQueryRethrottleDispatchAsync <ListTasksResponse>(p, c)
     );
示例#30
0
 /// <inheritdoc />
 public Task <IRecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse, IRecoveryStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesRecoveryDispatchAsync <RecoveryStatusResponse>(p, c)
     );