Class ConcurrentTestCommandScript.VariableTable
- java.lang.Object
-
- org.apache.calcite.test.concurrent.ConcurrentTestCommandScript.VariableTable
-
- Enclosing class:
- ConcurrentTestCommandScript
private class ConcurrentTestCommandScript.VariableTable extends java.lang.Object
Symbol table of script variables.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ConcurrentTestCommandScript.VariableTable.Excn
Exception.
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>
map
private java.util.regex.Pattern
symbolPattern
-
Constructor Summary
Constructors Constructor Description VariableTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
define(java.lang.String sym, java.lang.String val)
java.lang.String
expand(java.lang.String in)
java.lang.String
get(java.lang.String sym)
boolean
isDefined(java.lang.String sym)
boolean
isEmpty()
void
set(java.lang.String sym, java.lang.String val)
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
isDefined
public boolean isDefined(java.lang.String sym)
-
define
public void define(java.lang.String sym, java.lang.String val)
-
get
public java.lang.String get(java.lang.String sym)
-
set
public void set(java.lang.String sym, java.lang.String val)
-
expand
public java.lang.String expand(java.lang.String in)
-
-