Class: OCI8::Metadata::Base
Overview
Abstract super class for Metadata classes.
Direct Known Subclasses
ArgBase, Collection, Column, Database, List, Package, ProcBase, Schema, Sequence, Synonym, Table, Type, TypeAttr, TypeMethod, Unknown, View
Instance Method Summary collapse
-
#inspect ⇒ Object
:nodoc:.
-
#obj_id ⇒ Object
object or schema ID.
-
#obj_name ⇒ Object
database name or object name in a schema.
-
#obj_schema ⇒ Object
schema name where the object is located.
-
#timestamp ⇒ Object
The timestamp of the object.
Instance Method Details
#inspect ⇒ Object
:nodoc:
263 264 265 |
# File 'lib/oci8/metadata.rb', line 263 def inspect # :nodoc: "#<#{self.class.name}:(#{obj_id}) #{obj_schema}.#{obj_name}>" end |
#obj_id ⇒ Object
object or schema ID
244 245 246 |
# File 'lib/oci8/metadata.rb', line 244 def obj_id __ub4(OCI_ATTR_OBJ_ID) end |
#obj_name ⇒ Object
database name or object name in a schema
249 250 251 |
# File 'lib/oci8/metadata.rb', line 249 def obj_name __text(OCI_ATTR_OBJ_NAME) end |
#obj_schema ⇒ Object
schema name where the object is located
254 255 256 |
# File 'lib/oci8/metadata.rb', line 254 def obj_schema __text(OCI_ATTR_OBJ_SCHEMA) end |
#timestamp ⇒ Object
The timestamp of the object
259 260 261 |
# File 'lib/oci8/metadata.rb', line 259 def __oradate(OCI_ATTR_TIMESTAMP) end |