Class: OCI8::Metadata::Base
- Inherits:
-
Object
- Object
- OCI8::Metadata::Base
- Defined in:
- lib/oci8/metadata.rb
Overview
Abstract super class of Metadata classes.
Direct Known Subclasses
ArgBase, Collection, Column, Database, List, Package, Schema, Sequence, Subprogram, Synonym, Table, Type, TypeAttr, TypeMethod, Unknown, View
Instance Method Summary collapse
-
#obj_id ⇒ Integer or nil
Returns the object ID which corresponds to the data dictionary view column ALL_OBJECTS.OBJECT_ID.
-
#obj_link ⇒ String or nil
Returns the database link name if the object is at the remote host.
-
#obj_name ⇒ String or nil
Returns the object name which corresponds to the data dictionary view column ALL_OBJECTS.OBJECT_NAME.
-
#obj_schema ⇒ String or nil
Returns the schema name which corresponds to the data dictionary view column ALL_OBJECTS.OWNER.
Instance Method Details
#obj_id ⇒ Integer or nil
Returns the object ID which corresponds to the data dictionary view column ALL_OBJECTS.OBJECT_ID.
66 67 68 |
# File 'lib/oci8/metadata.rb', line 66 def obj_id attr_get_ub4(OCI_ATTR_OBJ_ID, false) end |
#obj_link ⇒ String or nil
Returns the database link name if the object is at the remote host. Note that this is available only when the object is returned by OCI8#describe_* methods.
97 98 99 |
# File 'lib/oci8/metadata.rb', line 97 def obj_link @obj_link end |
#obj_name ⇒ String or nil
Returns the object name which corresponds to the data dictionary view column ALL_OBJECTS.OBJECT_NAME.
73 74 75 |
# File 'lib/oci8/metadata.rb', line 73 def obj_name attr_get_string(OCI_ATTR_OBJ_NAME, false) end |
#obj_schema ⇒ String or nil
Returns the schema name which corresponds to the data dictionary view column ALL_OBJECTS.OWNER.
80 81 82 |
# File 'lib/oci8/metadata.rb', line 80 def obj_schema attr_get_string(OCI_ATTR_OBJ_SCHEMA, false) end |