@ApplicationScoped public class ToIntervalTranslator extends Object
| Constructor and Description |
|---|
ToIntervalTranslator() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.Interval |
toInterval(BooleanExpression whereClause)
Return the interval described by the where clause.
|
public org.joda.time.Interval toInterval(BooleanExpression whereClause)
whereClause - the Influx query where clauseInterval or null if the where clause does define a proper interval (i.e.
time > '2012-08-15' and time < '1998-08-15'Copyright © 2015 Red Hat, Inc.. All rights reserved.