funcs

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Overview

Package funcs for pipeline

Index

Constants

View Source
const (
	InvalidInt   = math.MinInt32
	DefaultInt   = int64(0xdeadbeef)
	DefaultStr   = ""
	InvalidStr   = "deadbeaf"
	InvalidFloat = math.SmallestNonzeroFloat64
	DefaultFloat = float64(0.0)
)

Variables

View Source
var (
	URLDecodeMarkdown = PLDoc{
		Doc: docURLDecode, Deprecated: false,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}

	HTTPRequestMarkdown = PLDoc{
		Doc: docHTTPRequest,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}

	CacheGetMarkdown = PLDoc{
		Doc: docCacheGet,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}

	CacheSetMarkdown = PLDoc{
		Doc: docCacheSet,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}
)
View Source
var (
	URLDecodeMarkdownEN = PLDoc{
		Doc: docURLDecodeEN, Deprecated: false,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}

	HTTPRequestMarkdownEN = PLDoc{
		Doc: docHTTPRequestEN, Deprecated: false,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}

	CacheGetMarkdownEN = PLDoc{
		Doc: docCacheGetEN, Deprecated: false,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}

	CacheSetMarkdownEN = PLDoc{
		Doc: docCacheSetEN, Deprecated: false,
		FnCategory: map[string][]string{
			// contains filtered or unexported fields
		},
	}
)
View Source
var FuncsCheckMap = map[string]runtime.FuncCheck{
	"agg_create":             AggCreateChecking,
	"agg_metric":             AggAddMetricChecking,
	"append":                 AppendChecking,
	"cidr":                   CIDRChecking,
	"grok":                   GrokChecking,
	"add_key":                AddkeyChecking,
	"delete":                 DeleteMapItemChecking,
	"adjust_timezone":        AdjustTimezoneChecking,
	"json":                   JSONChecking,
	"add_pattern":            AddPatternChecking,
	"b64dec":                 B64decChecking,
	"b64enc":                 B64encChecking,
	"cast":                   CastChecking,
	"datetime":               DateTimeChecking,
	"default_time":           DefaultTimeChecking,
	"default_time_with_fmt":  DefaultTimeWithFmtChecking,
	"drop":                   DropChecking,
	"drop_key":               DropkeyChecking,
	"drop_origin_data":       DropOriginDataChecking,
	"exit":                   ExitChecking,
	"geoip":                  GeoIPChecking,
	"get_key":                GetkeyChecking,
	"group_between":          GroupChecking,
	"group_in":               GroupInChecking,
	"kv_split":               KVSplitChecking,
	"len":                    LenChecking,
	"load_json":              LoadJSONChecking,
	"lowercase":              LowercaseChecking,
	"nullif":                 NullIfChecking,
	"rename":                 RenameChecking,
	"set_measurement":        SetMeasurementChecking,
	"set_tag":                SetTagChecking,
	"strfmt":                 StrfmtChecking,
	"trim":                   TrimChecking,
	"timestamp":              TimestampChecking,
	"uppercase":              UppercaseChecking,
	"use":                    UseChecking,
	"url_decode":             URLDecodeChecking,
	"user_agent":             UserAgentChecking,
	"parse_duration":         ParseDurationChecking,
	"parse_date":             ParseDateChecking,
	"cover":                  CoverChecking,
	"query_refer_table":      QueryReferTableChecking,
	"mquery_refer_table":     MQueryReferTableChecking,
	"replace":                ReplaceChecking,
	"duration_precision":     DurationPrecisionChecking,
	"sql_cover":              SQLCoverChecking,
	"xml":                    XMLChecking,
	"match":                  MatchChecking,
	"decode":                 DecodeChecking,
	"url_parse":              URLParseChecking,
	"sample":                 SampleChecking,
	"value_type":             ValueTypeChecking,
	"vaild_json":             ValidJSONChecking,
	"valid_json":             ValidJSONChecking,
	"conv_traceid_w3c_to_dd": ConvTraceIDW3C2DDChecking,
	"create_point":           CreatePointChecking,
	"parse_int":              ParseIntChecking,
	"format_int":             FormatIntChecking,
	"pt_name":                PtNameChecking,
	"http_request":           HTTPRequestChecking,
	"cache_get":              CacheGetChecking,
	"cache_set":              CacheSetChecking,
	"gjson":                  GJSONChecking,

	"json_all": JSONAllChecking,
}
View Source
var FuncsMap = map[string]runtime.FuncCall{
	"agg_create":             AggCreate,
	"agg_metric":             AggAddMetric,
	"append":                 Append,
	"cidr":                   CIDR,
	"grok":                   Grok,
	"add_key":                AddKey,
	"delete":                 DeleteMapItem,
	"adjust_timezone":        AdjustTimezone,
	"json":                   JSON,
	"add_pattern":            AddPattern,
	"b64dec":                 B64dec,
	"b64enc":                 B64enc,
	"cast":                   Cast,
	"datetime":               DateTime,
	"default_time":           DefaultTime,
	"default_time_with_fmt":  DefaultTimeWithFmt,
	"drop":                   Drop,
	"drop_key":               Dropkey,
	"drop_origin_data":       DropOriginData,
	"exit":                   Exit,
	"geoip":                  GeoIP,
	"get_key":                Getkey,
	"group_between":          Group,
	"group_in":               GroupIn,
	"kv_split":               KVSplit,
	"lowercase":              Lowercase,
	"len":                    Len,
	"load_json":              LoadJSON,
	"nullif":                 NullIf,
	"rename":                 Rename,
	"set_tag":                SetTag,
	"set_measurement":        SetMeasurement,
	"strfmt":                 Strfmt,
	"trim":                   Trim,
	"timestamp":              Timestamp,
	"uppercase":              Uppercase,
	"use":                    Use,
	"url_decode":             URLDecode,
	"user_agent":             UserAgent,
	"parse_duration":         ParseDuration,
	"parse_date":             ParseDate,
	"cover":                  Cover,
	"query_refer_table":      QueryReferTable,
	"mquery_refer_table":     MQueryReferTableMulti,
	"replace":                Replace,
	"duration_precision":     DurationPrecision,
	"xml":                    XML,
	"match":                  Match,
	"sql_cover":              SQLCover,
	"decode":                 Decode,
	"sample":                 Sample,
	"url_parse":              URLParse,
	"value_type":             ValueType,
	"vaild_json":             ValidJSON,
	"valid_json":             ValidJSON,
	"conv_traceid_w3c_to_dd": ConvTraceIDW3C2DD,
	"create_point":           CreatePoint,
	"parse_int":              ParseInt,
	"format_int":             FormatInt,
	"pt_name":                PtName,
	"http_request":           HTTPRequest,
	"cache_get":              CacheGet,
	"cache_set":              CacheSet,
	"gjson":                  GJSON,

	"json_all": JSONAll,
}
View Source
var PipelineFunctionDocs = map[string]*PLDoc{
	"add_key()":                &addKeyMarkdown,
	"add_pattern()":            &addPatternMarkdown,
	"adjust_timezone()":        &adjustTimezoneMarkdown,
	"agg_create()":             &aggCreateMarkdown,
	"agg_metric()":             &aggMetricMarkdown,
	"append()":                 &appendMarkdown,
	"b64dec()":                 &b64decMarkdown,
	"b64enc()":                 &b64encMarkdown,
	"cast()":                   &castMarkdown,
	"delete()":                 &deleteMarkdown,
	"cidr()":                   &cidrMarkdown,
	"cover()":                  &coverMarkdown,
	"datetime()":               &datetimeMarkdown,
	"decode":                   &decodeMarkdown,
	"default_time()":           &defaultTimeMarkdown,
	"drop()":                   &dropMarkdown,
	"drop_key()":               &dropKeyMarkdown,
	"drop_origin_data()":       &dropOriginDataMarkdown,
	"duration_precision()":     &durationPrecisionMarkdown,
	"exit()":                   &exitMarkdown,
	"geoip()":                  &geoIPMarkdown,
	"get_key()":                &getKeyMarkdown,
	"grok()":                   &grokMarkdown,
	"group_between()":          &groupBetweenMarkdown,
	"group_in()":               &groupInMarkdown,
	"kv_split()":               &kvSplitMarkdown,
	"json()":                   &jsonMarkdown,
	"len()":                    &lenMarkdown,
	"load_json()":              &loadJSONMarkdown,
	"lowercase()":              &lowercaseMarkdown,
	"nullif()":                 &nullIfMarkdown,
	"parse_date()":             &parseDateMarkdown,
	"parse_duration()":         &parseDurationMarkdown,
	"query_refer_table()":      &queryReferTableMarkdown,
	"match()":                  &matchMarkdown,
	"mquery_refer_table()":     &mQueryReferTableMarkdown,
	"rename()":                 &renameMarkdown,
	"replace()":                &replaceMarkdown,
	"set_measurement()":        &setMeasurementMarkdown,
	"set_tag()":                &setTagMarkdown,
	"sql_cover":                &sqlCoverMarkdown,
	"strfmt()":                 &strfmtMarkdown,
	"trim()":                   &trimMarkdown,
	"uppercase()":              &uppercaseMarkdown,
	"url_decode()":             &URLDecodeMarkdown,
	"use()":                    &useMarkdown,
	"user_agent()":             &userAgentMarkdown,
	"xml()":                    &xmlMarkdown,
	"sample()":                 &sampleMarkdown,
	"url_parse()":              &urlParseMarkdown,
	"timestamp()":              &timestampMarkdown,
	"value_type()":             &valueTypeMarkdown,
	"valid_json()":             &validJSONMarkdown,
	"conv_traceid_w3c_to_dd()": &convTraceID128MD,
	"create_point()":           &createPointMarkdown,
	"parse_int()":              &parseIntMarkdown,
	"format_int()":             &formatIntMarkdown,
	"pt_name()":                &ptNameMarkdown,
	"http_request()":           &HTTPRequestMarkdown,
	"cache_get()":              &CacheGetMarkdown,
	"cache_set()":              &CacheSetMarkdown,
	"gjson()":                  &gjsonMarkdown,
}
View Source
var PipelineFunctionDocsEN = map[string]*PLDoc{
	"add_key()":                &addKeyMarkdownEN,
	"add_pattern()":            &addPatternMarkdownEN,
	"adjust_timezone()":        &adjustTimezoneMarkdownEN,
	"agg_create()":             &aggCreateMarkdownEN,
	"agg_metric()":             &aggMetricMarkdownEN,
	"append()":                 &appendMarkdownEN,
	"b64dec()":                 &b64decMarkdownEN,
	"b64enc()":                 &b64encMarkdownEN,
	"cast()":                   &castMarkdownEN,
	"delete()":                 &deleteMarkdownEN,
	"cidr()":                   &cidrMarkdownEN,
	"cover()":                  &coverMarkdownEN,
	"datetime()":               &datetimeMarkdownEN,
	"decode":                   &decodeMarkdownEN,
	"default_time()":           &defaultTimeMarkdownEN,
	"drop()":                   &dropMarkdownEN,
	"drop_key()":               &dropKeyMarkdownEN,
	"drop_origin_data()":       &dropOriginDataMarkdownEN,
	"duration_precision()":     &durationPrecisionMarkdownEN,
	"exit()":                   &exitMarkdownEN,
	"geoip()":                  &geoIPMarkdownEN,
	"get_key()":                &getKeyMarkdownEN,
	"grok()":                   &grokMarkdownEN,
	"group_between()":          &groupBetweenMarkdownEN,
	"group_in()":               &groupInMarkdownEN,
	"kv_split()":               &kvSplitMarkdownEN,
	"json()":                   &jsonMarkdownEN,
	"len()":                    &lenMarkdownEN,
	"load_json()":              &loadJSONMarkdownEN,
	"lowercase()":              &lowercaseMarkdownEN,
	"nullif()":                 &nullIfMarkdownEN,
	"parse_date()":             &parseDateMarkdownEN,
	"parse_duration()":         &parseDurationMarkdownEN,
	"query_refer_table()":      &queryReferTableMarkdownEN,
	"match()":                  &matchMarkdownEN,
	"mquery_refer_table()":     &mQueryReferTableMarkdownEN,
	"rename()":                 &renameMarkdownEN,
	"replace()":                &replaceMarkdownEN,
	"set_measurement()":        &setMeasurementMarkdownEN,
	"set_tag()":                &setTagMarkdownEN,
	"sql_cover":                &sqlCoverMarkdownEN,
	"strfmt()":                 &strfmtMarkdownEN,
	"trim()":                   &trimMarkdownEN,
	"uppercase()":              &uppercaseMarkdownEN,
	"url_decode()":             &URLDecodeMarkdownEN,
	"use()":                    &useMarkdownEN,
	"user_agent()":             &userAgentMarkdownEN,
	"xml()":                    &xmlMarkdownEN,
	"sample()":                 &sampleMarkdownEN,
	"url_parse()":              &urlParseMarkdownEN,
	"timestamp()":              &timestampMarkdownEN,
	"value_type()":             &valueTypeMarkdownEN,
	"valid_json()":             &validJSONMarkdownEN,
	"conv_traceid_w3c_to_dd()": &convTraceID128MDEN,
	"create_point()":           &createPointMarkdownEN,
	"parse_int()":              &parseIntMarkdownEN,
	"format_int()":             &formatIntMarkdownEN,
	"pt_name()":                &ptNameMarkdownEN,
	"http_request()":           &HTTPRequestMarkdownEN,
	"cache_get()":              &CacheGetMarkdownEN,
	"cache_set()":              &CacheSetMarkdownEN,
	"gjson()":                  &gjsonMarkdownEN,
}

