schema

package
v2.0.0-alpha.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaLayer

type SchemaLayer struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewSchemaLayer

func NewSchemaLayer(ruleID, streamName string, schema map[string]*ast.JsonStreamField, isWildcard bool) *SchemaLayer

func (*SchemaLayer) DetachSchema

func (s *SchemaLayer) DetachSchema(ruleID string) error

func (*SchemaLayer) GetSchema

func (s *SchemaLayer) GetSchema() map[string]*ast.JsonStreamField

func (*SchemaLayer) MergeSchema

func (s *SchemaLayer) MergeSchema(ruleID, dataSource string, newSchema map[string]*ast.JsonStreamField, isWildcard bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL