public class IndexExpression extends Expression
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexExpression.IndexExpressionArrayAdapter |
static class |
IndexExpression.IndexExpressionIndexAdapter |
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ARRAY |
static String |
SERIALIZED_NAME_INDEX |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
IndexExpression() |
| Modifier and Type | Method and Description |
|---|---|
IndexExpression |
array(Expression array) |
boolean |
equals(Object o) |
Expression |
getArray()
Get array
|
Expression |
getIndex()
Get index
|
String |
getType()
Type of AST node
|
int |
hashCode() |
IndexExpression |
index(Expression index) |
void |
setArray(Expression array) |
void |
setIndex(Expression index) |
void |
setType(String type) |
String |
toString() |
IndexExpression |
type(String type) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_ARRAY
public static final String SERIALIZED_NAME_INDEX
public IndexExpression type(String type)
public String getType()
public void setType(String type)
public IndexExpression array(Expression array)
public Expression getArray()
public void setArray(Expression array)
public IndexExpression index(Expression index)
public Expression getIndex()
public void setIndex(Expression index)
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.