Functions

func AddKey

func AddKey(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AddPattern

func AddPattern(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AddPatternChecking

func AddPatternChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AddkeyChecking

func AddkeyChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AdjustTimezone

func AdjustTimezone(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AdjustTimezoneChecking

func AdjustTimezoneChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AggAddMetric

func AggAddMetric(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AggAddMetricChecking

func AggAddMetricChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AggCreate

func AggCreate(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AggCreateChecking

func AggCreateChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Append

func Append(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func AppendChecking

func AppendChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func B64dec

func B64dec(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func B64decChecking

func B64decChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func B64enc

func B64enc(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func B64encChecking

func B64encChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CIDR

func CIDR(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CIDRChecking

func CIDRChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CIDRContains

func CIDRContains(ipAddr, prefix string) (bool, error)

func CacheGet added in v1.1.12

func CacheGet(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CacheGetChecking added in v1.1.12

func CacheGetChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CacheSet added in v1.1.12

func CacheSet(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CacheSetChecking added in v1.1.12

func CacheSetChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Cast

func Cast(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CastChecking

func CastChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ConvTraceIDW3C2DD

func ConvTraceIDW3C2DD(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ConvTraceIDW3C2DDChecking

func ConvTraceIDW3C2DDChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Cover

func Cover(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CoverChecking

func CoverChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CreatePoint

func CreatePoint(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func CreatePointChecking

func CreatePointChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DateFormatHandle

func DateFormatHandle(t *time.Time, fmts string) (string, error)

func DateTime

func DateTime(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DateTimeChecking

func DateTimeChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Decode

func Decode(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DecodeChecking

func DecodeChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DefaultTime

func DefaultTime(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DefaultTimeChecking

func DefaultTimeChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DefaultTimeWithFmt

func DefaultTimeWithFmt(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DefaultTimeWithFmtChecking

func DefaultTimeWithFmtChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DeleteMapItem

func DeleteMapItem(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DeleteMapItemChecking

func DeleteMapItemChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Drop

func Drop(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DropChecking

func DropChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DropOriginData

func DropOriginData(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DropOriginDataChecking

func DropOriginDataChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Dropkey

func Dropkey(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DropkeyChecking

func DropkeyChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DurationPrecision

func DurationPrecision(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func DurationPrecisionChecking

func DurationPrecisionChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Exit

func Exit(ctx *runtime.Context, node *ast.CallExpr) *errchain.PlError

func ExitChecking

func ExitChecking(ctx *runtime.Context, node *ast.CallExpr) *errchain.PlError

func Expr

func Expr(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ExprChecking

func ExprChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func FormatInt

func FormatInt(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func FormatIntChecking

func FormatIntChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GJSON added in v1.1.14

func GJSON(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GJSONChecking added in v1.1.14

func GJSONChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GeoIP

func GeoIP(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GeoIPChecking

func GeoIPChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GeoIPHandle

func GeoIPHandle(db ipdb.IPdb, ip string) (map[string]string, error)

func Getkey

func Getkey(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GetkeyChecking

func GetkeyChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Grok

func Grok(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GrokChecking

func GrokChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Group

func Group(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GroupChecking

func GroupChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GroupHandle

func GroupHandle(value interface{}, start, end float64) bool

func GroupIn

func GroupIn(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GroupInChecking

func GroupInChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func GroupInHandle

func GroupInHandle(value interface{}, set []interface{}) bool

func GsonGet

func GsonGet(s string, node *ast.Node, deleteAfter bool) (any, string, error)

func HTTPRequest added in v1.1.12

func HTTPRequest(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func HTTPRequestChecking added in v1.1.12

func HTTPRequestChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func InitLog

func InitLog()

func JSON

func JSON(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func JSONAll

func JSONAll(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func JSONAllChecking

func JSONAllChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func JSONChecking

func JSONChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func JSONParse

func JSONParse(jsonStr string) map[string]interface{}

func KVSplit

func KVSplit(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func KVSplitChecking

func KVSplitChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Len

func Len(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func LenChecking

func LenChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func LoadJSON

func LoadJSON(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func LoadJSONChecking

func LoadJSONChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Lowercase

func Lowercase(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func LowercaseChecking

func LowercaseChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func MQueryReferTableChecking

func MQueryReferTableChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func MQueryReferTableMulti

func MQueryReferTableMulti(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Match

func Match(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func MatchChecking

func MatchChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func NullIf

func NullIf(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func NullIfChecking

func NullIfChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ParseDate

func ParseDate(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ParseDateChecking

func ParseDateChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ParseDuration

func ParseDuration(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ParseDurationChecking

func ParseDurationChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ParseInt

func ParseInt(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ParseIntChecking

func ParseIntChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func PtName

func PtName(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func PtNameChecking

func PtNameChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func QueryReferTable

func QueryReferTable(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func QueryReferTableChecking

func QueryReferTableChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Rename

func Rename(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func RenameChecking

func RenameChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Replace

func Replace(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ReplaceChecking

func ReplaceChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SQLCover

func SQLCover(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SQLCoverChecking

func SQLCoverChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Sample

func Sample(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SampleChecking

func SampleChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SetMeasurement

func SetMeasurement(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SetMeasurementChecking

func SetMeasurementChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SetTag

func SetTag(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func SetTagChecking

func SetTagChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Strfmt

func Strfmt(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func StrfmtChecking

func StrfmtChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Timestamp

func Timestamp(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func TimestampChecking

func TimestampChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func TimestampHandle

func TimestampHandle(value, tz string) (int64, error)

func Trim

func Trim(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func TrimChecking

func TrimChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func URLDecode

func URLDecode(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func URLDecodeChecking

func URLDecodeChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func URLParse

func URLParse(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func URLParseChecking

func URLParseChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func Uppercase

func Uppercase(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func UppercaseChecking

func UppercaseChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func UrldecodeHandle

func UrldecodeHandle(path string) (string, error)

func Use

func Use(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func UseChecking

func UseChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func UserAgent

func UserAgent(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func UserAgentChecking

func UserAgentChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func UserAgentHandle

func UserAgentHandle(str string) (map[string]interface{}, map[string]ast.DType)

func ValidJSON

func ValidJSON(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ValidJSONChecking

func ValidJSONChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ValueType

func ValueType(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func ValueTypeChecking

func ValueTypeChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func XML

func XML(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

func XMLChecking

func XMLChecking(ctx *runtime.Context, funcExpr *ast.CallExpr) *errchain.PlError

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(enc string) (*Decoder, error)

type PLDoc

type PLDoc struct {
	Doc             string              `json:"doc"`
	Prototype       string              `json:"prototype"`
	Description     string              `json:"description"`
	Deprecated      bool                `json:"deprecated"`
	RequiredVersion string              `json:"required_version"`
	FnCategory      map[string][]string `json:"fn_category"`
}

Jump to

Keyboard shortcuts

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