Package lupos.engine.operators.index.adaptedRDF3X.RDF3XIndexScan

Examples of lupos.engine.operators.index.adaptedRDF3X.RDF3XIndexScan.CollationOrder


    for (final Variable v : plan.getOrder()) {
      collationOrder1[i1] = index1.getTriplePattern().iterator().next().getPos(v);
      i1++;
    }
    collationOrder1 = fill(collationOrder1, i1);
    final CollationOrder co1 = getCollationOrder(collationOrder1);

    index1.setCollationOrder(co1);
    return index1;
  }
View Full Code Here


      final SixIndices indices = new SixIndices(defaultGraphs.iterator().next());

      for(int primaryPos=0; primaryPos<3; primaryPos++) {
        final int other_condition1 = (primaryPos==0)?1:0;
        final int other_condition2 = (primaryPos==2)?1:2;
        final CollationOrder order1 = CollationOrder.valueOf(FastRDF3XIndexConstruction.map[primaryPos] + FastRDF3XIndexConstruction.map[other_condition1] + FastRDF3XIndexConstruction.map[other_condition2]);
        final String prefixFilename = dir + FastRDF3XIndexConstruction.map[primaryPos] + "_Final_Run_";
        indices.generate(order1, new GeneratorFromFinalRun(prefixFilename + FastRDF3XIndexConstruction.map[other_condition1] + FastRDF3XIndexConstruction.map[other_condition2], size, primaryPos, other_condition1, other_condition2));
        indices.generateStatistics(order1);

        final CollationOrder order2 = CollationOrder.valueOf(FastRDF3XIndexConstruction.map[primaryPos] + FastRDF3XIndexConstruction.map[other_condition2] + FastRDF3XIndexConstruction.map[other_condition1]);
        indices.generate(order2, new GeneratorFromFinalRun(prefixFilename + FastRDF3XIndexConstruction.map[other_condition2] + FastRDF3XIndexConstruction.map[other_condition1], size, primaryPos, other_condition2, other_condition1));
        indices.generateStatistics(order2);
      }

      indices.constructCompletely();
View Full Code Here

TOP

Related Classes of lupos.engine.operators.index.adaptedRDF3X.RDF3XIndexScan.CollationOrder

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.