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.



347
348
349
350
351
352
353
354
355
356
357
358
359
# File 'lib/tablestore/metadata.rb', line 347

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



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

def column_filter
  @column_filter
end

#columns_to_getObject



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

def columns_to_get
  @columns_to_get
end

#end_columnObject



389
390
391
# File 'lib/tablestore/metadata.rb', line 389

def end_column
  @end_column
end

#max_versionObject



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

def max_version
  @max_version
end

#primary_keysObject



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

def primary_keys
  @primary_keys
end

#start_columnObject



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

def start_column
  @start_column
end

#table_nameObject



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

def table_name
  @table_name
end

#time_rangeObject



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

def time_range
  @time_range
end

#tokenObject



393
394
395
# File 'lib/tablestore/metadata.rb', line 393

def token
  @token
end