Package step.core.timeseries.accessor
Class BucketAccessorImpl
- java.lang.Object
-
- step.core.accessors.AbstractAccessor<Bucket>
-
- step.core.timeseries.accessor.BucketAccessorImpl
-
- All Implemented Interfaces:
step.core.accessors.Accessor<Bucket>,BucketAccessor
public class BucketAccessorImpl extends step.core.accessors.AbstractAccessor<Bucket> implements BucketAccessor
-
-
Field Summary
-
Fields inherited from interface step.core.timeseries.accessor.BucketAccessor
ENTITY_NAME
-
-
Constructor Summary
Constructors Constructor Description BucketAccessorImpl(step.core.collections.Collection<Bucket> collectionDriver, int resolution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeSeriesChartResponsecollect(Query query)Map<Map<String,Object>,Map<Long,Bucket>>collectBuckets(Query query)-
Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getRange, remove, save, save, stream
-
-
-
-
Constructor Detail
-
BucketAccessorImpl
public BucketAccessorImpl(step.core.collections.Collection<Bucket> collectionDriver, int resolution)
-
-
Method Detail
-
collect
public TimeSeriesChartResponse collect(Query query)
- Specified by:
collectin interfaceBucketAccessor
-
collectBuckets
public Map<Map<String,Object>,Map<Long,Bucket>> collectBuckets(Query query)
- Specified by:
collectBucketsin interfaceBucketAccessor
-
-