Documentation ¶
Index ¶
- Variables
- func ElementsEqual(left, right []EnumElementType) (isEqual bool)
- func NamesMatch(src, candidates []string) (match bool)
- func NewQuery(d *Directory) *query
- func Query()
- type DateRange
- type ParseResult
- func (pr *ParseResult) GetCandleAttributes() (cat map[TimeBucketKey]*CandleAttributes)
- func (pr *ParseResult) GetDataShapes() (dsv map[TimeBucketKey][]DataShape)
- func (pr *ParseResult) GetRowLen() (rlenMap map[TimeBucketKey]int)
- func (pr *ParseResult) GetRowType() (rt map[TimeBucketKey]EnumRecordType)
- type QualifiedFile
- type RestrictionList
- type RowLimit
- type TimeQualFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxEpoch = time.Unix(1<<63-62135596801, 999999999).Unix()
View Source
var MinEpoch = int64(0)
Functions ¶
func ElementsEqual ¶
func ElementsEqual(left, right []EnumElementType) (isEqual bool)
func NamesMatch ¶
Types ¶
type DateRange ¶
func NewDateRange ¶
func NewDateRange() *DateRange
type ParseResult ¶
type ParseResult struct { QualifiedFiles []QualifiedFile Limit *RowLimit Range *DateRange IntervalsPerDay int64 RootDir string TimeQuals []TimeQualFunc }
func NewParseResult ¶
func NewParseResult() *ParseResult
func (*ParseResult) GetCandleAttributes ¶
func (pr *ParseResult) GetCandleAttributes() (cat map[TimeBucketKey]*CandleAttributes)
func (*ParseResult) GetDataShapes ¶
func (pr *ParseResult) GetDataShapes() (dsv map[TimeBucketKey][]DataShape)
func (*ParseResult) GetRowLen ¶
func (pr *ParseResult) GetRowLen() (rlenMap map[TimeBucketKey]int)
func (*ParseResult) GetRowType ¶
func (pr *ParseResult) GetRowType() (rt map[TimeBucketKey]EnumRecordType)
type QualifiedFile ¶
type QualifiedFile struct { Key TimeBucketKey File *TimeBucketInfo }
type RestrictionList ¶
func NewRestrictionList ¶
func NewRestrictionList() RestrictionList
func (RestrictionList) AddRestriction ¶
func (r RestrictionList) AddRestriction(category string, item string)
func (RestrictionList) GetRestrictionMap ¶
func (r RestrictionList) GetRestrictionMap() RestrictionList
type RowLimit ¶
type RowLimit struct { Number int32 // -1 backward, 1 forward Direction DirectionEnum }
func NewRowLimit ¶
func NewRowLimit() *RowLimit
type TimeQualFunc ¶
Click to show internal directories.
Click to hide internal directories.