-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionuse
ResponseProcessor.getFieldNames()and support multiple values instead. Gets the field name this ResponseProcessor uses.useResponseProcessor.process(List)and support multiple values instead. Returns Optional.empty() if it failed to process out a response.Response processors should be immutable; downstream objects assume that they are Set the field name this ResponseProcessor uses.In a future release this API will change, in the meantime this is the correct way to get a row processor with clean state.When using regexMappingProcessors, RowProcessor is stateful in a way that can sometimes make it fail the second time it is used. Concretely:
RowProcessor rp; Dataset ds1 = new MutableDataset(new CSVDataSource(csvfile1, rp)); Dataset ds2 = new MutableDataset(new CSVDataSource(csvfile2, rp)); // this may fail due to state in rpThis method returns a RowProcessor with clean state and the same configuration as this row processor.
-
Deprecated ConstructorsConstructorDescriptionPrefer
RowProcessor.Builderto many-argument constructorsPreferRowProcessor.Builderto many-argument constructorsPreferRowProcessor.Builderto many-argument constructorsPreferRowProcessor.Builderto many-argument constructors
CSVDataSource. This provenance is kept so older models can still load correctly.