question: static public void assertStatementIndicesConsistent ( final AbstractTripleStore db , final int maxerrors ) { if ( log . isInfoEnabled ( ) ) log . info ( "Verifying statement indices" ) ; final AtomicInteger nerrs = new AtomicInteger ( 0 ) ; final int from , to ; if ( db . getSPOKeyArity ( ) == 3 ) { from = SPOKeyOrder . FIRST_TRIPLE_INDEX ; to = SPOKeyOrder . LAST_TRIPLE_INDEX ; } else { from = SPOKeyOrder . FIRST_QUAD_INDEX ; to = SPOKeyOrder . LAST_QUAD_INDEX ; } for ( int i = from ; i <= to ; i ++ ) { for ( int j = from ; j <= to ; j ++ ) { if ( i <= j ) { continue ; } assertSameStatements ( db , SPOKeyOrder . valueOf ( i ) , SPOKeyOrder . valueOf ( j ) , nerrs , maxerrors ) ; } } assertEquals ( 0 , nerrs . get ( ) ) ; }
target:  Validates that the same statements are found in each of the statement indices.