Class: TeradataCli::Table

Inherits:
DBObject show all
Defined in:
lib/teradata-cli/dbobject.rb

Constant Summary

Constants inherited from DBObject

DBObject::OBJECT_TYPES

Instance Attribute Summary collapse

Attributes inherited from DBObject

#database

Instance Method Summary collapse

Methods inherited from DBObject

#==, create, declare_type, #inspect, intern, #name, parse, #type_char, #type_name, #unqualified_name

Constructor Details

#initialize(x, y = nil, curr = nil, peak = nil) ⇒ Table

Returns a new instance of Table.



380
381
382
383
384
# File 'lib/teradata-cli/dbobject.rb', line 380

def initialize(x, y = nil, curr = nil, peak = nil)
  super x, y
  @current_perm = curr
  @peak_perm = peak
end

Instance Attribute Details

#current_permObject (readonly) Also known as: size

Returns the value of attribute current_perm.



386
387
388
# File 'lib/teradata-cli/dbobject.rb', line 386

def current_perm
  @current_perm
end

#peak_permObject (readonly)

Returns the value of attribute peak_perm.



388
389
390
# File 'lib/teradata-cli/dbobject.rb', line 388

def peak_perm
  @peak_perm
end