Documentation
¶
Index ¶
- Constants
- func Compile(exp string, params map[string]any, opts ...expr.Option) (*vm.Program, error)
- func DoubleQuote(a any) any
- func RunExpr(exp *vm.Program, params map[string]any) (any, error)
- func SingleQuote(a any) any
- func Sprintf(a any, format string) string
- func TimeZoneStrToLocation(tzStr string) (*time.Location, error)
- type CsvReader
- type Filter
- type Gedi
- type JsonLReader
- type JsonReader
- type LineReader
- type LineSkipper
- type Mapper
- type Record
- type RecordProcessor
- type RecordReader
- type Reducer
- type SsvReader
Constants ¶
View Source
const BUF_SIZE = 4096
Variables ¶
This section is empty.
Functions ¶
func DoubleQuote ¶ added in v0.9.0
func SingleQuote ¶ added in v0.9.0
Types ¶
type Gedi ¶
type Gedi struct {
// contains filtered or unexported fields
}
func New ¶
func New(reader RecordReader, processor RecordProcessor) *Gedi
type JsonLReader ¶ added in v0.3.0
type JsonLReader struct{}
type JsonReader ¶ added in v0.4.0
type JsonReader struct{}
type LineReader ¶
type LineReader struct{}
type LineSkipper ¶ added in v0.8.1
type LineSkipper struct {
NumOfLines int
Reader io.Reader
// contains filtered or unexported fields
}
LineSkipper is an io.Reader that skips the first n lines of the input
type RecordProcessor ¶
func InferProcess ¶ added in v0.7.3
func InferProcess(exp string) (RecordProcessor, error)
Click to show internal directories.
Click to hide internal directories.