Documentation ¶
Overview ¶
Code generated by goyacc -l -o pkg/deepql/deepql.y.go pkg/deepql/deepql.y. DO NOT EDIT.
Index ¶
- Constants
- type CommandHandler
- type CommandRequest
- type Condition
- type Engine
- func (e *Engine) ExecuteCommandQuery(ctx context.Context, expr *RootExpr, handler CommandHandler) ([]*deeptp.TracePointConfig, []*deeptp.TracePointConfig, string, error)
- func (e *Engine) ExecuteSearch(ctx context.Context, searchReq *deeppb.SearchRequest, ...) (*deeppb.SearchResponse, error)
- func (e *Engine) ExecuteTriggerQuery(ctx context.Context, expr *RootExpr, handler TriggerHandler) (*deeptp.TracePointConfig, []*deeptp.TracePointConfig, error)
- type FetchSnapshotRequest
- type FetchSnapshotResponse
- type Operands
- type Operator
- type RootExpr
- type Snapshot
- type SnapshotResult
- type SnapshotResultFetcher
- type SnapshotResultIterator
- type Static
- type StaticType
- type TriggerHandler
Constants ¶
View Source
const ( List = "list" DeleteType = "delete" )
View Source
const CLOSE_BRACE = 57354
View Source
const CLOSE_BRACK = 57362
View Source
const CLOSE_PARAN = 57360
View Source
const COMMAND = 57349
View Source
const DOT = 57358
View Source
const DURATION = 57352
View Source
const EQ = 57363
View Source
const FALSE = 57357
View Source
const FLOAT = 57351
View Source
const GT = 57367
View Source
const GTE = 57368
View Source
const IDENTIFIER = 57347
View Source
const INTEGER = 57350
View Source
const LT = 57365
View Source
const LTE = 57366
View Source
const NEQ = 57364
View Source
const NIL = 57355
View Source
const NREG = 57370
View Source
const OPEN_BRACE = 57353
View Source
const OPEN_BRACK = 57361
View Source
const OPEN_PARAN = 57359
View Source
const REG = 57369
View Source
const STRING = 57346
View Source
const TRIGGER = 57348
View Source
const TRUE = 57356
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler func(context.Context, *CommandRequest) ([]*deeptp.TracePointConfig, []*deeptp.TracePointConfig, string, error)
type CommandRequest ¶
type Engine ¶
type Engine struct{}
func (*Engine) ExecuteCommandQuery ¶
func (e *Engine) ExecuteCommandQuery(ctx context.Context, expr *RootExpr, handler CommandHandler) ([]*deeptp.TracePointConfig, []*deeptp.TracePointConfig, string, error)
func (*Engine) ExecuteSearch ¶
func (e *Engine) ExecuteSearch(ctx context.Context, searchReq *deeppb.SearchRequest, snapshotResultFetcher SnapshotResultFetcher) (*deeppb.SearchResponse, error)
func (*Engine) ExecuteTriggerQuery ¶
func (e *Engine) ExecuteTriggerQuery(ctx context.Context, expr *RootExpr, handler TriggerHandler) (*deeptp.TracePointConfig, []*deeptp.TracePointConfig, error)
type FetchSnapshotRequest ¶
type FetchSnapshotResponse ¶
type FetchSnapshotResponse struct { Results SnapshotResultIterator Bytes func() uint64 }
type RootExpr ¶
type RootExpr struct {
// contains filtered or unexported fields
}
func ParseString ¶
type SnapshotResult ¶
type SnapshotResultFetcher ¶
type SnapshotResultFetcher func(context.Context, FetchSnapshotRequest) (FetchSnapshotResponse, error)
type SnapshotResultIterator ¶
type SnapshotResultIterator interface { Next(context.Context) (*SnapshotResult, error) Close() }
type Static ¶
func NewStaticBool ¶
func NewStaticDuration ¶
func NewStaticFloat ¶
func NewStaticInt ¶
func NewStaticNil ¶
func NewStaticNil() Static
func NewStaticString ¶
type StaticType ¶
type StaticType int
const ( TypeNil StaticType = iota TypeInt TypeFloat TypeString TypeBoolean TypeDuration )
type TriggerHandler ¶
type TriggerHandler func(context.Context, *deeppb.CreateTracepointRequest) (*deeptp.TracePointConfig, []*deeptp.TracePointConfig, error)
Click to show internal directories.
Click to hide internal directories.