Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcreteIntParam ¶
type ConcreteIntParam int32
ConcreteIntParam represents a single integer concrete parameter for a concrete type Example: VARCHAR(6) -> 6 is an ConcreteIntParam DECIMAL<P, 0> --> 0 Is an ConcreteIntParam but P not
func (*ConcreteIntParam) IsCompatible ¶
func (m *ConcreteIntParam) IsCompatible(o IntegerParameter) bool
func (*ConcreteIntParam) String ¶
func (m *ConcreteIntParam) String() string
type IntegerParameter ¶
type IntegerParameter interface { // IsCompatible is type compatible with other // compatible is other can be used in place of this type IsCompatible(other IntegerParameter) bool fmt.Stringer }
IntegerParameter represents a parameter type parameter can of concrete (38) or abstract type (P) or another parameterized type like VARCHAR<"L1">
func NewConcreteIntParam ¶
func NewConcreteIntParam(v int32) IntegerParameter
func NewVariableIntParam ¶
func NewVariableIntParam(s string) IntegerParameter
type VariableIntParam ¶
type VariableIntParam string
VariableIntParam represents an integer parameter for a parameterized type Example: VARCHAR(L1) -> L1 is an VariableIntParam DECIMAL<P, 0> --> P Is an VariableIntParam
func (*VariableIntParam) GetAbstractParamName ¶
func (m *VariableIntParam) GetAbstractParamName() string
func (*VariableIntParam) IsCompatible ¶
func (m *VariableIntParam) IsCompatible(o IntegerParameter) bool
func (*VariableIntParam) String ¶
func (m *VariableIntParam) String() string
Click to show internal directories.
Click to hide internal directories.