Documentation
¶
Index ¶
Constants ¶
View Source
const ( BOOLEAN = iota INTEGER DECIMAL REALNUMBER VARCHAR )
View Source
const INTEGER_SIZE = 8
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
type Boolean struct {
// contains filtered or unexported fields
}
func (*Boolean) Deserialize ¶
func (*Boolean) GetTypeName ¶
type Integer ¶
type Integer struct {
// contains filtered or unexported fields
}
func (*Integer) Deserialize ¶
func (*Integer) GetTypeName ¶
type Type ¶
type Type interface { GetTypeID() int8 GetTypeName() string GetSize() uint64 // size in number of bytes GetValue() interface{} SetValue(interface{}) Serialize() []byte Deserialize(b []byte) error }
func TypeFactory ¶
type Varchar ¶
type Varchar struct {
// contains filtered or unexported fields
}
func (*Varchar) Deserialize ¶
this seems tricky for now assuming that we will get the entire memory location with length and string might have to re-think the implementation later if the api becomes tedious to call
func (*Varchar) GetTypeName ¶
Click to show internal directories.
Click to hide internal directories.