Package com.dbxml.db.common.btree

Examples of com.dbxml.db.common.btree.BTreeCallback


   public IndexMatch[] queryMatches(Transaction tx, final IndexQuery query) throws DBException {
      final List results = new ArrayList(128);
      final IndexPattern pattern = query.getPattern();

      try {
         query(tx, query, new BTreeCallback() {
            public void indexInfo(Value value, Value extra) {
               results.add(new IndexMatch(new Key(value), pattern));
            }
         });
      }
View Full Code Here


      // Now issue the query
      final List results = new ArrayList(128);

      try {
         query(tx, query, new BTreeCallback() {
            public void indexInfo(Value value, Value extra) {
               try {
                  IndexMatch match = getIndexMatch(extra);
                  if ( !wildcard )
                     results.add(match);
View Full Code Here

      // Now issue the query
      final List results = new ArrayList(128);

      try {
         query(tx, query, new BTreeCallback() {
            public void indexInfo(Value value, Value extra) {
               try {
                  IndexMatch match = getIndexMatch(extra);
                  if ( !wildcard )
                     results.add(match);
View Full Code Here

TOP

Related Classes of com.dbxml.db.common.btree.BTreeCallback

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.