Documentation
¶
Index ¶
- func GetConverter() (message.Converter, error)
- type Converter
- type FastJsonConverter
- func (c *FastJsonConverter) Decode(b []byte) (m interface{}, err error)
- func (c *FastJsonConverter) DetachSchema(ruleID string) error
- func (c *FastJsonConverter) Encode(d interface{}) (b []byte, err error)
- func (c *FastJsonConverter) MergeSchema(ruleID, dataSource string, newSchema map[string]*ast.JsonStreamField, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConverter ¶
Types ¶
type FastJsonConverter ¶
func NewFastJsonConverter ¶
func NewFastJsonConverter(ruleID, streamName string, schema map[string]*ast.JsonStreamField, isWildcard, isSchemaLess bool) *FastJsonConverter
func (*FastJsonConverter) Decode ¶
func (c *FastJsonConverter) Decode(b []byte) (m interface{}, err error)
func (*FastJsonConverter) DetachSchema ¶
func (c *FastJsonConverter) DetachSchema(ruleID string) error
func (*FastJsonConverter) Encode ¶
func (c *FastJsonConverter) Encode(d interface{}) (b []byte, err error)
func (*FastJsonConverter) MergeSchema ¶
func (c *FastJsonConverter) MergeSchema(ruleID, dataSource string, newSchema map[string]*ast.JsonStreamField, isWildcard bool) error
Click to show internal directories.
Click to hide internal directories.