List < ObjectID > fetchLinks ( TableDefinition tableDef , ObjectID id , String link , ObjectID continuationLink , int count , String category ) { timers . start ( category + " links" , "Continuation" ) ; FieldDefinition linkField = tableDef . getFieldDef ( link ) ; List < ObjectID > list = SpiderHelper . getLinks ( linkField , id , continuationLink , true , count ) ; int resultCount = ( continuationLink == null ) ? list . size ( ) : list . size ( ) - 1 ; long time = timers . stop ( category + " links" , "Continuation" , resultCount ) ; log . debug ( "fetch {} {} continuation links ({})" , new Object [ ] { resultCount , category , Timer . toString ( time ) } ) ; return list ; }
Fetches the link list of the specified iterator category of the specified entity