Examples of reverseLookup()


Examples of org.apache.ldap.server.partition.impl.btree.Index.reverseLookup()

               
                /*
                 * If there is no value for id in this index due to our
                 * drop above we remove the oldRdnAttr from the existance idx
                 */
                if ( null == idx.reverseLookup( id ) )
                {
                    existanceIdx.drop( oldRdnAttr, id );
                }
            }
        }
View Full Code Here

Examples of org.openbel.framework.core.indexer.JDBMEquivalenceLookup.reverseLookup()

    private String doFindEquivalence(final String destinationNamespace,
            final SkinnyUUID sourceUUID) {
        JDBMEquivalenceLookup destinationLookup = openEquivalences
                .get(destinationNamespace);

        return destinationLookup.reverseLookup(sourceUUID);
    }

    private void openEquivalence(final String namespaceResourceLocation)
            throws ResourceDownloadError, IndexingFailure, IOException {
        // if we've opened an equivalence for this namespace, do nothing.
View Full Code Here

Examples of org.openbel.framework.core.indexer.JDBMNamespaceLookup.reverseLookup()

            JDBMNamespaceLookup jdbmLookup =
                    new JDBMNamespaceLookup(indexPath.getAbsolutePath());
            jdbmLookup.open();

            assertEquals(1, jdbmLookup.getRecordCount());
            assertEquals(key, jdbmLookup.reverseLookup(value));

            jdbmLookup.close();
        } catch (Exception e) {
            e.printStackTrace();
            fail(e.getMessage());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.