コード例 #1
0
 /// <inheritdoc />
 public Task <ISplitIndexResponse> SplitIndexAsync(ISplitIndexRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                   ) =>
 Dispatcher.DispatchAsync <ISplitIndexRequest, SplitIndexRequestParameters, SplitIndexResponse, ISplitIndexResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.IndicesSplitDispatchAsync <SplitIndexResponse>
     );
コード例 #2
0
 /// <inheritdoc />
 public Task <SplitIndexResponse> SplitIndexAsync(ISplitIndexRequest request, CancellationToken ct = default) =>
 DoRequestAsync <ISplitIndexRequest, SplitIndexResponse>(request, request.RequestParameters, ct);
コード例 #3
0
 /// <inheritdoc />
 public SplitIndexResponse SplitIndex(ISplitIndexRequest request) =>
 DoRequest <ISplitIndexRequest, SplitIndexResponse>(request, request.RequestParameters);
コード例 #4
0
 public static Task <SplitIndexResponse> SplitIndexAsync(this IElasticClient client, ISplitIndexRequest request, CancellationToken ct = default)
 => client.Indices.SplitAsync(request, ct);
コード例 #5
0
 public static SplitIndexResponse SplitIndex(this IElasticClient client, ISplitIndexRequest request)
 => client.Indices.Split(request);
コード例 #6
0
 /// <inheritdoc />
 public ISplitIndexResponse SplitIndex(ISplitIndexRequest request) =>
 Dispatcher.Dispatch <ISplitIndexRequest, SplitIndexRequestParameters, SplitIndexResponse>(
     request,
     LowLevelDispatch.IndicesSplitDispatch <SplitIndexResponse>
     );