public class BaseXClient.Query extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
bind(String name,
String value)
Binds a value to an external variable.
|
void |
bind(String name,
String value,
String type)
Binds a value with the specified type to an external variable.
|
void |
close()
Closes the query.
|
void |
context(String value)
Binds a value to the context item.
|
void |
context(String value,
String type)
Binds a value with the specified type to the context item.
|
String |
execute()
Returns the whole result of the query.
|
String |
info()
Returns query info in a string.
|
boolean |
more()
Checks for the next item.
|
String |
next()
Returns the next item.
|
String |
options()
Returns serialization parameters in a string.
|
public void bind(String name, String value) throws IOException
name - name of variablevalue - valueIOException - I/O exceptionpublic void bind(String name, String value, String type) throws IOException
name - name of variablevalue - valuetype - type (can be an empty string)IOException - I/O exceptionpublic void context(String value) throws IOException
value - valueIOException - I/O exceptionpublic void context(String value, String type) throws IOException
value - valuetype - type (can be an empty string)IOException - I/O exceptionpublic boolean more()
throws IOException
IOException - I/O exceptionpublic String next() throws IOException
IOException - I/O Exceptionpublic String execute() throws IOException
IOException - I/O Exceptionpublic String info() throws IOException
IOException - I/O exceptionpublic String options() throws IOException
IOException - I/O exceptionpublic void close()
throws IOException
IOException - I/O exceptionCopyright © 2017. All rights reserved.