Package org.apache.ldap.server.db

Examples of org.apache.ldap.server.db.IndexEnumeration


     * @see Index#listReverseIndices(BigInteger)
     */
    public IndexEnumeration listReverseIndices( BigInteger id )
        throws NamingException
    {
        return new IndexEnumeration( reverse.listTuples( id ), true );
    }
View Full Code Here


     * @see Index#listIndices()
     */
    public IndexEnumeration listIndices()
        throws NamingException
    {
        return new IndexEnumeration( forward.listTuples() );
    }
View Full Code Here

     * @see org.apache.ldap.server.db.Index#listIndices(java.lang.Object)
     */
    public IndexEnumeration listIndices( Object attrVal )
        throws NamingException
    {
        return new IndexEnumeration( forward.listTuples(
            getNormalized( attrVal ) ) );
    }
View Full Code Here

     * boolean)
     */
    public IndexEnumeration listIndices( Object attrVal,
        boolean isGreaterThan ) throws NamingException
    {
        return new IndexEnumeration( forward.listTuples(
            getNormalized( attrVal ), isGreaterThan ) );
    }
View Full Code Here

     * @see Index#listIndices(org.apache.regexp.RE)
     */
    public IndexEnumeration listIndices( RE regex )
        throws NamingException
    {
        return new IndexEnumeration( forward.listTuples(), false, regex );
    }
View Full Code Here

     * java.lang.String)
     */
    public IndexEnumeration listIndices( RE regex, String prefix )
        throws NamingException
    {
        return new IndexEnumeration( forward.listTuples(
            getNormalized( prefix ), true ), false, regex );
    }
View Full Code Here

     * java.math.BigInteger)
     */
    public boolean hasValue( RE regex, BigInteger id )
        throws NamingException
    {
        IndexEnumeration list = new IndexEnumeration(
            reverse.listTuples( id ), true, regex );
        boolean hasValue = list.hasMore();
        list.close();
        return hasValue;
    }
View Full Code Here

TOP

Related Classes of org.apache.ldap.server.db.IndexEnumeration

Copyright © 2018 www.massapicom. 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.