|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.xquery.util.Variables
public final class Variables
Variables.
| Constructor Summary | |
|---|---|
Variables()
|
|
| Method Summary | |
|---|---|
void |
add(Var v)
Indexes a local variable. |
void |
addGlobal(Var v)
Indexes a global variable. |
void |
comp(XQContext ctx)
Compiles the functions. |
Var |
get(Var var)
Finds the specified variable. |
Vars |
getGlobal()
Returns the global variables. |
void |
plan(Serializer ser)
Serializes the variables. |
void |
reset(int s)
Sets the number of local variables. |
int |
size()
Returns the current number of local variables. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Variables()
| Method Detail |
|---|
public void addGlobal(Var v)
v - variablepublic Vars getGlobal()
public void add(Var v)
v - variablepublic Var get(Var var)
var - variable
public int size()
public void reset(int s)
s - number of variables to be set
public void comp(XQContext ctx)
throws XQException
ctx - xquery context
XQException - xquery exceptionpublic java.lang.String toString()
toString in class java.lang.Object
public void plan(Serializer ser)
throws java.io.IOException
ser - serializer
java.io.IOException - exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||