Class Key
java.lang.Object
com.bazaarvoice.jolt.defaultr.Key
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final Key.KeyPrecedenceComparatorprotected Objectprivate OPSprivate static final Stringprivate intprivate intprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidapplyChild(Object container) Apply this Key to the defaultee.voidapplyChildren(Object defaultee) This is the main "recursive" method.protected abstract intgetOp()intintbooleanFactory-ish method that recursively processes a Mapinvalid input: '<'String, Object> into a Setobjects. processSpec(boolean parentIsArray, Map<String, Object> spec) Recursively walk the spec input tree.
-
Field Details
-
OR_INPUT_REGEX
- See Also:
-
keyComparator
-
isArrayOutput
private boolean isArrayOutput -
op
-
orCount
private int orCount -
outputArraySize
private int outputArraySize -
children
-
literalValue
-
rawKey
-
keyStrings
-
-
Constructor Details
-
Key
-
-
Method Details
-
parseSpec
-
processSpec
-
applyChildren
This is the main "recursive" method. The defaultee should never be null, because the defaultee wasn't null, it was null and we created it, OR there was a mismatch between the Defaultr Spec and the input, and we didn't recurse. -
getLiteralIntKey
protected abstract int getLiteralIntKey() -
applyChild
Apply this Key to the defaultee. If this Key is a WildCard key, this may apply to many entries in the container. -
getOrCount
public int getOrCount() -
isArrayOutput
public boolean isArrayOutput() -
getOp
-
getOutputArraySize
public int getOutputArraySize() -
createOutputContainerObject
-