pull/4085/head
Daniel Morsing 2015-09-11 14:41:59 +00:00
parent ab9ae468ca
commit eb65f50593
2 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ import (
"math" "math"
"math/rand" "math/rand"
"sort" "sort"
"github.com/influxdb/influxdb/influxql" "github.com/influxdb/influxdb/influxql"
) )

View File

@ -59,12 +59,12 @@ type SelectMapper struct {
// The following attributes are only used when mappers are for aggregate queries. // The following attributes are only used when mappers are for aggregate queries.
queryTMinWindow int64 // Minimum time of the query floored to start of interval. queryTMinWindow int64 // Minimum time of the query floored to start of interval.
intervalSize int64 // Size of each interval. intervalSize int64 // Size of each interval.
numIntervals int // Maximum number of intervals to return. numIntervals int // Maximum number of intervals to return.
currInterval int // Current interval for which data is being fetched. currInterval int // Current interval for which data is being fetched.
mapFuncs []mapFunc // The mapping functions. mapFuncs []mapFunc // The mapping functions.
fieldNames []string // the field name being read for mapping. fieldNames []string // the field name being read for mapping.
} }
// NewSelectMapper returns a mapper for the given shard, which will return data for the SELECT statement. // NewSelectMapper returns a mapper for the given shard, which will return data for the SELECT statement.