Documentation
¶
Index ¶
- Constants
- func Handler(vs []*vector.Vector, proc *process.Process) (*vector.Vector, error)
- func MOLogDate(vectors []*vector.Vector, proc *process.Process) (*vector.Vector, error)
- func MoTableColMax(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)
- func MoTableColMin(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)
- func MoTableRows(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)
- func MoTableSize(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)
Constants ¶
View Source
const ZeroDate = "0001-01-01"
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler used to handle mo_debug SQL function. Format of the function: mo_debug('service name', 'command', 'command parameter') service name: [CN|DN|LOG|HAKEEPER] command: command in supportedCmds command parameter: the parameter of the command
func MOLogDate ¶ added in v0.7.0
MOLogDate parse 'YYYY/MM/DD' date from input string. return '0001-01-01' if input string not container 'YYYY/MM/DD' substr, until DateParse Function support return NULL for invalid date string.
func MoTableColMax ¶ added in v0.7.0
MoTableColMax return the max value of the column
func MoTableColMin ¶ added in v0.7.0
MoTableColMax return the max value of the column
func MoTableRows ¶ added in v0.7.0
MoTableRows returns an estimated row number of a table.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.