public class YahooExecution extends Object implements ResultSetExecution
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_PROP_HTTP_PROXY_HOST |
static String |
JAVA_PROP_HTTP_PROXY_PORT |
| Constructor and Description |
|---|
YahooExecution(Select query) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
protected List<List<?>> |
executeUrl(String yahooUrl) |
List<?> |
next()
Retrieves the next row of the resultset.
|
public static final String JAVA_PROP_HTTP_PROXY_HOST
public static final String JAVA_PROP_HTTP_PROXY_PORT
public YahooExecution(Select query)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionprotected List<List<?>> executeUrl(String yahooUrl) throws TranslatorException
yahooUrl - TranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.