Пример #1
0
        /// <inheritdoc/>
        public override BigtableServiceApiClient.SampleRowKeysStream SampleRowKeys(
            SampleRowKeysRequest request,
            gaxgrpc::CallSettings callSettings = null)
        {
            if (request.AppProfileId == null)
            {
                request.AppProfileId = _appProfileId;
            }

            return(GetUnderlyingClient().SampleRowKeys(request, callSettings));
        }
Пример #2
0
        /// <inheritdoc/>
        public override BigtableServiceApiClient.SampleRowKeysStream SampleRowKeys(
            SampleRowKeysRequest request,
            gaxgrpc::CallSettings callSettings = null)
        {
            if (_appProfileId != null && request.AppProfileId.Length == 0)
            {
                request.AppProfileId = _appProfileId;
            }

            return(_client.SampleRowKeys(request, callSettings));
        }
Пример #3
0
 /// <summary>
 /// Returns a sample of row keys in the table. The returned row keys will
 /// delimit contiguous sections of the table of approximately equal size,
 /// which can be used to break up the data for distributed tasks like
 /// mapreduces.
 /// </summary>
 /// <param name="request">
 /// The request object containing all of the parameters for the API call.
 /// If the <see cref="SampleRowKeysRequest.AppProfileId"/> has not been specified, it will be initialized from the value stored in the client.
 /// </param>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <returns>
 /// The server stream.
 /// </returns>
 public virtual BigtableServiceApiClient.SampleRowKeysStream SampleRowKeys(
     SampleRowKeysRequest request,
     gaxgrpc::CallSettings callSettings = null)
 {
     throw new sys::NotImplementedException();
 }
 partial void Modify_SampleRowKeysRequest(ref SampleRowKeysRequest request, ref CallSettings settings) =>
 TryApplyAppProfileId(request, r => r.AppProfileId, (r, a) => r.AppProfileId = a);
 partial void Modify_SampleRowKeysRequest(ref SampleRowKeysRequest request, ref CallSettings settings) =>
 ApplyResourcePrefixHeader(ref settings, request.TableName);
Пример #6
0
 /// <inheritdoc/>
 public override BigtableServiceApiClient.SampleRowKeysStream SampleRowKeys(SampleRowKeysRequest request, gaxgrpc::CallSettings callSettings = null) => _client.SampleRowKeys(request, callSettings);