public interface TapWith<Config,Input,Output>
Each method is a factory for creating a new instance where the given parameter overrides the existing value.
Thus to open a file underneath the directory this Tap (that implements FileType
) represents, call
withChildIdentifier(String)
to get a new Tap instance that will resolve the relative path with the current
path and return a new instance.
Modifier and Type | Method and Description |
---|---|
default Tap<Config,Input,Output> |
asTap()
Method asTap is a convenience method that returns this instance cast to the Tap class.
|
TapWith<Config,Input,Output> |
withChildIdentifier(java.lang.String identifier)
Method withChildIdentifier returns a new instance using the given identifier value.
|
TapWith<Config,Input,Output> |
withScheme(Scheme<Config,Input,Output,?,?> scheme)
Method withScheme returns a new instance using the given scheme.
|
TapWith<Config,Input,Output> |
withSinkMode(SinkMode sinkMode)
Method withSinkMode retuns a new instance using the given sinkMode value.
|
TapWith<Config,Input,Output> withScheme(Scheme<Config,Input,Output,?,?> scheme)
scheme
- of type SchemeTapWith<Config,Input,Output> withChildIdentifier(java.lang.String identifier)
If the current identifier and the given identifier have no common base, the given identifier is resolved against the current identifier.
identifier
- of type StringTapWith<Config,Input,Output> withSinkMode(SinkMode sinkMode)
sinkMode
- of type SinkModeCopyright © 2007-2017 Cascading Maintainers. All Rights Reserved.