Class: Teradata::IntegerType
- Defined in:
- lib/teradata/connection.rb
Overview
4 byte signed integer
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
929 930 931 |
# File 'lib/teradata/connection.rb', line 929 def unmarshal(f) f.read(@length).unpack('l').first end |