Class: Metadata::TableInBatchGetRowItem

Inherits:
Object
  • Object
show all
Defined in:
lib/tablestore/metadata.rb

Instance Method Summary collapse

Constructor Details

#initialize(table_name, primary_keys, columns_to_get = nil, column_filter = nil, max_version = nil, time_range = nil, start_column = nil, end_column = nil, token = nil) ⇒ TableInBatchGetRowItem

Returns a new instance of TableInBatchGetRowItem.



340
341
342
343
344
345
346
347
348
349
350
351
352
# File 'lib/tablestore/metadata.rb', line 340

def initialize(table_name, primary_keys, columns_to_get=nil,
      column_filter=nil, max_version=nil, time_range=nil,
      start_column=nil, end_column=nil, token=nil)
  @table_name = table_name
  @primary_keys = primary_keys
  @columns_to_get = columns_to_get
  @column_filter = column_filter
  @max_version = max_version
  @time_range = time_range
  @start_column = start_column
  @end_column = end_column
  @token = token
end

Instance Method Details

#column_filterObject



366
367
368
# File 'lib/tablestore/metadata.rb', line 366

def column_filter
  @column_filter
end

#columns_to_getObject



362
363
364
# File 'lib/tablestore/metadata.rb', line 362

def columns_to_get
  @columns_to_get
end

#end_columnObject



382
383
384
# File 'lib/tablestore/metadata.rb', line 382

def end_column
  @end_column
end

#max_versionObject



370
371
372
# File 'lib/tablestore/metadata.rb', line 370

def max_version
  @max_version
end

#primary_keysObject



358
359
360
# File 'lib/tablestore/metadata.rb', line 358

def primary_keys
  @primary_keys
end

#start_columnObject



378
379
380
# File 'lib/tablestore/metadata.rb', line 378

def start_column
  @start_column
end

#table_nameObject



354
355
356
# File 'lib/tablestore/metadata.rb', line 354

def table_name
  @table_name
end

#time_rangeObject



374
375
376
# File 'lib/tablestore/metadata.rb', line 374

def time_range
  @time_range
end

#tokenObject



386
387
388
# File 'lib/tablestore/metadata.rb', line 386

def token
  @token
end