Interface MatchablePathElement
-
- All Superinterfaces:
PathElement
- All Known Subinterfaces:
StarPathElement
- All Known Implementing Classes:
AmpPathElement
,ArrayPathElement
,AtPathElement
,DollarPathElement
,HashPathElement
,LiteralPathElement
,StarAllPathElement
,StarDoublePathElement
,StarRegexPathElement
,StarSinglePathElement
,TransposePathElement
public interface MatchablePathElement extends PathElement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatchedElement
match(java.lang.String dataKey, WalkedPath walkedPath)
See if this PathElement matches the given dataKey.-
Methods inherited from interface com.bazaarvoice.jolt.common.pathelement.PathElement
getCanonicalForm, getRawKey
-
-
-
-
Method Detail
-
match
MatchedElement match(java.lang.String dataKey, WalkedPath walkedPath)
See if this PathElement matches the given dataKey. If it does not match, this method returns null. If this PathElement does match, it returns a LiteralPathElement with subKeys filled in.- Parameters:
dataKey
- String key value from the input datawalkedPath
- "up the tree" list of LiteralPathElements, that may be used by this key as it is computing its match- Returns:
- null or a matched LiteralPathElement
-
-