Documentation ¶
Index ¶
Constants ¶
View Source
const ( EntityType = "redis" THING_PROPERTY_TYPE_Hash = "hash" THING_PROPERTY_TYPE_String = "string" )
View Source
const (
Redis_SSQL_TLP = `HMSET`
)
Variables ¶
View Source
var ( NewJSONContext = ruleql.NewJSONContext NewMapContext = ruleql.NewMapContext )
View Source
var ( NewMessage = utils.NewMessage Execute = utils.Execute NewMessageContext = utils.NewMessageContext )
Functions ¶
func BuildValue ¶
Types ¶
type EvalContext ¶
type EvalContext struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext(key string, rawJsonStr string, baseCtx ...ruleql.Context) *EvalContext
NewContext new context from json
func (*EvalContext) Range ¶
func (this *EvalContext) Range(expr string) []*EvalContext
func (*EvalContext) Range2 ¶
func (this *EvalContext) Range2(expr string) []*EvalContext
Click to show internal directories.
Click to hide internal directories.