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
Execution
execute
in interface Execution
TranslatorException
protected List<List<?>> executeUrl(String yahooUrl) throws TranslatorException
yahooUrl
- TranslatorException
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
Copyright © 2017 JBoss by Red Hat. All rights reserved.