struct CryStorage::DataType(T)

Defined in:

table.cr

Constant Summary

BigInt = DataType(Int64).new(12)
Boolean = DataType(Bool).new(1)
Byte = DataType(UInt8).new(2)
HugeInt = DataType(Int128).new(13)
Integer = DataType(Int32).new(11)
SmallInt = DataType(Int16).new(10)
Text = DataType(String).new(50)

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

tabulate(io)
tabulate
tabulate
, tap(&) tap

Constructor Detail

def self.new(value : Int32) #

[View source]

Class Method Detail

def self.from(value) #

[View source]
def self.from_io(io, format) #

[View source]

Instance Method Detail

def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
def ref_class #

[View source]
def to_io(io, format) #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def value #

[View source]