Class VarRef
- java.lang.Object
-
- io.github.willena.influxql.ast.expr.VarRef
-
- All Implemented Interfaces:
Expression
,Node
public class VarRef extends Object implements Expression
Reference to variable of name of field / alias
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VarRef
of(String expr)
Build a reference given its name and datatypestatic VarRef
of(String expr, DataType type)
Build a reference given its name and datatypeString
toString()
Convert the current Node to an influxql String that the parser must be able to read.
-
-
-
Method Detail
-
of
public static VarRef of(String expr)
Build a reference given its name and datatype- Parameters:
expr
- ref name- Returns:
- a VarRef
-
of
public static VarRef of(String expr, DataType type)
Build a reference given its name and datatype- Parameters:
expr
- ref nametype
- type- Returns:
- a VarRef
-
-