Documentation
¶
Overview ¶
Package plugin is the fulltext index plugin registration point.
All four hook surfaces (catalog / compile / plan / idxcron) are live: catalog hooks in runtime/, compile hooks in compile/, plan hooks in plan/, idxcron hook in idxcron/. The plan-layer BuildSecondaryIndexDefs returns an error by contract — fulltext is reached via BuildFullTextIndexDefs instead, since CREATE FULLTEXT INDEX parses to *tree.FullTextIndex, a distinct AST node from *tree.Index.
DML hooks (preinsert / postinsert / delete) remain inline in pkg/sql/plan/build_dml_util.go; the plugin framework does not yet expose a DML hook surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is the fulltext AlgoPlugin.
func (*Plugin) Catalog ¶
func (p *Plugin) Catalog() catalogplugin.Hooks
func (*Plugin) Compile ¶
func (p *Plugin) Compile() compileplugin.Hooks
func (*Plugin) Idxcron ¶
func (p *Plugin) Idxcron() idxcronplugin.Hooks
func (*Plugin) Plan ¶
func (p *Plugin) Plan() planplugin.Hooks
Directories
¶
| Path | Synopsis |
|---|---|
|
Package compile implements the fulltext plugin's compile-layer (DDL) hooks.
|
Package compile implements the fulltext plugin's compile-layer (DDL) hooks. |
|
Package idxcron is fulltext's idxcron hook implementation.
|
Package idxcron is fulltext's idxcron hook implementation. |
|
Package iscp provides fulltext's ISCP hook layer.
|
Package iscp provides fulltext's ISCP hook layer. |
|
Package plan implements the fulltext plugin's plan-layer hooks.
|
Package plan implements the fulltext plugin's plan-layer hooks. |
|
Package runtime holds the fulltext index's catalog-side metadata.
|
Package runtime holds the fulltext index's catalog-side metadata. |