public abstract class ConnectionFilter extends Object
CustomConnectionFilter
.Modifier and Type | Field and Description |
---|---|
protected ConnectionFilter |
nextFilter |
protected HashMap<String,Object> |
parameters |
Constructor and Description |
---|
ConnectionFilter() |
Modifier and Type | Method and Description |
---|---|
InputStream |
doFilter(InputStream in) |
protected abstract InputStream |
execute(InputStream in)
The Execution Engine invokes this method every time a query involves a base view of the data source that has this
filter assigned.
|
ConnectionFilter |
getNextFilter() |
HashMap<String,Object> |
getParameters()
Returns the input parameters of the filter.
|
abstract String |
getVQLName() |
void |
setNextFilter(ConnectionFilter nextFilter) |
void |
setParameters(HashMap<String,Object> parameters) |
protected ConnectionFilter nextFilter
public final void setNextFilter(ConnectionFilter nextFilter)
public final ConnectionFilter getNextFilter()
public final HashMap<String,Object> getParameters()
public final InputStream doFilter(InputStream in) throws com.denodo.util.exceptions.InternalErrorException
com.denodo.util.exceptions.InternalErrorException
protected abstract InputStream execute(InputStream in) throws com.denodo.util.exceptions.InternalErrorException
The Execution Engine invokes this method every time a query involves a base view of the data source that has this filter assigned.
In this method you have to read the data of the InputStream
parameter and return another
InputStream
with the data transformed.
an
- InputStream
that provides the data from the source.InputStream
that returns the data transformed by the filter.com.denodo.util.exceptions.InternalErrorException
public abstract String getVQLName()
Copyright © 2019 Denodo Technologies. All rights reserved.