MCPcopy
hub / github.com/rgburke/grv / FieldTypeDescriptor

Interface FieldTypeDescriptor

cmd/grv/expression_processor.go:17–19  ·  view source on GitHub ↗

FieldTypeDescriptor provides the type of the provided field (if it exists)

Source from the content-addressed store, hash-verified

15
16// FieldTypeDescriptor provides the type of the provided field (if it exists)
17type FieldTypeDescriptor interface {
18 FieldType(fieldName string) (fieldType FieldType, fieldExists bool)
19}
20
21// ExpressionProcessor takes the query expression that has been parsed and processes it further
22// Type conversion and validation of the expression are performed

Callers

nothing calls this directly

Implementers 10

DateLiteralcmd/grv/expression_processor.go
RegexLiteralcmd/grv/expression_processor.go
GlobLiteralcmd/grv/expression_processor.go
StringLiteralcmd/grv/query_parse.go
NumberLiteralcmd/grv/query_parse.go
Identifiercmd/grv/query_parse.go
TestFieldTypeDescriptorcmd/grv/expression_processor_test.go
refFieldDescriptorcmd/grv/ref_filter.go
TestRecordFieldDescriptorcmd/grv/filter_generator_test.go
CommitFieldDescriptorcmd/grv/commit_filter.go

Calls

no outgoing calls

Tested by

no test coverage detected