public class HTMLWrapperProxy extends Object
| Constructor and Description |
|---|
HTMLWrapperProxy(com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.HTMLWrapperVO wrapperVO,
com.denodo.vdb.vdbinterface.common.datasource.VDBDataSource dataSource,
boolean sameConnection)
Creates a proxy to a wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkObligatoryParams(Map params)
Checks all mandatory parameters have a valid value.
|
boolean |
checkQueryParams(Map params)
Validates the query parameters.
|
boolean |
checkSearchableParams(Map params)
Validates all the query parameters are searchable fields of the wrapper.
|
void |
close()
Closes the common connection if it exists.
|
boolean |
getAutoDeploy()
Returns the value of the autodeploy option.
|
boolean |
getDenodoBrowserOptimization()
Returns the value of the httpOptimization option.
|
com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.HTMLWrapperVO |
getHTMLWrapperVO()
Returns the wrapper.
|
boolean |
getMaintenance()
Returns the value of the maintenance option.
|
boolean |
getPassThrough()
Returns the value of the passthrough option.
|
boolean |
getRegenerate()
Returns the value of the regenerate option.
|
HTMLWrapperMetaRegisterRawVO |
getSchema()
Returns the wrapper schema.
|
Collection |
getSearchableFields()
Returns the names of the searchable fields.
|
Collection |
getSearchableObligatoryFields()
Returns the names of the mandatory fields.
|
Collection |
getSensitiveFields()
Return the names of the sensitive (hidden) fields.
|
String |
getVQL()
Returns the VQL of the wrapper.
|
String |
getVQL(boolean includeScanners)
Returns the VQL of the wrapper.
|
String |
getVQL(boolean includeScanners,
boolean includeJars)
Returns the VQL of the wrapper.
|
String |
getVQL(boolean includeScanners,
boolean includeJars,
boolean includeCustomComponents)
Returns the VQL of the wrapper.
|
boolean |
isRegenerable()
Returns the value of the regenerable option.
|
HTMLWrapperResultIterator |
query(Map params)
Executes a query and returns an async iterator.
|
void |
setAutoDeploy(boolean autodeploy)
Deprecated.
|
void |
setDenodoBrowserOptimization(boolean httpOptimization)
Changes the value of the httpOptimization option.
|
void |
setMaintenance(boolean maintenance)
Deprecated.
|
void |
setMaintenance(boolean maintenance,
boolean regenerate,
boolean autodeploy)
Deprecated.
|
void |
setMaintenanceOptions(boolean regenerate,
boolean autodeploy)
Deprecated.
|
void |
setPassThrough(boolean passThrough)
Changes the value of the PASSTHROUGH option.
|
void |
setRegenerate(boolean regenerate)
Deprecated.
|
void |
setVerification(boolean verification)
Changes the value of the property that indicates if the wrapper uses
automatic maintenance.
|
public HTMLWrapperProxy(com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.HTMLWrapperVO wrapperVO,
com.denodo.vdb.vdbinterface.common.datasource.VDBDataSource dataSource,
boolean sameConnection)
throws ITPilotClientException
wrapperVO - an object containing the wrapper metadata.dataSource - the dataSource used to obtain the connections to the
Wrapper Server.sameConnection - if true the proxy uses a common connection,
otherwise creates a new connection for each operation.ITPilotClientException - if an error occurs.public HTMLWrapperResultIterator query(Map params) throws ITPilotClientException, InvalidParametersException
params - parameters of the query.ITPilotClientException - if an error occurs.InvalidParametersException - if the parameters are not valid for
the wrapper.public boolean checkQueryParams(Map params)
params - query parameters.public boolean checkObligatoryParams(Map params)
params - query parameters.public boolean checkSearchableParams(Map params)
params - query parameters.@Deprecated public void setMaintenance(boolean maintenance) throws ITPilotClientException
maintenance - if true the wrapper uses automatic maintenance.ITPilotClientException - if an error occurs.public void setVerification(boolean verification)
throws ITPilotClientException
verification - if true the wrapper uses automatic maintenance.ITPilotClientException - if an error occurs.@Deprecated public void setMaintenanceOptions(boolean regenerate, boolean autodeploy) throws ITPilotClientException
regenerate - if true the wrapper will be automatically regenerated
when a source change is detected.autodeploy - if true the regenerated wrapper will be installed in
the server, replacing the old version.ITPilotClientException - if an error occurs.@Deprecated public void setMaintenance(boolean maintenance, boolean regenerate, boolean autodeploy) throws ITPilotClientException
maintenance - if true the wrapper uses automatic maintenance.regenerate - if true the wrapper will be automatically regenerated
when a source change is detected.autodeploy - if true the regenerated wrapper will be installed in
the server, replacing the old version.ITPilotClientException - if an error occurs.@Deprecated public void setRegenerate(boolean regenerate) throws ITPilotClientException
regenerate - if true the wrapper will be automatically regenerated
when a source change is detected.ITPilotClientException - if an error occurs.@Deprecated public void setAutoDeploy(boolean autodeploy) throws ITPilotClientException
autodeploy - if true the regenerated wrapper will be installed in
the server, replacing the old version.ITPilotClientException - if an error occurs.public void setDenodoBrowserOptimization(boolean httpOptimization)
throws ITPilotClientException
httpOptimization - if true, the wrapper will use the optimization data
in denodo browser based sequences.ITPilotClientException - if an error occurs.public boolean getDenodoBrowserOptimization()
public void setPassThrough(boolean passThrough)
throws ITPilotClientException
passThrough - if true, the wrapper will use passthrough credentials.ITPilotClientException - if an error occurs.public boolean getPassThrough()
public boolean getMaintenance()
public boolean getRegenerate()
public boolean getAutoDeploy()
public boolean isRegenerable()
public HTMLWrapperMetaRegisterRawVO getSchema()
public com.denodo.vdb.vdbinterface.common.clientResult.vo.descriptions.wrapper.HTMLWrapperVO getHTMLWrapperVO()
public Collection getSearchableFields()
public Collection getSearchableObligatoryFields()
public Collection getSensitiveFields()
public String getVQL() throws ITPilotClientException
ITPilotClientException - if an error occurs.public String getVQL(boolean includeScanners) throws ITPilotClientException
includeScanners - true if the vql includes the scanners used by the
wrapper.ITPilotClientException - if an error occurs.public String getVQL(boolean includeScanners, boolean includeJars) throws ITPilotClientException
includeScanners - true if the vql includes the scanners used by the
wrapper.includeJars - true if the vql includes the extensions used by the
wrapper.ITPilotClientException - if an error occurs.public String getVQL(boolean includeScanners, boolean includeJars, boolean includeCustomComponents) throws ITPilotClientException
includeScanners - true if the vql includes the scanners used by the
wrapper.includeJars - true if the vql includes the extensions used by the
wrapper.includeCustomComponents - true if the vql includes the custom
components used by the wrapper.ITPilotClientException - if an error occurs.public void close()
throws ITPilotClientException
ITPilotClientException - if an error occurs.Copyright © 2024 Denodo Technologies. All rights reserved.