code: private Map<ObjectID, List<ObjectID>> fetchLinks(TableDefinition tableDef, Collection<ObjectID> ids,
  			String link, int count) {
  		FieldDefinition linkField = tableDef.getFieldDef(link);
  		return SpiderHelper.getLinks(linkField, ids, null, true, count);
  	}
docs: Fetches first N links of the specified type for every specified entity.
  
  @param tableDef entity type
  @param keys     entity id list
  @param link     link name
  @param count    maximum size of the link list to be fetched for every entity
  @return         result of {@link #multiget_slice(List, ColumnParent, SlicePredicate)} execution