Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apecloud/myduckserver
/ types & classes
Types & classes
179 in github.com/apecloud/myduckserver
⨍
Functions
1,318
◇
Types & classes
179
↓ 1 callers
Class
MySQLTest
compatibility/mysql/python/mysql_test.py:3
↓ 1 callers
Class
PGTest
compatibility/pg/python/pg_test.py:3
Class
compatibility/mysql/node/mysql_test.js:4
Class
compatibility/mysql/node/mysql_test.js:52
Class
compatibility/pg/node/pg_test.js:4
Class
compatibility/pg/node/pg_test.js:50
TypeAlias
Action
This file handles SQL statements for managing PostgreSQL subscriptions. It supports: 1. Creating a subscription: CREATE SUBSCRIPTION mysub CONNECTION
pgserver/subscription_handler.go:33
Struct
AnnotatedDuckType
TODO(ysg): Refactor this implementation by using interface{} to represent a DuckDB type, and implement the interface{} type for each corresponding MyS
catalog/type_mapping.go:18
Struct
ArrowAppender
myarrow/appender.go:15
Struct
ArrowDataLoader
pgserver/arrowloader.go:17
Struct
ArrowWriter
pgserver/arrowwriter.go:17
Struct
BackupConfig
This file implements the logic for handling BACKUP SQL statements. Syntax: BACKUP DATABASE my_database TO '<uri>' ENDPOINT = '<endpoint>' ACCESS_KEY_
pgserver/backup_handler.go:28
Struct
Bucket
References: - S3 client: https://docs.aws.amazon.com/code-library/latest/ug/go_2_s3_code_examples.html - Transfer Manager: https://aws.github.i
storage/object_storage_client.go:17
Struct
ColumnInfo
catalog/table.go:36
Struct
Comment
catalog/comment.go:11
TypeAlias
CommitKind
binlogreplication/binlog_replica_applier.go:771
Struct
ConnectionDetails
ConnectionDetails holds parsed connection string components.
pgserver/subscription_handler.go:43
Struct
ConnectionHandler
ConnectionHandler is responsible for the entire lifecycle of a user connection: receiving messages they send, executing queries, sending the correct m
pgserver/connection_handler.go:47
Interface
ConnectionHolder
adapter/adapter.go:11
Struct
ConnectionPool
catalog/connpool.go:30
Struct
ConvertedStatement
ConvertedStatement represents a statement that has been converted from the Postgres representation to the Vitess representation. String may contain th
pgserver/connection_data.go:55
Struct
CopyToResult
pgserver/datawriter.go:21
Struct
CsvDataLoader
pgserver/dataloader.go:149
Interface
DataDirProvider
configuration/providers.go:3
Interface
DataLoader
DataLoader allows callers to insert rows from multiple chunks into a table. Rows encoded in each chunk will not necessarily end cleanly on a chunk bou
pgserver/dataloader.go:23
Interface
DataWriter
pgserver/datawriter.go:16
Struct
Database
catalog/database.go:17
Struct
DatabaseProvider
catalog/provider.go:23
Interface
DeltaAppender
binlogreplication/writer.go:19
Struct
DeltaAppender
delta/delta.go:20
Struct
DeltaController
delta/controller.go:31
Struct
DriverRowIter
DriverRowIter wraps a standard driver.Rows as a RowIter.
pgserver/iter.go:18
Struct
DuckBuilder
backend/executor.go:33
Struct
DuckDataWriter
pgserver/datawriter.go:26
Struct
DuckHandler
DuckHandler is a handler uses DuckDB and the SQLe engine directly running Postgres specific queries.
pgserver/duck_handler.go:82
Struct
DuckHarness
harness/duck_harness.go:46
Struct
DuckTestEngine
harness/duck_harness.go:286
Struct
EmptyTableEditor
catalog/table.go:481
TypeAlias
ErrorResponseSeverity
ErrorResponseSeverity represents the severity of an ErrorResponse message.
pgserver/connection_data.go:29
Struct
Execution
catalog/provider_test.go:12
Struct
Execution
pgserver/sess_params_test.go:14
Struct
ExtraTableInfo
catalog/table.go:29
TypeAlias
FlushReason
delta/flush_reason.go:3
Struct
FlushStats
delta/controller.go:25
Struct
FuncReplacementExecution
pgserver/in_place_handler_test.go:14
Interface
Handler
pgserver/handler.go:27
Struct
HardCodedQuery
pgserver/full_match_handler.go:29
Struct
InPlaceHandler
pgserver/in_place_handler.go:124
Struct
Index
catalog/index.go:5
FuncType
IndexDriverInitializer
func([]sql.Database) sql.IndexDriver
harness/duck_harness.go:44
Struct
IndexedTable
catalog/table.go:45
Struct
InternalMacro
catalog/internal_macro.go:17
Struct
InternalSchema
catalog/internal_schemas.go:3
Struct
InternalTable
catalog/internal_tables.go:5
Struct
InternalView
catalog/internal_views.go:3
Struct
Listener
Listener listens for connections to process PostgreSQL requests into Dolt requests.
pgserver/listener.go:36
FuncType
ListenerOpt
func(*Listener)
pgserver/listener.go:45
Struct
LoadDataResults
LoadDataResults contains the results of a load data operation, including the number of rows loaded.
pgserver/dataloader.go:44
Struct
LogicalReplicator
pgserver/logrepl/replication.go:48
Struct
MacroDefinition
catalog/internal_macro.go:5
Struct
MockServer
Mockup database server
flightsqltest/driver_test.go:1841
Struct
MyHandler
backend/handler.go:27
Struct
MySQLPersister
MySQLPersister is an example struct which handles the persistence of the data in the "mysql" database.
persist.go:30
Class
MySQLTest
compatibility/mysql/php/mysql_test.php:3
Class
MySQLTest
compatibility/mysql/ruby/mysql_test.rb:3
Class
MySQLTest
compatibility/mysql/csharp/MySQLTest.cs:7
Class
MySQLTest
compatibility/mysql/java/MySQLTest.java:6
Struct
MySQLType
catalog/type_mapping.go:31
Struct
NoopPlaintextPlugin
NoopPlaintextPlugin is used to authenticate plaintext user plugins
plugin/auth.go:10
Struct
ObjectStorageConfig
storage/object_storage.go:15
TypeAlias
OptionValueType
pgserver/copy.go:78
Class
PGTest
compatibility/pg/php/pg_test.php:3
Class
PGTest
compatibility/pg/ruby/pg_test.rb:3
Class
PGTest
compatibility/pg/csharp/PGTest.cs:7
Class
PGTest
compatibility/pg/java/PGTest.java:6
Struct
PSCurrentThreadID
myfunc/ps.go:9
Struct
Parameter
pgserver/pgconfig/parameters.go:60
TypeAlias
ParameterContext
ParameterContext sets level of difficulty of changing the parameter settings. For more detailed description on how to change the settings of specific
pgserver/pgconfig/parameters.go:168
TypeAlias
ParameterSource
ParameterSource sets the source of the current parameter value.
pgserver/pgconfig/parameters.go:182
Struct
PgsqlScope
PgsqlScope represents the scope of a PostgreSQL configuration parameter.
pgserver/pgconfig/parameters.go:198
TypeAlias
PgsqlScopeType
PgsqlScopeType represents the scope of a configuration parameter.
pgserver/pgconfig/parameters.go:249
Struct
PipeDataLoader
pgserver/dataloader.go:51
Struct
PortalData
pgserver/connection_data.go:105
Struct
PostgresType
pgtypes/pgtypes.go:381
Struct
PreparedStatementData
pgserver/connection_data.go:115
FuncType
QueryExecutor
QueryExecutor is a function that executes a query and returns the result as a schema and iterator. Either of |parsed| or |analyzed| can be nil dependi
pgserver/duck_handler.go:402
TypeAlias
QueryMode
pgserver/duck_handler.go:73
FuncType
QueryModifier
func(string) string
pgserver/query_modifier.go:5
Struct
QueryOriginKey
mycontext/keys.go:5
TypeAlias
QueryOriginKind
mycontext/keys.go:7
TypeAlias
ReadyForQueryTransactionIndicator
ReadyForQueryTransactionIndicator indicates the state of the transaction related to the query.
pgserver/connection_data.go:43
Struct
ReplicaOptions
ReplicaOptions holds the options for a replica server. https://dev.mysql.com/doc/refman/8.4/en/replication-options-replica.html
replica/options.go:10
Struct
ReplicationTest
pgserver/logrepl/replication_test.go:53
FuncType
RequestModifier
RequestModifier is a function type that transforms a query string
backend/request_modifier.go:6
Struct
RestoreConfig
This file implements the logic for handling RESTORE SQL statements. Syntax: RESTORE DATABASE my_database FROM '<uri>' ENDPOINT = '<endpoint>' ACCESS_
pgserver/restore_handler.go:26
Struct
Result
Result represents a query result.
pgserver/duck_handler.go:58
FuncType
ResultModifier
ResultModifier transforms a Result.
backend/result_modifier.go:8
Struct
Row
Row represents a single row value in bytes format. |val| represents array of a single row elements, which each element value is in byte array format.
pgserver/duck_handler.go:67
TypeAlias
RowEventType
binlog/events.go:16
TypeAlias
SASLBindingFlag
SASLBindingFlag are the flags for gs2-cbind-flag, used in SASL authentication.
pgserver/authentication_scram.go:65
next →
1–100 of 179, ranked by callers