ModuleFetchResult

com.kesoftware.imu.ModuleFetchResult

com.kesoftware.imu.ModuleFetchResult

Since: 1.0

Description

Provides results from a call to the Module fetch( ) method.

Properties

Property

Details

count

The number of records returned in the result set.

Getter:

int getCount()

hits

The best estimate of the size of the result set after the fetch method has completed.

When the Module object generates a result set using findTerms( ) or findWhere( ), the number of matches is occasionally an overestimate of the true number of matches.

After the fetch( ) method has been called, the IMu server may have a better estimate of the true number of matches so it is included in the result set.

Getter:

long getHits()

rows

The array of the records actually fetched. Each record is represented by a Map object, with the map keys being the names of the columns requested in thefetch( ).

Getter:

Map[] getRows()