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 PostgresJSONCastSuffix string = "::json" 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>.*)$` ControlColumnCount int = 4 )
View Source
const ( SQLDataSourceSchemaPostgresInfo string = "pgi" SQLDataSourceSchemaDefault string = SQLDataSourceSchemaPostgresInfo )
View Source
const ( ReversalStreamAlias string = "reversal_stream" ReversalStreamID int64 = -1 )
View Source
const ( ReadCommittedStr = "read committed" RepeatableReadStr = "repeatable read" SerializableStr = "serializable" ReadUncommittedStr = "read uncommitted" )
View Source
const ( NopRollbackStr = "nop" EagerRollbackStr = "eager" )
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 IsolationLevel ¶
type IsolationLevel int
const ( ReadUncommitted IsolationLevel = iota ReadCommitted RepeatableRead Serializable )
Isolation levels.
type RollbackType ¶
type RollbackType int
const ( NopRollback RollbackType = iota EagerRollback )
Rollback algorithms.
Click to show internal directories.
Click to hide internal directories.