constants

package
v0.0.2-alpha25 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnalyticsPrefix                    string = "stackql_analytics"
	AuthTypeDelimiter                  string = "::"
	AuthTypeSQLDataSourcePrefix        string = "sql_data_source"
	GoogleV1DiscoveryDoc               string = "https://www.googleapis.com/discovery/v1/apis"
	GoogleV1OperationURLPropertyString string = "selfLink"
	GoogleV1ProviderCacheName          string = "google_provider_v_0_3_7"

	ServiceAccountRevokeErrStr     string = `` /* 234-byte string literal not displayed */
	ServiceAccountPathErrStr       string = `[ERROR] credentialsfilepath not supplied or key file does not exist.`
	OAuthInteractiveAuthErrStr     string = `` /* 156-byte string literal not displayed */
	NotAuthenticatedShowStr        string = `[INFO] Not authenticated, use the AUTH command to authenticate to a provider.`
	JSONStr                        string = "json"
	TableStr                       string = "table"
	CSVStr                         string = "csv"
	TextStr                        string = "text"
	PostgresIDMaxWidth             int    = 63
	PrettyTextStr                  string = "pptext"
	DBEngineSQLite3Embedded        string = "sqlite3_embedded"
	DBEnginePostgresTCP            string = "postgres_tcp"
	DBEngineSnowflakeTCP           string = "snowflake_tcp"
	DBEngineDefault                string = DBEngineSQLite3Embedded
	SQLDialectSQLite3              string = "sqlite3"
	SQLDialectPostgres             string = "postgres"
	SQLDialectSnowflake            string = "snowflake"
	SQLDbNameSnowflake             string = "snowflake"
	SQLDialectDefault              string = SQLDialectSQLite3
	SQLFuncJSONExtractSQLite       string = "json_extract"
	SQLFuncJSONExtractPostgres     string = "json_extract_path_text"
	SQLFuncJSONExtractConformed    string = SQLFuncJSONExtractSQLite
	SQLFuncGroupConcatSQLite       string = "group_concat"
	SQLFuncGroupConcatPostgres     string = "string_agg"
	SQLFuncGroupConcatConformed    string = SQLFuncGroupConcatSQLite
	DefaulHTTPBodyFormat           string = JSONStr
	DefaultPrettyPrintBaseIndent   int    = 2
	DefaultPrettyPrintIndent       int    = 2
	DefaultQueryCacheSize          int    = 10000
	MaxDigits32BitUnsigned         int    = 10
	DefaultAnalyticsTemplateString string = "stackql_analytics_{{ .objectName }}"
	DefaultViewsTemplateString     string = "stackql_views.{{ .objectName }}"
	DefaultAnalyticsRegexpString   string = `^stackql_analytics_(?P<objectName>.*)$`
	DefaultViewsRegexpString       string = `^stackql_views\.(?P<objectName>.*)$`
)
View Source
const (
	SQLDataSourceSchemaPostgresInfo string = "pgi"
	SQLDataSourceSchemaDefault      string = SQLDataSourceSchemaPostgresInfo
)
View Source
const (
	LimitsIndirectMaxChainLength int = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendQueryType

type BackendQueryType int
const (
	BackendExec BackendQueryType = iota
	BackendQuery
	BackendNop
	BackendTableObject
)

type GCStatus

type GCStatus int
const (
	GCWhite GCStatus = iota
	GCBlack
	GCGrey
)

Jump to

Keyboard shortcuts

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