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 anInputStream
with the content of the resource pointed by the route.com.denodo.parser.connection.Route
getRoute()
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:
getValue
in 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 anInputStream
with the content of the resource pointed by the route. The user has to close theInputStream
in order to release the system resources.- Returns:
- an
InputStream
with 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
-