public override int PullResults()
{
if ( isQueryResultStillOutstanding )
{
// default to returning a high count. will be set otherwise if the query runs
LastFragmentCount = 100000;
if ( isSupported )
{
while ( !query.CheckStatus( true ) )
;
LastFragmentCount = query.GetData<int>( true );
}
isQueryResultStillOutstanding = false;
}
return LastFragmentCount;
}