Class: FluentCommandBuilder::AppCfgPython::V16::DownloadData

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_16.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#execute!, #to_s

Constructor Details

#initialize(builder, directory) ⇒ DownloadData

Returns a new instance of DownloadData.



318
319
320
321
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 318

def initialize(builder, directory)
  super builder
  @builder.append " download_data #{@builder.format directory}"
end

Instance Method Details

#auth_domain(auth_domain) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


352
353
354
355
356
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 352

def auth_domain(auth_domain)
  @builder.append " --auth_domain=#{@builder.format auth_domain}"
  yield @builder if block_given?
  self
end

#bandwidth_limit(bandwidth_limit) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


332
333
334
335
336
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 332

def bandwidth_limit(bandwidth_limit)
  @builder.append " --bandwidth_limit=#{@builder.format bandwidth_limit}"
  yield @builder if block_given?
  self
end

#batch_size(batch_size) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


327
328
329
330
331
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 327

def batch_size(batch_size)
  @builder.append " --batch_size=#{@builder.format batch_size}"
  yield @builder if block_given?
  self
end

#config_file(config_file) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


397
398
399
400
401
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 397

def config_file(config_file)
  @builder.append " --config_file=#{@builder.format config_file}"
  yield @builder if block_given?
  self
end

#db_filename(db_filename) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


347
348
349
350
351
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 347

def db_filename(db_filename)
  @builder.append " --db_filename=#{@builder.format db_filename}"
  yield @builder if block_given?
  self
end

#dry_run {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


362
363
364
365
366
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 362

def dry_run
  @builder.append ' --dry_run'
  yield @builder if block_given?
  self
end

#exporter_opts(exporter_opts) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


387
388
389
390
391
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 387

def exporter_opts(exporter_opts)
  @builder.append " --exporter_opts=#{@builder.format exporter_opts}"
  yield @builder if block_given?
  self
end

#filename(filename) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


377
378
379
380
381
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 377

def filename(filename)
  @builder.append " --filename=#{@builder.format filename}"
  yield @builder if block_given?
  self
end

#http_limit(http_limit) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


342
343
344
345
346
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 342

def http_limit(http_limit)
  @builder.append " --http_limit=#{@builder.format http_limit}"
  yield @builder if block_given?
  self
end

#kind(kind) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


382
383
384
385
386
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 382

def kind(kind)
  @builder.append " --kind=#{@builder.format kind}"
  yield @builder if block_given?
  self
end

#log_file(log_file) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


357
358
359
360
361
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 357

def log_file(log_file)
  @builder.append " --log_file=#{@builder.format log_file}"
  yield @builder if block_given?
  self
end

#namespace(namespace) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


367
368
369
370
371
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 367

def namespace(namespace)
  @builder.append " --namespace=#{@builder.format namespace}"
  yield @builder if block_given?
  self
end

#num_threads(num_threads) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


372
373
374
375
376
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 372

def num_threads(num_threads)
  @builder.append " --num_threads=#{@builder.format num_threads}"
  yield @builder if block_given?
  self
end

#result_db_filename(result_db_filename) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


392
393
394
395
396
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 392

def result_db_filename(result_db_filename)
  @builder.append " --result_db_filename=#{@builder.format result_db_filename}"
  yield @builder if block_given?
  self
end

#rps_limit(rps_limit) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


337
338
339
340
341
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 337

def rps_limit(rps_limit)
  @builder.append " --rps_limit=#{@builder.format rps_limit}"
  yield @builder if block_given?
  self
end

#url(url) {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


322
323
324
325
326
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 322

def url(url)
  @builder.append " --url=#{@builder.format url}"
  yield @builder if block_given?
  self
end