public class LocationMapper extends Object implements Function<LocationInfo,Optional<String>>
LocationInfo
to Hadoop file location.Constructor and Description |
---|
LocationMapper(Map<String,String> prefixMap)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Optional<String> |
apply(LocationInfo location) |
Optional<String> |
findInvalidSequence(String location)
Returns invalid sequence in the location.
|
public Optional<String> apply(LocationInfo location)
apply
in interface Function<LocationInfo,Optional<String>>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.