class OCI8::Metadata::Table
-
{OCI8::Metadata::Schema#objects OCI8::Metadata::Schema#objects}
* {OCI8::Metadata::Schema#all_objects OCI8::Metadata::Schema#all_objects}
* {OCI8#describe_table OCI8#describe_table(name)}
* {OCI8#describe_any OCI8#describe_any(name)}
An instance of this class is returned by:
Information about tables
def clustered?
cluster[http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/schema.htm#CNCPT608].
Returns +true+ if the table is part of a
def clustered? attr_get_ub1(OCI_ATTR_CLUSTERED) != 0 end
def columns
-
(array of OCI8::Metadata::Column)
-
def columns @columns ||= list_columns.to_a end
def dba
-
(Integer)
-
def dba attr_get_ub4(OCI_ATTR_RDBA) end
def duration
-
(:transaction, :session or nil)
-
def duration __duration end
def index_only?
{index-organized table}[http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/schema.htm#i23877]
Returns +true+ if the table is an
def index_only? attr_get_ub1(OCI_ATTR_INDEX_ONLY) != 0 end
def is_temporary?
{temporary table}[http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/schema.htm#i16096].
Returns +true+ if the table is a
def is_temporary? attr_get_ub1(OCI_ATTR_IS_TEMPORARY) != 0 end
def is_typed?
def is_typed? attr_get_ub1(OCI_ATTR_IS_TYPED) != 0 end
def list_columns # :nodoc:
column list
def list_columns # :nodoc: __param(OCI_ATTR_LIST_COLUMNS) end
def num_cols
-
(Integer)
-
def num_cols attr_get_ub2(OCI_ATTR_NUM_COLS) end
def partitioned?
{partitioned table}[http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/partconc.htm#i449863].
Returns +true+ if the table is a
def partitioned? attr_get_ub1(OCI_ATTR_PARTITIONED) != 0 end
def tablespace
-
(Integer)
-
def tablespace __word(OCI_ATTR_TABLESPACE) end
def type_metadata
-
(OCI8::Metadata::Type or nil)
-
def type_metadata __type_metadata(OCI8::Metadata::Type) if is_typed? end