Package com.bazaarvoice.jolt.defaultr
Class MapKey
- java.lang.Object
-
- com.bazaarvoice.jolt.defaultr.Key
-
- com.bazaarvoice.jolt.defaultr.MapKey
-
public class MapKey extends Key
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.bazaarvoice.jolt.defaultr.Key
Key.KeyPrecedenceComparator
-
-
Field Summary
-
Fields inherited from class com.bazaarvoice.jolt.defaultr.Key
children, keyStrings, literalValue, rawKey
-
-
Constructor Summary
Constructors Constructor Description MapKey(java.lang.String jsonKey, java.lang.Object spec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyChild(java.lang.Object container)
Apply this Key to the defaultee.private void
applyLiteralKeyToContainer(java.lang.String literalKey, java.util.Map<java.lang.String,java.lang.Object> container)
private java.util.Collection<java.lang.String>
determineMatchingContainerKeys(java.util.Map<java.lang.String,java.lang.Object> container)
protected int
getLiteralIntKey()
-
Methods inherited from class com.bazaarvoice.jolt.defaultr.Key
applyChildren, createOutputContainerObject, getOp, getOrCount, getOutputArraySize, isArrayOutput, parseSpec
-
-
-
-
Method Detail
-
getLiteralIntKey
protected int getLiteralIntKey()
- Specified by:
getLiteralIntKey
in classKey
-
applyChild
protected void applyChild(java.lang.Object container)
Description copied from class:Key
Apply this Key to the defaultee. If this Key is a WildCard key, this may apply to many entries in the container.- Specified by:
applyChild
in classKey
-
applyLiteralKeyToContainer
private void applyLiteralKeyToContainer(java.lang.String literalKey, java.util.Map<java.lang.String,java.lang.Object> container)
-
determineMatchingContainerKeys
private java.util.Collection<java.lang.String> determineMatchingContainerKeys(java.util.Map<java.lang.String,java.lang.Object> container)
-
-