Documentation
¶
Index ¶
- type Node
- func (n *Node) API() (*network.Server, error)
- func (n *Node) EnsureGraphNodePropertyIndex(label, property string) error
- func (n *Node) GraphReachable(ctx context.Context, startLabel, startProperty string, startValue any, ...) ([]any, uint, error)
- func (n *Node) Handler() (http.Handler, error)
- func (n *Node) ObjectStoreStats() (objectstore.Stats, bool)
- func (n *Node) Open(ctx context.Context) (err error)
- func (n *Node) OpenLocalSQLReader() (*sql.DB, error)
- func (n *Node) Ready() bool
- func (n *Node) Shutdown() error
- func (n *Node) SpeculateSQL(ctx context.Context, fn func(*sql.Tx) error) error
- func (n *Node) Start(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is the main runtime container.
func (*Node) EnsureGraphNodePropertyIndex ¶ added in v0.9.0
func (*Node) GraphReachable ¶ added in v0.9.0
func (*Node) ObjectStoreStats ¶
func (n *Node) ObjectStoreStats() (objectstore.Stats, bool)
func (*Node) Open ¶
Open starts the embedded engine and its private peer transport without serving HTTP.
func (*Node) OpenLocalSQLReader ¶ added in v0.9.0
OpenLocalSQLReader returns a caller-owned read-only handle to this node's materialized SQL state.
func (*Node) Ready ¶ added in v0.8.1
Ready reports whether local startup recovery and catch-up have completed. It does not prove current quorum availability.
func (*Node) SpeculateSQL ¶ added in v0.9.0
SpeculateSQL delegates a rollback-only planning transaction to the SQL materializer. Replicated commits must still use the normal Execute API.
Click to show internal directories.
Click to hide internal directories.