public abstract class BaseQueryGranularity extends QueryGranularity
Constructor and Description |
---|
BaseQueryGranularity() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
cacheKey() |
Iterable<Long> |
iterable(long start,
long end) |
abstract long |
next(long offset) |
org.joda.time.DateTime |
toDateTime(long offset) |
abstract long |
truncate(long offset) |
fromString
public abstract long next(long offset)
next
in class QueryGranularity
public abstract long truncate(long offset)
truncate
in class QueryGranularity
public abstract byte[] cacheKey()
cacheKey
in class QueryGranularity
public org.joda.time.DateTime toDateTime(long offset)
toDateTime
in class QueryGranularity
public Iterable<Long> iterable(long start, long end)
iterable
in class QueryGranularity
Copyright © 2011–2015. All rights reserved.