if ( BTreeRedirectMarshaller.isRedirect( serialized ) ) BTree tree = getBTree( BTreeRedirectMarshaller.INSTANCE.deserialize( serialized ) ); this.count -= tree.size();
bt.insert( key, ( V ) BTreeRedirectMarshaller.INSTANCE.serialize( redirect ), true );
DupsContainer<V> getDupsContainer( byte[] serialized ) throws LdapException { if ( serialized == null ) { return new DupsContainer<V>( new ArrayTree<V>( valueComparator ) ); } if ( BTreeRedirectMarshaller.isRedirect( serialized ) ) { try { return new DupsContainer<V>( BTreeRedirectMarshaller.INSTANCE.deserialize( serialized ) ); } catch ( IOException ioe ) { throw new LdapOtherException( ioe.getMessage() ); } } try { return new DupsContainer<V>( marshaller.deserialize( serialized ) ); } catch ( IOException ioe ) { throw new LdapOtherException( ioe.getMessage() ); } }
if ( BTreeRedirectMarshaller.isRedirect( serialized ) ) BTree tree = getBTree( BTreeRedirectMarshaller.INSTANCE.deserialize( serialized ) ); return new KeyBTreeCursor<>( tree, valueComparator );
if ( BTreeRedirectMarshaller.isRedirect( serialized ) ) BTree tree = getBTree( BTreeRedirectMarshaller.INSTANCE.deserialize( serialized ) ); return new KeyTupleBTreeCursor<>( tree, key, valueComparator );