Examples of descend()


Examples of com.db4o.query.Query.descend()

  @SuppressWarnings("unchecked")
  private ISearchMark getSearchMark(ISearchCondition searchCondition) {
    Query query = fDb.query();
    query.constrain(ISearchMark.class);
    query.descend("fSearchConditions").constrain(searchCondition);
    List<ISearchMark> marks = query.execute();
    if (marks.size() != 1)
      throw new IllegalStateException("searchCondition has less than or more than 1 parent ISearchMark");

    return marks.get(0);
View Full Code Here

Examples of com.mobixess.jodb.soda.api.Query.descend()

            sessionContainer = getContainerForFile(testFile);
        }
       
        query = sessionContainer.query();
       
        query.descend("_val1").constrain(objectWithString._val1).not();
       
        list = query.execute();
       
        if(list.size()!=1){
            throw new RuntimeException();
View Full Code Here

Examples of dovetaildb.bagindex.BlueSteelBagIndex.MemoryTokenTable.descend()

    root=BlueSteelBagIndex.applyEditsToTokenTable(edits, root, new ProbabilisticBalancingPolicy(10, 0.5f, 0.0f), 2); // "2" here means we get three tiers

    SlicedBytes sb;
    TokenRec tr;
    sb = new SlicedBytes(ArrayBytes.fromString("brot"), 0, 4);
    tr = root.descend(sb);
    assertEquals(3, sb.getSlicePosition());
    assertEquals('o', (char)tr.token);
   
    sb = new SlicedBytes(ArrayBytes.fromString("bro"), 0, 3);
    tr = root.descend(sb);
View Full Code Here

Examples of dovetaildb.bagindex.BlueSteelBagIndex.TokenTable.descend()

    root=BlueSteelBagIndex.applyEditsToTokenTable(edits, root, new ProbabilisticBalancingPolicy(10, 0.5f, 0.0f), 2); // "2" here means we get three tiers

    SlicedBytes sb;
    TokenRec tr;
    sb = new SlicedBytes(ArrayBytes.fromString("brot"), 0, 4);
    tr = root.descend(sb);
    assertEquals(3, sb.getSlicePosition());
    assertEquals('o', (char)tr.token);
   
    sb = new SlicedBytes(ArrayBytes.fromString("bro"), 0, 3);
    tr = root.descend(sb);
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.