Class: Teradata::FixStringType
- Defined in:
- lib/teradata/connection.rb
Overview
CHAR: fixed-length character string BYTE: fixed-length byte string
Instance Attribute Summary
Attributes inherited from FieldType
#format, #name, #title, #type_code, #type_name
Instance Method Summary collapse
Methods inherited from FieldType
code_names, codes, create, #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Teradata::FieldType
Instance Method Details
#unmarshal(f) ⇒ Object
885 886 887 |
# File 'lib/teradata/connection.rb', line 885 def unmarshal(f) @extractor.extract(f.read(@length)) end |