public class DateTimeLiteral extends Expression
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_VALUE |
| Constructor and Description |
|---|
DateTimeLiteral() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getType()
Type of AST node
|
OffsetDateTime |
getValue()
Get value
|
int |
hashCode() |
void |
setType(String type) |
void |
setValue(OffsetDateTime value) |
String |
toString() |
DateTimeLiteral |
type(String type) |
DateTimeLiteral |
value(OffsetDateTime value) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_VALUE
public DateTimeLiteral type(String type)
public String getType()
public void setType(String type)
public DateTimeLiteral value(OffsetDateTime value)
public OffsetDateTime getValue()
public void setValue(OffsetDateTime value)
public boolean equals(Object o)
equals in class Expressionpublic int hashCode()
hashCode in class Expressionpublic String toString()
toString in class ExpressionCopyright © 2018–2023 InfluxData, Inc.. All rights reserved.