maxFeatures property

int maxFeatures

The maximum number of features the query should return.

For consistent ordering of results when using pagination, provide a value for RelatedQueryParameters.orderByFields. Note that if you provide a maximum features value to support paging of results, you must also set a QueryParameters.resultOffset value. Otherwise, the result may contain local features in place of server features if they satisfy the query. To ensure strict paging of server features, specify both maximum features and RelatedQueryParameters.resultOffset.

Implementation

int get maxFeatures {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_RelatedQueryParameters_getMaxFeatures(
      _handle,
      errorHandler,
    );
  });
}
void maxFeatures=(int value)

Implementation

set maxFeatures(int value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_RelatedQueryParameters_setMaxFeatures(
      _handle,
      value,
      errorHandler,
    );
  });
}