void function ( ) { assertOpen ( ) ; if ( db == null ) { throw new UnsupportedOperationException ( ) ; } if ( current == null ) { throw new IllegalStateException ( ) ; } db . removeStatements ( new ISPO [ ] { current } , 1 ) ; current = null ; }
removes the last statement visited from the database non-batch api . note if you are trying to remove a set of statements then you are much better off collecting up a set of spos to be removed and then batching the remove requests on all indices in parallel . concode_field_sep ISPO[] stmts concode_elem_sep IKeyOrder<ISPO> keyOrder concode_elem_sep int numStmts concode_elem_sep ISPO current concode_elem_sep long MAX_CAPACITY concode_elem_sep boolean open concode_elem_sep int i concode_elem_sep AbstractTripleStore db concode_field_sep ISPO next concode_elem_sep IKeyOrder<ISPO> getKeyOrder concode_elem_sep ISPO[] array concode_elem_sep int getStatementCount concode_elem_sep ISPO[] nextChunk concode_elem_sep ISPO[] nextChunk concode_elem_sep boolean hasNext concode_elem_sep void close concode_elem_sep void assertOpen