Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ListCall

fluentcodes edited this page Nov 19, 2018 · 1 revision

Home - Calls


Summary

ListCall.java is the base reading list type data and map it to Elastic Objects. It has a generic read and write method.

It contains the instance vars

ListMapper

The ListMapper class defines, how a raw list will be mapped to Elastic Objects. It has the following parameters, which are modifyable via attribute map.

name type description
colKeys List a list of keys
ignoreHeader boolean do not use header row for mapping.
models Models Map to an object. Default is Map or List
mapPath String> a (parametrized) map path
doMap boolean type of operation set/map if false/true
pathPattern PathPattern a filter for mapping

The generic ListCall read method call addList after a list object is retrieved.

ListParams

The ListParams is used to parametrize a List-IO read request. It has the following parameters which are modifiable via attribute map.

name type description
rowHead Integer the row of head information
rowStart Integer the row where the data will be put to a list result.
rowEnd Integer the row where the list result will be returned.
length Integer Alternative parameter to get rowEnd.
filter String A filter expression

fluentcodes - elastic objects - mvn repository



                  

Clone this wiki locally