constant

package
v0.0.0-...-b12d4e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonCallbackFrontendFail = "CallbackFrontendFail"
	ReasonSessionNotFound      = "SessionNotFound"
	ReasonSessionAbnormalQuit  = "SessionAbnormalQuit"
	ReasonSessionNormalQuit    = "SessionNormalQuit"
	ReasonInvalidRequest       = "InvalidRequest"
	ReasonInvalidRequestFormat = "InvalidRequestFormat"
	ReasonInvalidResponse      = "InvalidResponse"
	ReasonCallEngineFail       = "CallEngineFail"

	ActionNameSCDBQueryJobDone     = "SCDBQueryJobDone"
	ActionNameSCDBCallbackFrontend = "SCDBCallbackFrontend"
)
View Source
const (
	GMsm3Hash  = "GMSM3"
	Sha256Hash = "SHA256"
)
View Source
const (
	DefaultGroupByThreshold uint64 = 4
)
View Source
const (
	SecondsOneDay = 24 * 3600
)
View Source
const (
	StringElementPlaceHolder = `__null__`
)

Variables

View Source
var DateTimeTypeAlias = map[string]bool{"datetime": true}
View Source
var DoubleTypeAlias = map[string]bool{"double": true, "float64": true}
View Source
var FloatTypeAlias = map[string]bool{"float": true, "float32": true}
View Source
var IntegerTypeAlias = map[string]bool{"int32": true, "int64": true, "integer": true, "int": true}
View Source
var StringTypeAlias = map[string]bool{"string": true, "str": true}

NOTE: the type values are defined by DataType Enum in "api/v1/column.proto"

View Source
var TimeStampTypeAlias = map[string]bool{"timestamp": true}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL