setMaxScanEntries method (DominoQuery - Java)

Sets a new value for the DominoQuery property MaxScanEntries, the maximum allowed view entries scanned across all query terms.

Defined in

DominoQuery

Syntax

void setMaxScanEntries( int maxScanEntries ) throws NotesException

Parameters

int maxScanEntries

The maximum allowed view entries scanned across all query terms.

Returned value

None

Usage

Sets a new value for the DominoQuery property MaxScanEntries. To return current value, use getMaxScanEntries. MaxScanEntries is useful to limit or expand the resources consumed by a query, to either prevent runaway queries or allow long running queries when the impact of those queries would be minimal.

Language cross-reference

MaxScanEntries Property (NotesDominoQuery - LotusScript)