Documentation ¶
Index ¶
- Variables
- func AssignValue(src, dst reflect.Value) error
- func ReleaseRuntimeContext(ctx *RuntimeContext)
- func Unmarshal(record arrow.Record, v interface{}) error
- func UnsafeNew(t *runtime.Type) unsafe.Pointer
- type BasePathNode
- type Decoder
- type Option
- type OptionFlags
- type Path
- type PathBuilder
- type PathIndexAllNode
- type PathIndexNode
- type PathNode
- type PathRecursiveNode
- type PathSelectorNode
- type PathString
- type QuotePathSelector
- type RuntimeContext
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EmptyInterfaceType = emptyInterfaceType
)
Functions ¶
func AssignValue ¶
func ReleaseRuntimeContext ¶
func ReleaseRuntimeContext(ctx *RuntimeContext)
Types ¶
type BasePathNode ¶
type BasePathNode struct {
// contains filtered or unexported fields
}
type Decoder ¶
type Decoder interface { Decode(*RuntimeContext, int64, int64, unsafe.Pointer) (int64, error) DecodePath(*RuntimeContext, int64, int64) ([][]byte, int64, error) DecodeArray(arrow.Array, int, unsafe.Pointer) error }
func NewPathDecoder ¶
func NewPathDecoder() Decoder
type OptionFlags ¶
type OptionFlags uint8
const ( FirstWinOption OptionFlags = 1 << iota ContextOption PathOption )
type Path ¶
type PathBuilder ¶
type PathBuilder struct {
// contains filtered or unexported fields
}
type PathIndexAllNode ¶
type PathIndexAllNode struct {
*BasePathNode
}
func (*PathIndexAllNode) Field ¶
func (n *PathIndexAllNode) Field(fieldName string) (PathNode, bool, error)
func (*PathIndexAllNode) String ¶
func (n *PathIndexAllNode) String() string
type PathIndexNode ¶
type PathIndexNode struct { *BasePathNode // contains filtered or unexported fields }
func (*PathIndexNode) Field ¶
func (n *PathIndexNode) Field(fieldName string) (PathNode, bool, error)
func (*PathIndexNode) String ¶
func (n *PathIndexNode) String() string
type PathRecursiveNode ¶
type PathRecursiveNode struct { *BasePathNode // contains filtered or unexported fields }
func (*PathRecursiveNode) Field ¶
func (n *PathRecursiveNode) Field(fieldName string) (PathNode, bool, error)
func (*PathRecursiveNode) String ¶
func (n *PathRecursiveNode) String() string
type PathSelectorNode ¶
type PathSelectorNode struct { *BasePathNode // contains filtered or unexported fields }
func (*PathSelectorNode) Field ¶
func (n *PathSelectorNode) Field(fieldName string) (PathNode, bool, error)
func (*PathSelectorNode) String ¶
func (n *PathSelectorNode) String() string
type PathString ¶
type PathString string
func (PathString) Build ¶
func (s PathString) Build() (*Path, error)
type QuotePathSelector ¶
type QuotePathSelector int
const ( SingleQuotePathSelector QuotePathSelector = 1 DoubleQuotePathSelector QuotePathSelector = 2 )
type RuntimeContext ¶
func TakeRuntimeContext ¶
func TakeRuntimeContext() *RuntimeContext
type Stream ¶
type Stream struct { UseNumber bool DisallowUnknownFields bool Option *Option // contains filtered or unexported fields }
func (*Stream) PrepareForDecode ¶
func (*Stream) TotalOffset ¶
Source Files ¶
- anonymous_field.go
- array.go
- arrow_decoder.go
- assign.go
- bool.go
- bytes.go
- compile.go
- compile_norace.go
- context.go
- float.go
- func.go
- int.go
- interface.go
- invalid.go
- map.go
- number.go
- option.go
- path.go
- ptr.go
- slice.go
- stream.go
- string.go
- struct.go
- type.go
- uint.go
- unmarshal_json.go
- unmarshal_text.go
- wrapped_string.go
Click to show internal directories.
Click to hide internal directories.