class OCI8::Metadata::TypeAttr
-
OCI8::Metadata::Type#type_attrs
This is returned by:
Metadata for a type attribute.
def charset_form
def charset_form __charset_form end
def charset_id
def charset_id __ub2(OCI_ATTR_CHARSET_ID) end
def charset_name
def charset_name __charset_name(charset_id) end
def data_size
returned in bytes and not characters for strings and raws. It
The maximum size of the type attribute. This length is
def data_size __ub2_nc(OCI_ATTR_DATA_SIZE) end
def data_type
def data_type __data_type end
def fsprecision
The fractional seconds precision of a datetime or interval.
def fsprecision __ub1(OCI_ATTR_FSPRECISION) end
def inspect # :nodoc:
def inspect # :nodoc: "#<#{self.class.name}: #{name} #{__type_string}>" end
def lfprecision
The leading field precision of an interval
def lfprecision __ub1(OCI_ATTR_LFPRECISION) end
def name
def name __text(OCI_ATTR_NAME) end
def precision
NUMBER(precision, scale). For the case when precision is 0,
nonzero and scale is -127, then it is a FLOAT, else it is a
The precision of numeric type attributes. If the precision is
def precision __is_implicit? ? __sb2(OCI_ATTR_PRECISION) : __ub1(OCI_ATTR_PRECISION) end
def scale
NUMBER(precision, scale). For the case when precision is 0,
nonzero and scale is -127, then it is a FLOAT, else it is a
The scale of numeric type attributes. If the precision is
def scale __sb1(OCI_ATTR_SCALE) end
def schema_name
def schema_name __text(OCI_ATTR_SCHEMA_NAME) end
def type_metadata
def type_metadata __type_metadata(OCI8::Metadata::Type) end
def type_name
is :ref, the type name of the named datatype pointed
name of the named datatype's type is returned. If the datatype
or :ref. If the datatype is :named_type, the
contain the type name if the datatype is :named_type
A string which is the type name. The returned value will
def type_name __text(OCI_ATTR_TYPE_NAME) end
def typecode
def typecode __typecode(OCI_ATTR_TYPECODE) end