public class LocalQuery extends Query
QueryListener.| Modifier | Constructor and Description |
|---|---|
protected |
LocalQuery(java.lang.String q,
Context ctx,
java.io.OutputStream o)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.lang.String n,
java.lang.Object v,
java.lang.String t)
Binds a value with an optional type to an external variable.
|
protected void |
cache()
Caches the query result.
|
void |
close()
Closes the query.
|
void |
context(java.lang.Object v,
java.lang.String t)
Binds a value with an optional type to an external variable.
|
java.lang.String |
execute()
Returns the complete result of the query.
|
java.lang.String |
info()
Returns query info.
|
java.lang.String |
options()
Returns the serialization options.
|
boolean |
updating()
Returns
true if the query may perform updates. |
protected LocalQuery(java.lang.String q,
Context ctx,
java.io.OutputStream o)
null.q - query stringctx - database contexto - output stream to write query outputpublic void bind(java.lang.String n,
java.lang.Object v,
java.lang.String t)
throws java.io.IOException
Querypublic void context(java.lang.Object v,
java.lang.String t)
throws java.io.IOException
Queryprotected void cache()
throws java.io.IOException
Querypublic java.lang.String execute()
throws java.io.IOException
Querypublic java.lang.String info()
throws java.io.IOException
Querypublic java.lang.String options()
throws java.io.IOException
Querypublic boolean updating()
throws java.io.IOException
Querytrue if the query may perform updates.