@UriParams public class YqlConfiguration extends Object
Constructor and Description |
---|
YqlConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getCallback() |
String |
getCrossProduct() |
String |
getEnv() |
String |
getFormat() |
String |
getJsonCompat() |
String |
getQuery() |
boolean |
isDebug() |
boolean |
isDiagnostics() |
boolean |
isHttps() |
boolean |
isThrowExceptionOnFailure() |
void |
setCallback(String callback)
The name of the JavaScript callback function for JSONP format.
|
void |
setCrossProduct(String crossProduct)
When given the value optimized, the projected fields in SELECT statements that may be returned in separate item elements in the response are optimized to be in a single item element instead.
|
void |
setDebug(boolean debug)
If true, and if diagnostic is set to true, debug data is returned with the response.
|
void |
setDiagnostics(boolean diagnostics)
If true, diagnostic information is returned with the response.
|
void |
setEnv(String env)
Allows you to use multiple Open Data Tables through a YQL environment file.
|
void |
setFormat(String format)
The expected format.
|
void |
setHttps(boolean https)
Option to use HTTPS to communicate with YQL.
|
void |
setJsonCompat(String jsonCompat)
Enables lossless JSON processing.
|
void |
setQuery(String query)
The YQL statement to execute.
|
void |
setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
Option to disable throwing the YqlHttpException in case of failed responses from the remote server.
|
public String getQuery()
public void setQuery(String query)
public String getFormat()
public void setFormat(String format)
public String getCallback()
public void setCallback(String callback)
public String getCrossProduct()
public void setCrossProduct(String crossProduct)
public boolean isDiagnostics()
public void setDiagnostics(boolean diagnostics)
public boolean isDebug()
public void setDebug(boolean debug)
public String getEnv()
public void setEnv(String env)
public String getJsonCompat()
public void setJsonCompat(String jsonCompat)
public boolean isThrowExceptionOnFailure()
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
public boolean isHttps()
public void setHttps(boolean https)
Apache Camel