Package org.exist.storage.btree

Examples of org.exist.storage.btree.IndexQuery


                    final int collectionId = ( ( Collection )i.next() ).getId();

                    //Compute a key for the start value in the collection
                    if( stringType ) {
                        final Value startKey = new QNameValue( collectionId, qnames[j], start, broker.getBrokerPool().getSymbols() );
                        final IndexQuery  query    = new IndexQuery( IndexQuery.TRUNC_RIGHT, startKey );
                        dbValues.query( query, cb );
                    } else {
                        final Value      startKey  = new QNameValue( collectionId, qnames[j], start, broker.getBrokerPool().getSymbols() );
                        final Value      prefixKey = new QNamePrefixValue( collectionId, qnames[j], start.getType(), broker.getBrokerPool().getSymbols() );
                        final IndexQuery query     = new IndexQuery( IndexQuery.GEQ, startKey );
                        dbValues.query( query, prefixKey, cb );
                    }
                }
                catch( final EXistException e ) {
                    LOG.error( e.getMessage(), e );
View Full Code Here

TOP

Related Classes of org.exist.storage.btree.IndexQuery

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.