Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ AsTime
Method
AsTime
value.go:423–428 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
421
}
422
423
func
(v *Value) AsTime() nano.Ts {
424
if
v != nil && TypeUnder(v.Type()) == TypeTime {
425
return
DecodeTime(v.Bytes())
426
}
427
return
0
428
}
429
430
func
(v *Value) MissingAsNull() Value {
431
if
v.IsMissing() {
Callers
4
Call
Method · 0.80
Call
Method · 0.80
TestReaderCRLF
Function · 0.80
TestLegacyZeekValid
Function · 0.80
Calls
4
Type
Method · 0.95
Bytes
Method · 0.95
TypeUnder
Function · 0.85
DecodeTime
Function · 0.85
Tested by
2
TestReaderCRLF
Function · 0.64
TestLegacyZeekValid
Function · 0.64