Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndExpr ¶
type AndExpr struct {
Left FilterExpr
Right FilterExpr
}
type FilterExpr ¶
type FilterExpr interface {
// contains filtered or unexported methods
}
type IdMappingFunc ¶
type InTableExpr ¶
type OrExpr ¶
type OrExpr struct {
Left FilterExpr
Right FilterExpr
}
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func New ¶
func New(adpater ResolverAdapter) *Resolver
type ResolverAdapter ¶
type ResolverAdapter interface {
GetDefaultSort() string
MapNameToId(typ, name string) (string, error)
// TODO(patrik): Rename to ResolveVariableName
MapName(name string) (Name, error)
ResolveTable(typ string) (Table, error)
ResolveFunctionCall(resolver *Resolver, name string, args []ast.Expr) (FilterExpr, error)
}
Click to show internal directories.
Click to hide internal directories.