public abstract class QueryGranularity extends Object
Modifier and Type | Field and Description |
---|---|
static QueryGranularity |
ALL |
static QueryGranularity |
DAY |
static QueryGranularity |
HOUR |
static QueryGranularity |
MINUTE |
static QueryGranularity |
NONE |
static QueryGranularity |
SECOND |
Constructor and Description |
---|
QueryGranularity() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
cacheKey() |
static QueryGranularity |
fromString(String str) |
abstract Iterable<Long> |
iterable(long start,
long end) |
abstract long |
next(long offset) |
abstract org.joda.time.DateTime |
toDateTime(long offset) |
abstract long |
truncate(long offset) |
public static final QueryGranularity ALL
public static final QueryGranularity NONE
public static final QueryGranularity MINUTE
public static final QueryGranularity HOUR
public static final QueryGranularity DAY
public static final QueryGranularity SECOND
public abstract long next(long offset)
public abstract long truncate(long offset)
public abstract byte[] cacheKey()
public abstract org.joda.time.DateTime toDateTime(long offset)
public static QueryGranularity fromString(String str)
Copyright © 2011–2015. All rights reserved.