Class: Rubeus::Jdbc::PrimaryKey
- Inherits:
-
TableElement
- Object
- MetaElement
- TableElement
- Rubeus::Jdbc::PrimaryKey
- Includes:
- FullyQualifiedNamed
- Defined in:
- lib/rubeus/jdbc/primary_key.rb
Constant Summary
Constants included from FullyQualifiedNamed
FullyQualifiedNamed::FQN_ATTRS, FullyQualifiedNamed::FQN_ATTR_STRS
Instance Attribute Summary collapse
-
#column_name ⇒ Object
1.
-
#key_seq ⇒ Object
(also: #seq)
1.
-
#pk_name ⇒ Object
1.
Attributes inherited from TableElement
Attributes inherited from MetaElement
#jdbc_info, #meta_data, #options
Instance Method Summary collapse
Methods included from FullyQualifiedNamed
#fully_qualified_name, #same_fqn?
Methods inherited from TableElement
#initialize, #pretty_print_instance_variables
Methods inherited from MetaElement
#initialize, #pretty_print_instance_variables
Constructor Details
This class inherits a constructor from Rubeus::Jdbc::TableElement
Instance Attribute Details
#column_name ⇒ Object
-
TABLE_CAT String => テーブルカタログ (null の可能性がある)
-
TABLE_SCHEM String => テーブルスキーマ (null の可能性がある)
-
TABLE_NAME String => テーブル名
-
COLUMN_NAME String => 列名
-
KEY_SEQ short => 主キー中の連番
-
PK_NAME String => 主キー名 (null の可能性がある)
17 18 19 |
# File 'lib/rubeus/jdbc/primary_key.rb', line 17 def column_name @column_name end |
#key_seq ⇒ Object Also known as: seq
-
TABLE_CAT String => テーブルカタログ (null の可能性がある)
-
TABLE_SCHEM String => テーブルスキーマ (null の可能性がある)
-
TABLE_NAME String => テーブル名
-
COLUMN_NAME String => 列名
-
KEY_SEQ short => 主キー中の連番
-
PK_NAME String => 主キー名 (null の可能性がある)
17 18 19 |
# File 'lib/rubeus/jdbc/primary_key.rb', line 17 def key_seq @key_seq end |
#pk_name ⇒ Object
-
TABLE_CAT String => テーブルカタログ (null の可能性がある)
-
TABLE_SCHEM String => テーブルスキーマ (null の可能性がある)
-
TABLE_NAME String => テーブル名
-
COLUMN_NAME String => 列名
-
KEY_SEQ short => 主キー中の連番
-
PK_NAME String => 主キー名 (null の可能性がある)
17 18 19 |
# File 'lib/rubeus/jdbc/primary_key.rb', line 17 def pk_name @pk_name end |
Instance Method Details
#name ⇒ Object
21 22 23 |
# File 'lib/rubeus/jdbc/primary_key.rb', line 21 def name column_name.send([:name_case] || :to_s) end |