Files
streamsql/model/model.go
T
2025-04-08 17:38:34 +08:00

21 lines
353 B
Go

package model
import (
"time"
"github.com/rulego/streamsql/aggregator"
)
type Config struct {
WindowConfig WindowConfig
GroupFields []string
SelectFields map[string]aggregator.AggregateType
FieldAlias map[string]string
}
type WindowConfig struct {
Type string
Params map[string]interface{}
TsProp string
TimeUnit time.Duration
}