Package com.bazaarvoice.jolt.modifier
Class DataType.LIST
- java.lang.Object
-
- com.bazaarvoice.jolt.modifier.DataType
-
- com.bazaarvoice.jolt.modifier.DataType.LIST
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.bazaarvoice.jolt.modifier.DataType
DataType.LIST, DataType.MAP, DataType.RUNTIME
-
-
Field Summary
Fields Modifier and Type Field Description private intmaxIndexFromSpec
-
Constructor Summary
Constructors Modifier Constructor Description privateLIST(int maxIndexFromSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectcreateValue()MAP and LIST types overrides this method to return appropriate new map or listjava.lang.Integerexpand(java.lang.Object input)LIST overrides this method to expand the source (list) such that in can support an index specified in spec that is outside the range input list, returns original size of the inputbooleanisCompatible(java.lang.Object input)Determines if an input is compatible with current DataType-
Methods inherited from class com.bazaarvoice.jolt.modifier.DataType
create, determineDataType
-
-
-
-
Method Detail
-
createValue
protected java.lang.Object createValue()
Description copied from class:DataTypeMAP and LIST types overrides this method to return appropriate new map or list- Specified by:
createValuein classDataType
-
expand
public java.lang.Integer expand(java.lang.Object input)
Description copied from class:DataTypeLIST overrides this method to expand the source (list) such that in can support an index specified in spec that is outside the range input list, returns original size of the input
-
isCompatible
public boolean isCompatible(java.lang.Object input)
Description copied from class:DataTypeDetermines if an input is compatible with current DataType- Specified by:
isCompatiblein classDataType
-
-