Package org.teiid.translator.yahoo
Class YahooExecution
- java.lang.Object
-
- org.teiid.translator.yahoo.YahooExecution
-
- All Implemented Interfaces:
org.teiid.translator.Execution,org.teiid.translator.ResultSetExecution
public class YahooExecution extends Object implements org.teiid.translator.ResultSetExecution
Represents the execution of a command.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJAVA_PROP_HTTP_PROXY_HOSTstatic StringJAVA_PROP_HTTP_PROXY_PORT
-
Constructor Summary
Constructors Constructor Description YahooExecution(org.teiid.language.Select query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidclose()voidexecute()protected List<List<?>>executeUrl(String yahooUrl)List<?>next()
-
-
-
Field Detail
-
JAVA_PROP_HTTP_PROXY_HOST
public static final String JAVA_PROP_HTTP_PROXY_HOST
- See Also:
- Constant Field Values
-
JAVA_PROP_HTTP_PROXY_PORT
public static final String JAVA_PROP_HTTP_PROXY_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute() throws org.teiid.translator.TranslatorException- Specified by:
executein interfaceorg.teiid.translator.Execution- Throws:
org.teiid.translator.TranslatorException
-
executeUrl
protected List<List<?>> executeUrl(String yahooUrl) throws org.teiid.translator.TranslatorException
- Parameters:
yahooUrl-- Returns:
- Throws:
org.teiid.translator.TranslatorException
-
next
public List<?> next() throws org.teiid.translator.TranslatorException, org.teiid.translator.DataNotAvailableException
- Specified by:
nextin interfaceorg.teiid.translator.ResultSetExecution- Throws:
org.teiid.translator.TranslatorExceptionorg.teiid.translator.DataNotAvailableException
-
close
public void close()
- Specified by:
closein interfaceorg.teiid.translator.Execution
-
cancel
public void cancel() throws org.teiid.translator.TranslatorException- Specified by:
cancelin interfaceorg.teiid.translator.Execution- Throws:
org.teiid.translator.TranslatorException
-
-