public class DurationLiteral extends Expression
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_VALUES |
| Constructor and Description |
|---|
DurationLiteral() |
| Modifier and Type | Method and Description |
|---|---|
DurationLiteral |
addValuesItem(Duration valuesItem) |
boolean |
equals(Object o) |
String |
getType()
Type of AST node
|
List<Duration> |
getValues()
Duration values
|
int |
hashCode() |
void |
setType(String type) |
void |
setValues(List<Duration> values) |
String |
toString() |
DurationLiteral |
type(String type) |
DurationLiteral |
values(List<Duration> values) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_VALUES
public DurationLiteral type(String type)
public String getType()
public void setType(String type)
public DurationLiteral values(List<Duration> values)
public DurationLiteral addValuesItem(Duration valuesItem)
public boolean equals(Object o)
equals in class Expressionpublic int hashCode()
hashCode in class Expressionpublic String toString()
toString in class ExpressionCopyright © 2018–2021 InfluxData, Inc.. All rights reserved.