{"modulePath":"github.com/matrixorigin/matrixone","version":"v1.2.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package memoryengine\n\n## Constants\n\n```go\nconst (\n\tLengthBytes = 4\n\tIDBytes     = 8\n)\n```\n\n```go\nconst (\n\tOpCreateDatabase = iota + 64\n\tOpOpenDatabase\n\tOpGetDatabases\n\tOpDeleteDatabase\n\tOpCreateRelation\n\tOpDeleteRelation\n\tOpTruncateRelation\n\tOpOpenRelation\n\tOpGetRelations\n\tOpAddTableDef\n\tOpDelTableDef\n\tOpDelete\n\tOpGetPrimaryKeys\n\tOpGetTableColumns\n\tOpGetTableDefs\n\tOpGetHiddenKeys\n\tOpUpdate\n\tOpWrite\n\tOpNewTableIter\n\tOpRead\n\tOpCloseTableIter\n\tOpTableStats\n\tOpPreCommit  = uint32(apipb.OpCode_OpPreCommit)\n\tOpGetLogTail = uint32(apipb.OpCode_OpGetLogTail)\n)\n```\n\n## Variables\n\n```go\nvar (\n\tErrInvalidLengthOperations        = fmt.Errorf(\"proto: negative length found during unmarshaling\")\n\tErrIntOverflowOperations          = fmt.Errorf(\"proto: integer overflow\")\n\tErrUnexpectedEndOfGroupOperations = fmt.Errorf(\"proto: unexpected end of group\")\n)\n```\n\n```go\nvar RandomIDGenerator = new(randomIDGenerator)\n```\n\n## Functions\n\n```go\nfunc DoTxnRequest[\n\tResp any, PResp interface {\n\t\t// anonymous constraint\n\t\tencoding.BinaryUnmarshaler\n\n\t\t*Resp\n\t},\n\tReq any, PReq interface {\n\t\t// anonymous constraint\n\t\tencoding.BinaryMarshaler\n\n\t\t*Req\n\t},\n](\n\tctx context.Context,\n\ttxnOperator client.TxnOperator,\n\tisRead bool,\n\tshardsFunc shardsFunc,\n\top uint32,\n\tpreq PReq,\n) (\n\tresps []Resp,\n\terr error,\n)\n```\n\n## Types\n\n```go\ntype AccessInfo struct {\n\tAccountID uint32\n\tUserID    uint32\n\tRoleID    uint32\n}\n```\n\n```go\nfunc (*AccessInfo) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AccessInfo) GetAccountID() uint32\n```\n\n```go\nfunc (m *AccessInfo) GetRoleID() uint32\n```\n\n```go\nfunc (m *AccessInfo) GetUserID() uint32\n```\n\n```go\nfunc (m *AccessInfo) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *AccessInfo) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *AccessInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*AccessInfo) ProtoMessage()\n```\n\n```go\nfunc (m *AccessInfo) ProtoSize() (n int)\n```\n\n```go\nfunc (m *AccessInfo) Reset()\n```\n\n```go\nfunc (m *AccessInfo) String() string\n```\n\n```go\nfunc (m *AccessInfo) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *AccessInfo) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AccessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *AccessInfo) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *AccessInfo) XXX_Size() int\n```\n\n```go\nfunc (m *AccessInfo) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AddTableDefReq struct {\n\tTableID ID\n\tDef     engine.TableDefPB\n\n\tDatabaseName string\n\tTableName    string\n}\n```\n\n```go\nfunc (*AddTableDefReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AddTableDefReq) GetDatabaseName() string\n```\n\n```go\nfunc (m *AddTableDefReq) GetTableID() ID\n```\n\n```go\nfunc (m *AddTableDefReq) GetTableName() string\n```\n\n```go\nfunc (m *AddTableDefReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *AddTableDefReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *AddTableDefReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *AddTableDefReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*AddTableDefReq) ProtoMessage()\n```\n\n```go\nfunc (m *AddTableDefReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *AddTableDefReq) Reset()\n```\n\n```go\nfunc (m *AddTableDefReq) String() string\n```\n\n```go\nfunc (m *AddTableDefReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *AddTableDefReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *AddTableDefReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AddTableDefReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *AddTableDefReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *AddTableDefReq) XXX_Size() int\n```\n\n```go\nfunc (m *AddTableDefReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype AddTableDefResp struct {\n}\n```\n\n```go\nfunc (*AddTableDefResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *AddTableDefResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *AddTableDefResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *AddTableDefResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *AddTableDefResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*AddTableDefResp) ProtoMessage()\n```\n\n```go\nfunc (m *AddTableDefResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *AddTableDefResp) Reset()\n```\n\n```go\nfunc (m *AddTableDefResp) String() string\n```\n\n```go\nfunc (m *AddTableDefResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *AddTableDefResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *AddTableDefResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *AddTableDefResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *AddTableDefResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *AddTableDefResp) XXX_Size() int\n```\n\n```go\nfunc (m *AddTableDefResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BindedEngine struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (b *BindedEngine) AllocateIDByKey(ctx context.Context, key string) (uint64, error)\n```\n\n```go\nfunc (b *BindedEngine) Commit(ctx context.Context, _ client.TxnOperator) error\n```\n\n```go\nfunc (b *BindedEngine) Create(ctx context.Context, databaseName string, _ client.TxnOperator) error\n```\n\n```go\nfunc (b *BindedEngine) Database(ctx context.Context, databaseName string, _ client.TxnOperator) (engine.Database, error)\n```\n\n```go\nfunc (b *BindedEngine) Databases(ctx context.Context, _ client.TxnOperator) (databaseNames []string, err error)\n```\n\n```go\nfunc (b *BindedEngine) Delete(ctx context.Context, databaseName string, _ client.TxnOperator) error\n```\n\n```go\nfunc (b *BindedEngine) GetNameById(ctx context.Context, op client.TxnOperator, tableId uint64) (dbName string, tblName string, err error)\n```\n\n```go\nfunc (b *BindedEngine) GetRelationById(ctx context.Context, op client.TxnOperator, tableId uint64) (dbName string, tblName string, rel engine.Relation, err error)\n```\n\n```go\nfunc (b *BindedEngine) Hints() engine.Hints\n```\n\n```go\nfunc (b *BindedEngine) New(ctx context.Context, _ client.TxnOperator) error\n```\n\n```go\nfunc (b *BindedEngine) NewBlockReader(_ context.Context, _ int, _ timestamp.Timestamp,\n\t_ *plan.Expr, filter any, _ []byte, _ *plan.TableDef, _ any) ([]engine.Reader, error)\n```\n\n```go\nfunc (b *BindedEngine) Nodes(isInternal bool, tenant string, username string, cnLabel map[string]string) (cnNodes engine.Nodes, err error)\n```\n\n```go\nfunc (b *BindedEngine) Rollback(ctx context.Context, _ client.TxnOperator) error\n```\n\n```go\nfunc (b *BindedEngine) Stats(ctx context.Context, key pb.StatsInfoKey, sync bool) *pb.StatsInfo\n```\n\n```go\nfunc (b *BindedEngine) TryToSubscribeTable(ctx context.Context, dbID, tbID uint64) error\n```\n\n```go\nfunc (b *BindedEngine) UnsubscribeTable(ctx context.Context, dbID, tbID uint64) error\n```\n\n```go\ntype CloseTableIterReq struct {\n\tIterID ID\n}\n```\n\n```go\nfunc (*CloseTableIterReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CloseTableIterReq) GetIterID() ID\n```\n\n```go\nfunc (m *CloseTableIterReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CloseTableIterReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *CloseTableIterReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *CloseTableIterReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CloseTableIterReq) ProtoMessage()\n```\n\n```go\nfunc (m *CloseTableIterReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *CloseTableIterReq) Reset()\n```\n\n```go\nfunc (m *CloseTableIterReq) String() string\n```\n\n```go\nfunc (m *CloseTableIterReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CloseTableIterReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *CloseTableIterReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CloseTableIterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CloseTableIterReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CloseTableIterReq) XXX_Size() int\n```\n\n```go\nfunc (m *CloseTableIterReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CloseTableIterResp struct {\n}\n```\n\n```go\nfunc (*CloseTableIterResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CloseTableIterResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CloseTableIterResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *CloseTableIterResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *CloseTableIterResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CloseTableIterResp) ProtoMessage()\n```\n\n```go\nfunc (m *CloseTableIterResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *CloseTableIterResp) Reset()\n```\n\n```go\nfunc (m *CloseTableIterResp) String() string\n```\n\n```go\nfunc (m *CloseTableIterResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CloseTableIterResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *CloseTableIterResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CloseTableIterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CloseTableIterResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CloseTableIterResp) XXX_Size() int\n```\n\n```go\nfunc (m *CloseTableIterResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CompilerContext struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (c *CompilerContext) CheckSubscriptionValid(subName, accName string, pubName string) error\n```\n\n```go\nfunc (c *CompilerContext) CheckTimeStampValid(ts int64) (bool, error)\n```\n\n```go\nfunc (c *CompilerContext) DatabaseExists(name string, snapshot plan.Snapshot) bool\n```\n\n```go\nfunc (c *CompilerContext) DefaultDatabase() string\n```\n\n```go\nfunc (c *CompilerContext) GetAccountId() (uint32, error)\n```\n\n```go\nfunc (c *CompilerContext) GetBuildingAlterView() (bool, string, string)\n```\n\n```go\nfunc (c *CompilerContext) GetContext() context.Context\n```\n\n```go\nfunc (c *CompilerContext) GetDatabaseId(dbName string, snapshot plan.Snapshot) (uint64, error)\n```\n\n```go\nfunc (c *CompilerContext) GetLowerCaseTableNames() int64\n```\n\n```go\nfunc (c *CompilerContext) GetPrimaryKeyDef(dbName string, tableName string, snapshot plan.Snapshot) (defs []*plan.ColDef)\n```\n\n```go\nfunc (c *CompilerContext) GetProcess() *process.Process\n```\n\n```go\nfunc (c *CompilerContext) GetQueryResultMeta(uuid string) ([]*plan.ColDef, string, error)\n```\n\n```go\nfunc (c *CompilerContext) GetQueryingSubscription() *plan.SubscriptionMeta\n```\n\n```go\nfunc (*CompilerContext) GetRootSql() string\n```\n\n```go\nfunc (c *CompilerContext) GetSnapshot() *plan.Snapshot\n```\n\n```go\nfunc (*CompilerContext) GetStatsCache() *plan.StatsCache\n```\n\n```go\nfunc (c *CompilerContext) GetSubscriptionMeta(dbName string, snapshot plan.Snapshot) (*plan.SubscriptionMeta, error)\n```\n\n```go\nfunc (*CompilerContext) GetUserName() string\n```\n\n```go\nfunc (c *CompilerContext) GetViews() []string\n```\n\n```go\nfunc (c *CompilerContext) IsPublishing(dbName string) (bool, error)\n```\n\n```go\nfunc (c *CompilerContext) ReplacePlan(execPlan *planpb.Execute) (*planpb.Plan, tree.Statement, error)\n```\n\n```go\nfunc (c *CompilerContext) Resolve(schemaName string, tableName string, snapshot plan.Snapshot) (objRef *plan.ObjectRef, tableDef *plan.TableDef)\n```\n\n```go\nfunc (c *CompilerContext) ResolveAccountIds(accountNames []string) ([]uint32, error)\n```\n\n```go\nfunc (c *CompilerContext) ResolveById(tableId uint64, snapshot plan.Snapshot) (objRef *plan.ObjectRef, tableDef *plan.TableDef)\n```\n\n```go\nfunc (c *CompilerContext) ResolveSnapshotWithSnapshotName(snapshotName string) (*plan.Snapshot, error)\n```\n\n```go\nfunc (c *CompilerContext) ResolveSubscriptionTableById(tableId uint64, pubmeta *plan.SubscriptionMeta) (*plan.ObjectRef, *plan.TableDef)\n```\n\n```go\nfunc (c *CompilerContext) ResolveUdf(name string, ast []*plan.Expr) (*function.Udf, error)\n```\n\n```go\nfunc (*CompilerContext) ResolveVariable(varName string, isSystemVar bool, isGlobalVar bool) (interface{}, error)\n```\n\n```go\nfunc (c *CompilerContext) SetBuildingAlterView(yesOrNo bool, dbName, viewName string)\n```\n\n```go\nfunc (c *CompilerContext) SetQueryingSubscription(meta *plan.SubscriptionMeta)\n```\n\n```go\nfunc (c *CompilerContext) SetSnapshot(snapshot *plan.Snapshot)\n```\n\n```go\nfunc (c *CompilerContext) SetViews(views []string)\n```\n\n```go\nfunc (*CompilerContext) Stats(obj *plan.ObjectRef, snapshot plan.Snapshot) (*pb.StatsInfo, error)\n```\n\n```go\ntype CreateDatabaseReq struct {\n\tID         ID\n\tAccessInfo AccessInfo\n\tName       string\n\tTyp        string\n\tCreateSql  string\n}\n```\n\n```go\nfunc (*CreateDatabaseReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CreateDatabaseReq) GetAccessInfo() AccessInfo\n```\n\n```go\nfunc (m *CreateDatabaseReq) GetID() ID\n```\n\n```go\nfunc (m *CreateDatabaseReq) GetName() string\n```\n\n```go\nfunc (m *CreateDatabaseReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CreateDatabaseReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *CreateDatabaseReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *CreateDatabaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CreateDatabaseReq) ProtoMessage()\n```\n\n```go\nfunc (m *CreateDatabaseReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *CreateDatabaseReq) Reset()\n```\n\n```go\nfunc (m *CreateDatabaseReq) String() string\n```\n\n```go\nfunc (m *CreateDatabaseReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CreateDatabaseReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *CreateDatabaseReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CreateDatabaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CreateDatabaseReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CreateDatabaseReq) XXX_Size() int\n```\n\n```go\nfunc (m *CreateDatabaseReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CreateDatabaseResp struct {\n\tID ID\n}\n```\n\n```go\nfunc (*CreateDatabaseResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CreateDatabaseResp) GetID() ID\n```\n\n```go\nfunc (m *CreateDatabaseResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CreateDatabaseResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *CreateDatabaseResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *CreateDatabaseResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CreateDatabaseResp) ProtoMessage()\n```\n\n```go\nfunc (m *CreateDatabaseResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *CreateDatabaseResp) Reset()\n```\n\n```go\nfunc (m *CreateDatabaseResp) String() string\n```\n\n```go\nfunc (m *CreateDatabaseResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CreateDatabaseResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *CreateDatabaseResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CreateDatabaseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CreateDatabaseResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CreateDatabaseResp) XXX_Size() int\n```\n\n```go\nfunc (m *CreateDatabaseResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CreateRelationReq struct {\n\tID           ID\n\tDatabaseID   ID\n\tDatabaseName string\n\tName         string\n\tType         RelationType\n\tDefs         []engine.TableDefPB\n}\n```\n\n```go\nfunc (*CreateRelationReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CreateRelationReq) GetDatabaseID() ID\n```\n\n```go\nfunc (m *CreateRelationReq) GetDatabaseName() string\n```\n\n```go\nfunc (m *CreateRelationReq) GetID() ID\n```\n\n```go\nfunc (m *CreateRelationReq) GetName() string\n```\n\n```go\nfunc (m *CreateRelationReq) GetType() RelationType\n```\n\n```go\nfunc (m *CreateRelationReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CreateRelationReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *CreateRelationReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *CreateRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CreateRelationReq) ProtoMessage()\n```\n\n```go\nfunc (m *CreateRelationReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *CreateRelationReq) Reset()\n```\n\n```go\nfunc (m *CreateRelationReq) String() string\n```\n\n```go\nfunc (m *CreateRelationReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CreateRelationReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *CreateRelationReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CreateRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CreateRelationReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CreateRelationReq) XXX_Size() int\n```\n\n```go\nfunc (m *CreateRelationReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CreateRelationResp struct {\n\tID ID\n}\n```\n\n```go\nfunc (*CreateRelationResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CreateRelationResp) GetID() ID\n```\n\n```go\nfunc (m *CreateRelationResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *CreateRelationResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *CreateRelationResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *CreateRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*CreateRelationResp) ProtoMessage()\n```\n\n```go\nfunc (m *CreateRelationResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *CreateRelationResp) Reset()\n```\n\n```go\nfunc (m *CreateRelationResp) String() string\n```\n\n```go\nfunc (m *CreateRelationResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *CreateRelationResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *CreateRelationResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CreateRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *CreateRelationResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CreateRelationResp) XXX_Size() int\n```\n\n```go\nfunc (m *CreateRelationResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Database struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (d *Database) Create(ctx context.Context, relName string, defs []engine.TableDef) error\n```\n\n```go\nfunc (d *Database) Delete(ctx context.Context, relName string) error\n```\n\n```go\nfunc (d *Database) GetCreateSql(ctx context.Context) string\n```\n\n```go\nfunc (d *Database) GetDatabaseId(ctx context.Context) string\n```\n\n```go\nfunc (d *Database) IsSubscription(ctx context.Context) bool\n```\n\n```go\nfunc (d *Database) Relation(ctx context.Context, relName string, _ any) (engine.Relation, error)\n```\n\n```go\nfunc (d *Database) Relations(ctx context.Context) ([]string, error)\n```\n\n```go\nfunc (d *Database) Truncate(ctx context.Context, relName string) (uint64, error)\n```\n\n```go\ntype DelTableDefReq struct {\n\tTableID      ID\n\tDatabaseName string\n\tTableName    string\n\tDef          engine.TableDefPB\n}\n```\n\n```go\nfunc (*DelTableDefReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DelTableDefReq) GetDatabaseName() string\n```\n\n```go\nfunc (m *DelTableDefReq) GetTableID() ID\n```\n\n```go\nfunc (m *DelTableDefReq) GetTableName() string\n```\n\n```go\nfunc (m *DelTableDefReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DelTableDefReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DelTableDefReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DelTableDefReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DelTableDefReq) ProtoMessage()\n```\n\n```go\nfunc (m *DelTableDefReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DelTableDefReq) Reset()\n```\n\n```go\nfunc (m *DelTableDefReq) String() string\n```\n\n```go\nfunc (m *DelTableDefReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DelTableDefReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DelTableDefReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DelTableDefReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DelTableDefReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DelTableDefReq) XXX_Size() int\n```\n\n```go\nfunc (m *DelTableDefReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DelTableDefResp struct {\n}\n```\n\n```go\nfunc (*DelTableDefResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DelTableDefResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DelTableDefResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DelTableDefResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DelTableDefResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DelTableDefResp) ProtoMessage()\n```\n\n```go\nfunc (m *DelTableDefResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DelTableDefResp) Reset()\n```\n\n```go\nfunc (m *DelTableDefResp) String() string\n```\n\n```go\nfunc (m *DelTableDefResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DelTableDefResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DelTableDefResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DelTableDefResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DelTableDefResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DelTableDefResp) XXX_Size() int\n```\n\n```go\nfunc (m *DelTableDefResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteDatabaseReq struct {\n\tAccessInfo AccessInfo\n\tName       string\n}\n```\n\n```go\nfunc (*DeleteDatabaseReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) GetAccessInfo() AccessInfo\n```\n\n```go\nfunc (m *DeleteDatabaseReq) GetName() string\n```\n\n```go\nfunc (m *DeleteDatabaseReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DeleteDatabaseReq) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteDatabaseReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) Reset()\n```\n\n```go\nfunc (m *DeleteDatabaseReq) String() string\n```\n\n```go\nfunc (m *DeleteDatabaseReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DeleteDatabaseReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DeleteDatabaseReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteDatabaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteDatabaseReq) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteDatabaseReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteDatabaseResp struct {\n\tID ID\n}\n```\n\n```go\nfunc (*DeleteDatabaseResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) GetID() ID\n```\n\n```go\nfunc (m *DeleteDatabaseResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DeleteDatabaseResp) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteDatabaseResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) Reset()\n```\n\n```go\nfunc (m *DeleteDatabaseResp) String() string\n```\n\n```go\nfunc (m *DeleteDatabaseResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DeleteDatabaseResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DeleteDatabaseResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteDatabaseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteDatabaseResp) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteDatabaseResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteRelationReq struct {\n\tDatabaseID   ID\n\tDatabaseName string\n\tName         string\n}\n```\n\n```go\nfunc (*DeleteRelationReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteRelationReq) GetDatabaseID() ID\n```\n\n```go\nfunc (m *DeleteRelationReq) GetDatabaseName() string\n```\n\n```go\nfunc (m *DeleteRelationReq) GetName() string\n```\n\n```go\nfunc (m *DeleteRelationReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DeleteRelationReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DeleteRelationReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DeleteRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DeleteRelationReq) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteRelationReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DeleteRelationReq) Reset()\n```\n\n```go\nfunc (m *DeleteRelationReq) String() string\n```\n\n```go\nfunc (m *DeleteRelationReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DeleteRelationReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DeleteRelationReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DeleteRelationReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteRelationReq) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteRelationReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteRelationResp struct {\n\tID ID\n}\n```\n\n```go\nfunc (*DeleteRelationResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteRelationResp) GetID() ID\n```\n\n```go\nfunc (m *DeleteRelationResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DeleteRelationResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DeleteRelationResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DeleteRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DeleteRelationResp) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteRelationResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DeleteRelationResp) Reset()\n```\n\n```go\nfunc (m *DeleteRelationResp) String() string\n```\n\n```go\nfunc (m *DeleteRelationResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DeleteRelationResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DeleteRelationResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DeleteRelationResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteRelationResp) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteRelationResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteReq struct {\n\tTableID      ID\n\tDatabaseName string\n\tTableName    string\n\tColumnName   string\n\tVector       *vector.Vector\n}\n```\n\n```go\nfunc (r *DeleteReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (r *DeleteReq) UnmarshalBinary(data []byte) error\n```\n\n```go\ntype DeleteResp struct {\n}\n```\n\n```go\nfunc (*DeleteResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *DeleteResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *DeleteResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *DeleteResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*DeleteResp) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *DeleteResp) Reset()\n```\n\n```go\nfunc (m *DeleteResp) String() string\n```\n\n```go\nfunc (m *DeleteResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *DeleteResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *DeleteResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *DeleteResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteResp) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Engine struct {\n\t// contains filtered or unexported fields\n}\n```\nEngine is an engine.Engine impl\n\n```go\nfunc New(\n\tctx context.Context,\n\tshardPolicy ShardPolicy,\n\tidGenerator IDGenerator,\n\tcluster clusterservice.MOCluster,\n) *Engine\n```\n\n```go\nfunc (e *Engine) AllocateIDByKey(ctx context.Context, key string) (uint64, error)\n```\n\n```go\nfunc (e *Engine) Bind(txnOp client.TxnOperator) *BindedEngine\n```\n\n```go\nfunc (e *Engine) Commit(_ context.Context, _ client.TxnOperator) error\n```\n\n```go\nfunc (e *Engine) Create(ctx context.Context, dbName string, txnOperator client.TxnOperator) error\n```\n\n```go\nfunc (e *Engine) Database(ctx context.Context, dbName string, txnOperator client.TxnOperator) (engine.Database, error)\n```\n\n```go\nfunc (e *Engine) Databases(ctx context.Context, txnOperator client.TxnOperator) ([]string, error)\n```\n\n```go\nfunc (e *Engine) Delete(ctx context.Context, dbName string, txnOperator client.TxnOperator) error\n```\n\n```go\nfunc (e *Engine) GetNameById(ctx context.Context, op client.TxnOperator, tableId uint64) (dbName string, tblName string, err error)\n```\n\n```go\nfunc (e *Engine) GetRelationById(ctx context.Context, op client.TxnOperator, tableId uint64) (dbName string, tblName string, rel engine.Relation, err error)\n```\n\n```go\nfunc (e *Engine) Hints() (h engine.Hints)\n```\n\n```go\nfunc (e *Engine) New(_ context.Context, _ client.TxnOperator) error\n```\n\n```go\nfunc (e *Engine) NewBlockReader(_ context.Context, _ int, _ timestamp.Timestamp,\n\t_ *plan.Expr, _ any, _ []byte, _ *plan.TableDef, _ any) ([]engine.Reader, error)\n```\n\n```go\nfunc (e *Engine) NewCompilerContext(\n\tctx context.Context,\n\tdefaultDB string,\n\ttxnOp client.TxnOperator,\n) *CompilerContext\n```\n\n```go\nfunc (e *Engine) Nodes(isInternal bool, tenant string, _ string, cnLabel map[string]string) (engine.Nodes, error)\n```\n\n```go\nfunc (e *Engine) Rollback(_ context.Context, _ client.TxnOperator) error\n```\n\n```go\nfunc (e *Engine) Stats(ctx context.Context, key pb.StatsInfoKey, sync bool) *pb.StatsInfo\n```\n\n```go\nfunc (e *Engine) TryToSubscribeTable(ctx context.Context, dbID, tbID uint64) error\n```\n\n```go\nfunc (e *Engine) UnsubscribeTable(ctx context.Context, dbID, tbID uint64) error\n```\n\n```go\ntype FallbackShard []ShardPolicy\n```\n\n```go\nfunc (f FallbackShard) Batch(\n\tctx context.Context,\n\ttableID ID,\n\tgetDefs func(context.Context) ([]engine.TableDef, error),\n\tbatch *batch.Batch,\n\tnodes []metadata.TNService) (sharded []*ShardedBatch, err error)\n```\n\n```go\nfunc (f FallbackShard) Vector(\n\tctx context.Context,\n\ttableID ID,\n\tgetDefs func(context.Context) ([]engine.TableDef, error),\n\tcolName string,\n\tvec *vector.Vector,\n\tnodes []metadata.TNService) (sharded []*ShardedVector, err error)\n```\n\n```go\ntype GetDatabasesReq struct {\n\tAccessInfo AccessInfo\n}\n```\n\n```go\nfunc (*GetDatabasesReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetDatabasesReq) GetAccessInfo() AccessInfo\n```\n\n```go\nfunc (m *GetDatabasesReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetDatabasesReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetDatabasesReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetDatabasesReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetDatabasesReq) ProtoMessage()\n```\n\n```go\nfunc (m *GetDatabasesReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetDatabasesReq) Reset()\n```\n\n```go\nfunc (m *GetDatabasesReq) String() string\n```\n\n```go\nfunc (m *GetDatabasesReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetDatabasesReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetDatabasesReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetDatabasesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetDatabasesReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetDatabasesReq) XXX_Size() int\n```\n\n```go\nfunc (m *GetDatabasesReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetDatabasesResp struct {\n\tNames []string\n}\n```\n\n```go\nfunc (*GetDatabasesResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetDatabasesResp) GetNames() []string\n```\n\n```go\nfunc (m *GetDatabasesResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetDatabasesResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetDatabasesResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetDatabasesResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetDatabasesResp) ProtoMessage()\n```\n\n```go\nfunc (m *GetDatabasesResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetDatabasesResp) Reset()\n```\n\n```go\nfunc (m *GetDatabasesResp) String() string\n```\n\n```go\nfunc (m *GetDatabasesResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetDatabasesResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetDatabasesResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetDatabasesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetDatabasesResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetDatabasesResp) XXX_Size() int\n```\n\n```go\nfunc (m *GetDatabasesResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetHiddenKeysReq struct {\n\tTableID ID\n}\n```\n\n```go\nfunc (*GetHiddenKeysReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) GetTableID() ID\n```\n\n```go\nfunc (m *GetHiddenKeysReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetHiddenKeysReq) ProtoMessage()\n```\n\n```go\nfunc (m *GetHiddenKeysReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) Reset()\n```\n\n```go\nfunc (m *GetHiddenKeysReq) String() string\n```\n\n```go\nfunc (m *GetHiddenKeysReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetHiddenKeysReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetHiddenKeysReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetHiddenKeysReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetHiddenKeysReq) XXX_Size() int\n```\n\n```go\nfunc (m *GetHiddenKeysReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetHiddenKeysResp struct {\n\tAttrs []engine.Attribute\n}\n```\n\n```go\nfunc (*GetHiddenKeysResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetHiddenKeysResp) ProtoMessage()\n```\n\n```go\nfunc (m *GetHiddenKeysResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) Reset()\n```\n\n```go\nfunc (m *GetHiddenKeysResp) String() string\n```\n\n```go\nfunc (m *GetHiddenKeysResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetHiddenKeysResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetHiddenKeysResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetHiddenKeysResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetHiddenKeysResp) XXX_Size() int\n```\n\n```go\nfunc (m *GetHiddenKeysResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetPrimaryKeysReq struct {\n\tTableID ID\n}\n```\n\n```go\nfunc (*GetPrimaryKeysReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) GetTableID() ID\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetPrimaryKeysReq) ProtoMessage()\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) Reset()\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) String() string\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) XXX_Size() int\n```\n\n```go\nfunc (m *GetPrimaryKeysReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetPrimaryKeysResp struct {\n\tAttrs []engine.Attribute\n}\n```\n\n```go\nfunc (*GetPrimaryKeysResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetPrimaryKeysResp) ProtoMessage()\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) Reset()\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) String() string\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) XXX_Size() int\n```\n\n```go\nfunc (m *GetPrimaryKeysResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetRelationsReq struct {\n\tDatabaseID ID\n}\n```\n\n```go\nfunc (*GetRelationsReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetRelationsReq) GetDatabaseID() ID\n```\n\n```go\nfunc (m *GetRelationsReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetRelationsReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetRelationsReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetRelationsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetRelationsReq) ProtoMessage()\n```\n\n```go\nfunc (m *GetRelationsReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetRelationsReq) Reset()\n```\n\n```go\nfunc (m *GetRelationsReq) String() string\n```\n\n```go\nfunc (m *GetRelationsReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetRelationsReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetRelationsReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetRelationsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetRelationsReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetRelationsReq) XXX_Size() int\n```\n\n```go\nfunc (m *GetRelationsReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetRelationsResp struct {\n\tNames []string\n}\n```\n\n```go\nfunc (*GetRelationsResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetRelationsResp) GetNames() []string\n```\n\n```go\nfunc (m *GetRelationsResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetRelationsResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetRelationsResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetRelationsResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetRelationsResp) ProtoMessage()\n```\n\n```go\nfunc (m *GetRelationsResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetRelationsResp) Reset()\n```\n\n```go\nfunc (m *GetRelationsResp) String() string\n```\n\n```go\nfunc (m *GetRelationsResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetRelationsResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetRelationsResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetRelationsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetRelationsResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetRelationsResp) XXX_Size() int\n```\n\n```go\nfunc (m *GetRelationsResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetTableColumnsReq struct {\n\tTableID ID\n}\n```\n\n```go\nfunc (*GetTableColumnsReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetTableColumnsReq) GetTableID() ID\n```\n\n```go\nfunc (m *GetTableColumnsReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetTableColumnsReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetTableColumnsReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetTableColumnsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetTableColumnsReq) ProtoMessage()\n```\n\n```go\nfunc (m *GetTableColumnsReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetTableColumnsReq) Reset()\n```\n\n```go\nfunc (m *GetTableColumnsReq) String() string\n```\n\n```go\nfunc (m *GetTableColumnsReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetTableColumnsReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetTableColumnsReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetTableColumnsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetTableColumnsReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetTableColumnsReq) XXX_Size() int\n```\n\n```go\nfunc (m *GetTableColumnsReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetTableColumnsResp struct {\n\tAttrs []engine.Attribute\n}\n```\n\n```go\nfunc (*GetTableColumnsResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetTableColumnsResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetTableColumnsResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetTableColumnsResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetTableColumnsResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetTableColumnsResp) ProtoMessage()\n```\n\n```go\nfunc (m *GetTableColumnsResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetTableColumnsResp) Reset()\n```\n\n```go\nfunc (m *GetTableColumnsResp) String() string\n```\n\n```go\nfunc (m *GetTableColumnsResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetTableColumnsResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetTableColumnsResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetTableColumnsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetTableColumnsResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetTableColumnsResp) XXX_Size() int\n```\n\n```go\nfunc (m *GetTableColumnsResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetTableDefsReq struct {\n\tTableID ID\n}\n```\n\n```go\nfunc (*GetTableDefsReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetTableDefsReq) GetTableID() ID\n```\n\n```go\nfunc (m *GetTableDefsReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetTableDefsReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetTableDefsReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetTableDefsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetTableDefsReq) ProtoMessage()\n```\n\n```go\nfunc (m *GetTableDefsReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetTableDefsReq) Reset()\n```\n\n```go\nfunc (m *GetTableDefsReq) String() string\n```\n\n```go\nfunc (m *GetTableDefsReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetTableDefsReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetTableDefsReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetTableDefsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetTableDefsReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetTableDefsReq) XXX_Size() int\n```\n\n```go\nfunc (m *GetTableDefsReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetTableDefsResp struct {\n\tDefs []engine.TableDefPB\n}\n```\n\n```go\nfunc (*GetTableDefsResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetTableDefsResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *GetTableDefsResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *GetTableDefsResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *GetTableDefsResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*GetTableDefsResp) ProtoMessage()\n```\n\n```go\nfunc (m *GetTableDefsResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *GetTableDefsResp) Reset()\n```\n\n```go\nfunc (m *GetTableDefsResp) String() string\n```\n\n```go\nfunc (m *GetTableDefsResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *GetTableDefsResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *GetTableDefsResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetTableDefsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *GetTableDefsResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetTableDefsResp) XXX_Size() int\n```\n\n```go\nfunc (m *GetTableDefsResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype HakeeperIDGenerator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewHakeeperIDGenerator(\n\tgenerator hakeeperIDGenerator,\n) *HakeeperIDGenerator\n```\n\n```go\nfunc (h *HakeeperIDGenerator) NewID(ctx context.Context) (ID, error)\n```\n\n```go\nfunc (h *HakeeperIDGenerator) NewIDByKey(ctx context.Context, key string) (ID, error)\n```\n\n```go\ntype HashShard struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewHashShard(mp *mpool.MPool) *HashShard\n```\n\n```go\nfunc (*HashShard) Batch(\n\tctx context.Context,\n\ttableID ID,\n\tgetDefs getDefsFunc,\n\tbat *batch.Batch,\n\tnodes []metadata.TNService,\n) (\n\tsharded []*ShardedBatch,\n\terr error,\n)\n```\n\n```go\nfunc (h *HashShard) Vector(\n\tctx context.Context,\n\ttableID ID,\n\tgetDefs getDefsFunc,\n\tcolName string,\n\tvec *vector.Vector,\n\tnodes []metadata.TNService,\n) (\n\tsharded []*ShardedVector,\n\terr error,\n)\n```\n\n```go\ntype ID uint64\n```\n\n```go\nfunc (i ID) IsEmpty() bool\n```\n\n```go\nfunc (i ID) Less(than ID) bool\n```\n\n```go\nfunc (i ID) ToRowID() types.Rowid\n```\n\n```go\ntype IDGenerator interface {\n\tNewID(context.Context) (ID, error)\n\tNewIDByKey(ctx context.Context, key string) (ID, error)\n}\n```\n\n```go\ntype IterInfo struct {\n\tShard  Shard\n\tIterID ID\n}\n```\n\n```go\ntype NewTableIterReq struct {\n\tTableID ID\n\tExpr    *plan.Expr\n}\n```\n\n```go\nfunc (*NewTableIterReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *NewTableIterReq) GetExpr() *plan.Expr\n```\n\n```go\nfunc (m *NewTableIterReq) GetTableID() ID\n```\n\n```go\nfunc (m *NewTableIterReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *NewTableIterReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *NewTableIterReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *NewTableIterReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*NewTableIterReq) ProtoMessage()\n```\n\n```go\nfunc (m *NewTableIterReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *NewTableIterReq) Reset()\n```\n\n```go\nfunc (m *NewTableIterReq) String() string\n```\n\n```go\nfunc (m *NewTableIterReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *NewTableIterReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *NewTableIterReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *NewTableIterReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *NewTableIterReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *NewTableIterReq) XXX_Size() int\n```\n\n```go\nfunc (m *NewTableIterReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype NewTableIterResp struct {\n\tIterID ID\n}\n```\n\n```go\nfunc (*NewTableIterResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *NewTableIterResp) GetIterID() ID\n```\n\n```go\nfunc (m *NewTableIterResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *NewTableIterResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *NewTableIterResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *NewTableIterResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*NewTableIterResp) ProtoMessage()\n```\n\n```go\nfunc (m *NewTableIterResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *NewTableIterResp) Reset()\n```\n\n```go\nfunc (m *NewTableIterResp) String() string\n```\n\n```go\nfunc (m *NewTableIterResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *NewTableIterResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *NewTableIterResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *NewTableIterResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *NewTableIterResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *NewTableIterResp) XXX_Size() int\n```\n\n```go\nfunc (m *NewTableIterResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype NoShard struct {\n\t// contains filtered or unexported fields\n}\n```\nNoShard doesn't do sharding at all\n\n```go\nfunc (s *NoShard) Batch(\n\tctx context.Context,\n\ttableID ID,\n\tgetDefs getDefsFunc,\n\tbat *batch.Batch,\n\tnodes []metadata.TNService,\n) (\n\tsharded []*ShardedBatch,\n\terr error,\n)\n```\n\n```go\nfunc (s *NoShard) Vector(\n\tctx context.Context,\n\ttableID ID,\n\tgetDefs getDefsFunc,\n\tcolName string,\n\tvec *vector.Vector,\n\tnodes []metadata.TNService,\n) (\n\tsharded []*ShardedVector,\n\terr error,\n)\n```\n\n```go\ntype Nullable struct {\n\tIsNull bool\n\tValue  any\n}\n```\n\n```go\ntype OpenDatabaseReq struct {\n\tAccessInfo AccessInfo\n\tName       string\n}\n```\n\n```go\nfunc (*OpenDatabaseReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OpenDatabaseReq) GetAccessInfo() AccessInfo\n```\n\n```go\nfunc (m *OpenDatabaseReq) GetName() string\n```\n\n```go\nfunc (m *OpenDatabaseReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *OpenDatabaseReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *OpenDatabaseReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *OpenDatabaseReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*OpenDatabaseReq) ProtoMessage()\n```\n\n```go\nfunc (m *OpenDatabaseReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *OpenDatabaseReq) Reset()\n```\n\n```go\nfunc (m *OpenDatabaseReq) String() string\n```\n\n```go\nfunc (m *OpenDatabaseReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *OpenDatabaseReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *OpenDatabaseReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OpenDatabaseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *OpenDatabaseReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *OpenDatabaseReq) XXX_Size() int\n```\n\n```go\nfunc (m *OpenDatabaseReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OpenDatabaseResp struct {\n\tID        ID\n\tName      string\n\tDatTyp    string\n\tCreateSql string\n}\n```\n\n```go\nfunc (*OpenDatabaseResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OpenDatabaseResp) GetID() ID\n```\n\n```go\nfunc (m *OpenDatabaseResp) GetName() string\n```\n\n```go\nfunc (m *OpenDatabaseResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *OpenDatabaseResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *OpenDatabaseResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *OpenDatabaseResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*OpenDatabaseResp) ProtoMessage()\n```\n\n```go\nfunc (m *OpenDatabaseResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *OpenDatabaseResp) Reset()\n```\n\n```go\nfunc (m *OpenDatabaseResp) String() string\n```\n\n```go\nfunc (m *OpenDatabaseResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *OpenDatabaseResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *OpenDatabaseResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OpenDatabaseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *OpenDatabaseResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *OpenDatabaseResp) XXX_Size() int\n```\n\n```go\nfunc (m *OpenDatabaseResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OpenRelationReq struct {\n\tDatabaseID   ID\n\tDatabaseName string\n\tName         string\n}\n```\n\n```go\nfunc (*OpenRelationReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OpenRelationReq) GetDatabaseID() ID\n```\n\n```go\nfunc (m *OpenRelationReq) GetDatabaseName() string\n```\n\n```go\nfunc (m *OpenRelationReq) GetName() string\n```\n\n```go\nfunc (m *OpenRelationReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *OpenRelationReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *OpenRelationReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *OpenRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*OpenRelationReq) ProtoMessage()\n```\n\n```go\nfunc (m *OpenRelationReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *OpenRelationReq) Reset()\n```\n\n```go\nfunc (m *OpenRelationReq) String() string\n```\n\n```go\nfunc (m *OpenRelationReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *OpenRelationReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *OpenRelationReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OpenRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *OpenRelationReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *OpenRelationReq) XXX_Size() int\n```\n\n```go\nfunc (m *OpenRelationReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OpenRelationResp struct {\n\tID           ID\n\tType         RelationType\n\tDatabaseName string\n\tRelationName string\n}\n```\n\n```go\nfunc (*OpenRelationResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OpenRelationResp) GetDatabaseName() string\n```\n\n```go\nfunc (m *OpenRelationResp) GetID() ID\n```\n\n```go\nfunc (m *OpenRelationResp) GetRelationName() string\n```\n\n```go\nfunc (m *OpenRelationResp) GetType() RelationType\n```\n\n```go\nfunc (m *OpenRelationResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *OpenRelationResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *OpenRelationResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *OpenRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*OpenRelationResp) ProtoMessage()\n```\n\n```go\nfunc (m *OpenRelationResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *OpenRelationResp) Reset()\n```\n\n```go\nfunc (m *OpenRelationResp) String() string\n```\n\n```go\nfunc (m *OpenRelationResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *OpenRelationResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *OpenRelationResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OpenRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *OpenRelationResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *OpenRelationResp) XXX_Size() int\n```\n\n```go\nfunc (m *OpenRelationResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OperationHandler interface {\n\tHandleOpenDatabase(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *OpenDatabaseReq,\n\t\tresp *OpenDatabaseResp,\n\t) error\n\n\tHandleGetDatabases(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *GetDatabasesReq,\n\t\tresp *GetDatabasesResp,\n\t) error\n\n\tHandleOpenRelation(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *OpenRelationReq,\n\t\tresp *OpenRelationResp,\n\t) error\n\n\tHandleGetRelations(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *GetRelationsReq,\n\t\tresp *GetRelationsResp,\n\t) error\n\n\tHandleGetPrimaryKeys(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *GetPrimaryKeysReq,\n\t\tresp *GetPrimaryKeysResp,\n\t) error\n\n\tHandleGetTableColumns(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *GetTableColumnsReq,\n\t\tresp *GetTableColumnsResp,\n\t) error\n\n\tHandleGetTableDefs(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *GetTableDefsReq,\n\t\tresp *GetTableDefsResp,\n\t) error\n\n\tHandleGetHiddenKeys(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *GetHiddenKeysReq,\n\t\tresp *GetHiddenKeysResp,\n\t) error\n\n\tHandleNewTableIter(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *NewTableIterReq,\n\t\tresp *NewTableIterResp,\n\t) error\n\n\tHandleRead(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *ReadReq,\n\t\tresp *ReadResp,\n\t) error\n\n\tHandleCloseTableIter(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *CloseTableIterReq,\n\t\tresp *CloseTableIterResp,\n\t) error\n\n\tHandleCreateDatabase(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *CreateDatabaseReq,\n\t\tresp *CreateDatabaseResp,\n\t) error\n\n\tHandleDeleteDatabase(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *DeleteDatabaseReq,\n\t\tresp *DeleteDatabaseResp,\n\t) error\n\n\tHandleCreateRelation(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *CreateRelationReq,\n\t\tresp *CreateRelationResp,\n\t) error\n\n\tHandleDeleteRelation(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *DeleteRelationReq,\n\t\tresp *DeleteRelationResp,\n\t) error\n\n\tHandleTruncateRelation(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *TruncateRelationReq,\n\t\tresp *TruncateRelationResp,\n\t) error\n\n\tHandleAddTableDef(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *AddTableDefReq,\n\t\tresp *AddTableDefResp,\n\t) error\n\n\tHandleDelTableDef(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *DelTableDefReq,\n\t\tresp *DelTableDefResp,\n\t) error\n\n\tHandleDelete(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *DeleteReq,\n\t\tresp *DeleteResp,\n\t) error\n\n\tHandleUpdate(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *UpdateReq,\n\t\tresp *UpdateResp,\n\t) error\n\n\tHandleWrite(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *WriteReq,\n\t\tresp *WriteResp,\n\t) error\n\n\tHandleTableStats(\n\t\tctx context.Context,\n\t\tmeta txn.TxnMeta,\n\t\treq *TableStatsReq,\n\t\tresp *TableStatsResp,\n\t) error\n}\n```\n\n```go\ntype OperationHandlerProvider interface {\n\tGetOperationHandler(shard Shard) (OperationHandler, txn.TxnMeta)\n}\n```\n\n```go\ntype ReadReq struct {\n\tIterID   ID\n\tColNames []string\n}\n```\n\n```go\nfunc (*ReadReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ReadReq) GetColNames() []string\n```\n\n```go\nfunc (m *ReadReq) GetIterID() ID\n```\n\n```go\nfunc (m *ReadReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *ReadReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *ReadReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *ReadReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*ReadReq) ProtoMessage()\n```\n\n```go\nfunc (m *ReadReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *ReadReq) Reset()\n```\n\n```go\nfunc (m *ReadReq) String() string\n```\n\n```go\nfunc (m *ReadReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *ReadReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *ReadReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ReadReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *ReadReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ReadReq) XXX_Size() int\n```\n\n```go\nfunc (m *ReadReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ReadRequest interface {\n\tOpenDatabaseReq |\n\t\tGetDatabasesReq |\n\t\tOpenRelationReq |\n\t\tGetRelationsReq |\n\t\tGetPrimaryKeysReq |\n\t\tGetTableColumnsReq |\n\t\tGetTableDefsReq |\n\t\tGetHiddenKeysReq |\n\t\tNewTableIterReq |\n\t\tReadReq |\n\t\tCloseTableIterReq |\n\t\tTableStatsReq |\n\t\tapipb.SyncLogTailReq\n}\n```\n\n```go\ntype ReadResp struct {\n\tBatch *batch.Batch\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (r *ReadResp) Close() error\n```\n\n```go\nfunc (r *ReadResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (r *ReadResp) SetHeap(mp *mpool.MPool)\n```\n\n```go\nfunc (r *ReadResp) UnmarshalBinary(data []byte) error\n```\n\n```go\ntype RelationType uint8\n```\n\n```go\nconst (\n\tRelationTable RelationType = iota + 1\n\tRelationView\n)\n```\n\n```go\ntype Request interface {\n\tReadRequest | WriteReqeust\n}\n```\n\n```go\ntype Response interface {\n\tCreateDatabaseResp |\n\t\tOpenDatabaseResp |\n\t\tGetDatabasesResp |\n\t\tDeleteDatabaseResp |\n\t\tCreateRelationResp |\n\t\tDeleteRelationResp |\n\t\tTruncateRelationResp |\n\t\tOpenRelationResp |\n\t\tGetRelationsResp |\n\t\tAddTableDefResp |\n\t\tDelTableDefResp |\n\t\tDeleteResp |\n\t\tGetPrimaryKeysResp |\n\t\tGetTableColumnsResp |\n\t\tGetTableDefsResp |\n\t\tGetHiddenKeysResp |\n\t\tUpdateResp |\n\t\tWriteResp |\n\t\tNewTableIterResp |\n\t\tReadResp |\n\t\tCloseTableIterResp |\n\t\tTableStatsResp |\n\t\tapipb.SyncLogTailResp\n}\n```\n\n```go\ntype Shard = metadata.TNShard\n```\n\n```go\ntype ShardIdSlice []byte\n```\n\n```go\nfunc (s *ShardIdSlice) Append(bs []byte)\n```\n\n```go\nfunc (s *ShardIdSlice) Get(i int) uint64\n```\n\n```go\nfunc (s *ShardIdSlice) GetAllBytes() []byte\n```\n\n```go\nfunc (s *ShardIdSlice) GetBytes(i int) []byte\n```\n\n```go\nfunc (s *ShardIdSlice) Len() int\n```\n\n```go\nfunc (s *ShardIdSlice) SetBytes(bs []byte)\n```\n\n```go\nfunc (s *ShardIdSlice) Size() int\n```\n\n```go\nfunc (s *ShardIdSlice) Slice(i, j int) []byte\n```\n\n```go\ntype ShardPolicy interface {\n\tVector(\n\t\tctx context.Context,\n\t\ttableID ID,\n\t\tgetDefs getDefsFunc,\n\t\tcolName string,\n\t\tvec *vector.Vector,\n\t\tnodes []metadata.TNService,\n\t) (\n\t\tsharded []*ShardedVector,\n\t\terr error,\n\t)\n\n\tBatch(\n\t\tctx context.Context,\n\t\ttableID ID,\n\t\tgetDefs getDefsFunc,\n\t\tbatch *batch.Batch,\n\t\tnodes []metadata.TNService,\n\t) (\n\t\tsharded []*ShardedBatch,\n\t\terr error,\n\t)\n}\n```\n\n```go\nfunc NewDefaultShardPolicy(mp *mpool.MPool) ShardPolicy\n```\n\n```go\ntype ShardedBatch struct {\n\tShard Shard\n\tBatch *batch.Batch\n}\n```\n\n```go\ntype ShardedVector struct {\n\tShard  Shard\n\tVector *vector.Vector\n}\n```\n\n```go\ntype Table struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (t *Table) AddTableDef(ctx context.Context, def engine.TableDef) error\n```\n\n```go\nfunc (t *Table) AlterTable(ctx context.Context, c *engine.ConstraintDef, constraint [][]byte) error\n```\n\n```go\nfunc (t *Table) ApproxObjectsNum(ctx context.Context) int\n```\n\n```go\nfunc (t *Table) CopyTableDef(ctx context.Context) *plan.TableDef\n```\n\n```go\nfunc (t *Table) DelTableDef(ctx context.Context, def engine.TableDef) error\n```\n\n```go\nfunc (t *Table) Delete(ctx context.Context, bat *batch.Batch, colName string) error\n```\n\n```go\nfunc (t *Table) GetColumMetadataScanInfo(ctx context.Context, name string) ([]*plan.MetadataScanInfo, error)\n```\n\n```go\nfunc (t *Table) GetDBID(ctx context.Context) uint64\n```\n\n```go\nfunc (t *Table) GetEngineType() engine.EngineType\n```\n\n```go\nfunc (*Table) GetHideKey() *engine.Attribute\n```\n\n```go\nfunc (t *Table) GetHideKeys(ctx context.Context) ([]*engine.Attribute, error)\n```\n\n```go\nfunc (t *Table) GetLogTail(\n\tctx context.Context,\n\tfrom *timestamp.Timestamp,\n\tto *timestamp.Timestamp,\n\ttargetShard Shard,\n) (\n\tresp *apipb.SyncLogTailResp,\n\terr error,\n)\n```\n\n```go\nfunc (*Table) GetPriKeyOrHideKey() ([]engine.Attribute, bool)\n```\n\n```go\nfunc (t *Table) GetPrimaryKeys(ctx context.Context) ([]*engine.Attribute, error)\n```\n\n```go\nfunc (t *Table) GetTableDef(ctx context.Context) *plan.TableDef\n```\n\n```go\nfunc (t *Table) GetTableID(ctx context.Context) uint64\n```\n\n```go\nfunc (t *Table) GetTableName() string\n```\nGetTableName implements the engine.Relation interface.\n\n```go\nfunc (t *Table) MaxAndMinValues(ctx context.Context) ([][2]any, []uint8, error)\n```\n\n```go\nfunc (t *Table) MergeObjects(ctx context.Context, objstats []objectio.ObjectStats, policyName string, targetObjSize uint32) (*api.MergeCommitEntry, error)\n```\n\n```go\nfunc (t *Table) NewReader(ctx context.Context, parallel int, expr *plan.Expr, bytes []byte, _ bool, txnOffset int) (readers []engine.Reader, err error)\n```\n\n```go\nfunc (t *Table) PrimaryKeysMayBeModified(ctx context.Context, from types.TS, to types.TS, keyVector *vector.Vector) (bool, error)\n```\n\n```go\nfunc (t *Table) Ranges(_ context.Context, _ []*plan.Expr, _ int) (engine.Ranges, error)\n```\n\n```go\nfunc (t *Table) Rows(ctx context.Context) (uint64, error)\n```\n\n```go\nfunc (t *Table) Size(ctx context.Context, columnName string) (uint64, error)\n```\n\n```go\nfunc (t *Table) Stats(ctx context.Context, sync bool) (*pb.StatsInfo, error)\n```\n\n```go\nfunc (t *Table) TableColumns(ctx context.Context) ([]*engine.Attribute, error)\n```\n\n```go\nfunc (t *Table) TableDefs(ctx context.Context) ([]engine.TableDef, error)\n```\n\n```go\nfunc (t *Table) TableRenameInTxn(ctx context.Context, constraint [][]byte) error\n```\n\n```go\nfunc (t *Table) Update(ctx context.Context, data *batch.Batch) error\n```\n\n```go\nfunc (t *Table) UpdateConstraint(context.Context, *engine.ConstraintDef) error\n```\n\n```go\nfunc (t *Table) Write(ctx context.Context, data *batch.Batch) error\n```\n\n```go\ntype TableReader struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (t *TableReader) Close() error\n```\n\n```go\nfunc (t *TableReader) GetOrderBy() []*plan.OrderBySpec\n```\n\n```go\nfunc (t *TableReader) Read(ctx context.Context, colNames []string, plan *plan.Expr, mp *mpool.MPool, _ engine.VectorPool) (*batch.Batch, error)\n```\n\n```go\nfunc (t *TableReader) SetFilterZM(objectio.ZoneMap)\n```\n\n```go\nfunc (t *TableReader) SetOrderBy([]*plan.OrderBySpec)\n```\n\n```go\ntype TableStatsReq struct {\n\tTableID ID\n}\n```\n\n```go\nfunc (*TableStatsReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TableStatsReq) GetTableID() ID\n```\n\n```go\nfunc (m *TableStatsReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TableStatsReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *TableStatsReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TableStatsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TableStatsReq) ProtoMessage()\n```\n\n```go\nfunc (m *TableStatsReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *TableStatsReq) Reset()\n```\n\n```go\nfunc (m *TableStatsReq) String() string\n```\n\n```go\nfunc (m *TableStatsReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TableStatsReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *TableStatsReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TableStatsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TableStatsReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TableStatsReq) XXX_Size() int\n```\n\n```go\nfunc (m *TableStatsReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TableStatsResp struct {\n\tRows int\n}\n```\n\n```go\nfunc (*TableStatsResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TableStatsResp) GetRows() int\n```\n\n```go\nfunc (m *TableStatsResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TableStatsResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *TableStatsResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TableStatsResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TableStatsResp) ProtoMessage()\n```\n\n```go\nfunc (m *TableStatsResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *TableStatsResp) Reset()\n```\n\n```go\nfunc (m *TableStatsResp) String() string\n```\n\n```go\nfunc (m *TableStatsResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TableStatsResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *TableStatsResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TableStatsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TableStatsResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TableStatsResp) XXX_Size() int\n```\n\n```go\nfunc (m *TableStatsResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TruncateRelationReq struct {\n\tNewTableID   ID\n\tOldTableID   ID\n\tDatabaseID   ID\n\tDatabaseName string\n\tName         string\n}\n```\n\n```go\nfunc (*TruncateRelationReq) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TruncateRelationReq) GetDatabaseID() ID\n```\n\n```go\nfunc (m *TruncateRelationReq) GetDatabaseName() string\n```\n\n```go\nfunc (m *TruncateRelationReq) GetName() string\n```\n\n```go\nfunc (m *TruncateRelationReq) GetNewTableID() ID\n```\n\n```go\nfunc (m *TruncateRelationReq) GetOldTableID() ID\n```\n\n```go\nfunc (m *TruncateRelationReq) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TruncateRelationReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *TruncateRelationReq) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TruncateRelationReq) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TruncateRelationReq) ProtoMessage()\n```\n\n```go\nfunc (m *TruncateRelationReq) ProtoSize() (n int)\n```\n\n```go\nfunc (m *TruncateRelationReq) Reset()\n```\n\n```go\nfunc (m *TruncateRelationReq) String() string\n```\n\n```go\nfunc (m *TruncateRelationReq) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TruncateRelationReq) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *TruncateRelationReq) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TruncateRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TruncateRelationReq) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TruncateRelationReq) XXX_Size() int\n```\n\n```go\nfunc (m *TruncateRelationReq) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype TruncateRelationResp struct {\n\tID ID\n}\n```\n\n```go\nfunc (*TruncateRelationResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *TruncateRelationResp) GetID() ID\n```\n\n```go\nfunc (m *TruncateRelationResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *TruncateRelationResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *TruncateRelationResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *TruncateRelationResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*TruncateRelationResp) ProtoMessage()\n```\n\n```go\nfunc (m *TruncateRelationResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *TruncateRelationResp) Reset()\n```\n\n```go\nfunc (m *TruncateRelationResp) String() string\n```\n\n```go\nfunc (m *TruncateRelationResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *TruncateRelationResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *TruncateRelationResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *TruncateRelationResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *TruncateRelationResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *TruncateRelationResp) XXX_Size() int\n```\n\n```go\nfunc (m *TruncateRelationResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UpdateReq struct {\n\tTableID      ID\n\tDatabaseName string\n\tTableName    string\n\tBatch        *batch.Batch\n}\n```\n\n```go\nfunc (r *UpdateReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (r *UpdateReq) UnmarshalBinary(data []byte) error\n```\n\n```go\ntype UpdateResp struct {\n}\n```\n\n```go\nfunc (*UpdateResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *UpdateResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *UpdateResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *UpdateResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *UpdateResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*UpdateResp) ProtoMessage()\n```\n\n```go\nfunc (m *UpdateResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *UpdateResp) Reset()\n```\n\n```go\nfunc (m *UpdateResp) String() string\n```\n\n```go\nfunc (m *UpdateResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *UpdateResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *UpdateResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *UpdateResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UpdateResp) XXX_Size() int\n```\n\n```go\nfunc (m *UpdateResp) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype WriteReq struct {\n\tTableID      ID\n\tDatabaseName string\n\tTableName    string\n\tBatch        *batch.Batch\n}\n```\n\n```go\nfunc (r *WriteReq) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (r *WriteReq) UnmarshalBinary(data []byte) error\n```\n\n```go\ntype WriteReqeust interface {\n\tCreateDatabaseReq |\n\t\tDeleteDatabaseReq |\n\t\tCreateRelationReq |\n\t\tDeleteRelationReq |\n\t\tTruncateRelationReq |\n\t\tAddTableDefReq |\n\t\tDelTableDefReq |\n\t\tDeleteReq |\n\t\tUpdateReq |\n\t\tWriteReq\n}\n```\n\n```go\ntype WriteResp struct {\n}\n```\n\n```go\nfunc (*WriteResp) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *WriteResp) Marshal() (dAtA []byte, err error)\n```\n\n```go\nfunc (m *WriteResp) MarshalBinary() ([]byte, error)\n```\n\n```go\nfunc (m *WriteResp) MarshalTo(dAtA []byte) (int, error)\n```\n\n```go\nfunc (m *WriteResp) MarshalToSizedBuffer(dAtA []byte) (int, error)\n```\n\n```go\nfunc (*WriteResp) ProtoMessage()\n```\n\n```go\nfunc (m *WriteResp) ProtoSize() (n int)\n```\n\n```go\nfunc (m *WriteResp) Reset()\n```\n\n```go\nfunc (m *WriteResp) String() string\n```\n\n```go\nfunc (m *WriteResp) Unmarshal(dAtA []byte) error\n```\n\n```go\nfunc (m *WriteResp) UnmarshalBinary(data []byte) error\n```\n\n```go\nfunc (m *WriteResp) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *WriteResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (m *WriteResp) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *WriteResp) XXX_Size() int\n```\n\n```go\nfunc (m *WriteResp) XXX_Unmarshal(b []byte) error\n```\n\n","path":"github.com/matrixorigin/matrixone/pkg/vm/engine/memoryengine","name":"memoryengine","synopsis":"","isRedistributable":true}
