Class CustomWrapperInputParameterRouteValue
java.lang.Object
com.denodo.vdb.engine.customwrapper.input.value.CustomWrapperInputParameterValue
com.denodo.vdb.engine.customwrapper.input.value.CustomWrapperInputParameterRouteValue
- Direct Known Subclasses:
CustomWrapperInputParameterAbfsRouteValue,CustomWrapperInputParameterFtpRouteValue,CustomWrapperInputParameterHadoopRouteValue,CustomWrapperInputParameterHttpRouteValue,CustomWrapperInputParameterLocalRouteValue,CustomWrapperInputParameterS3RouteValue,CustomWrapperInputParameterVariableRouteValue
Defines the actual value returned by a
CustomWrapperInputParameter of
route type.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns anInputStreamwith the content of the resource pointed by the route.com.denodo.parser.connection.RoutegetRoute()Returns the route type of the route value.getValue()Returns a textual representation of the route value.toString()Methods inherited from class com.denodo.vdb.engine.customwrapper.input.value.CustomWrapperInputParameterValue
getName
-
Field Details
-
route
protected com.denodo.parser.connection.Route route
-
-
Method Details
-
getValue
Returns a textual representation of the route value.- Specified by:
getValuein classCustomWrapperInputParameterValue- Returns:
- a textual representation of the route value.
-
getRouteType
Returns the route type of the route value.- Returns:
- the route type of the route value.
-
getInputStream
Returns anInputStreamwith the content of the resource pointed by the route. The user has to close theInputStreamin order to release the system resources.- Returns:
- an
InputStreamwith the content of the resource pointed by the route. - Throws:
CustomWrapperException- if the connection with the resource could not be established.
-
getRoute
public com.denodo.parser.connection.Route getRoute() -
toString
-