org.eclipse.rdf4j.query.algebra.Join.getLeftArg()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(104)

本文整理了Java中org.eclipse.rdf4j.query.algebra.Join.getLeftArg()方法的一些代码示例,展示了Join.getLeftArg()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Join.getLeftArg()方法的具体详情如下:
包路径:org.eclipse.rdf4j.query.algebra.Join
类名称:Join
方法名:getLeftArg

Join.getLeftArg介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation

public HashJoinIteration(EvaluationStrategy strategy, Join join, BindingSet bindings)
  throws QueryEvaluationException
{
  this(strategy, join.getLeftArg(), join.getRightArg(), bindings, false);
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-queryalgebra-evaluation

public HashJoinIteration(EvaluationStrategy strategy, Join join, BindingSet bindings)
  throws QueryEvaluationException
{
  this(strategy, join.getLeftArg(), join.getRightArg(), bindings, false);
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client

public Set<String> getBindingNames() {
  Set<String> bindingNames = new LinkedHashSet<String>(16);
  bindingNames.addAll(getLeftArg().getBindingNames());
  bindingNames.addAll(getRightArg().getBindingNames());
  return bindingNames;
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client

public Set<String> getAssuredBindingNames() {
  Set<String> bindingNames = new LinkedHashSet<String>(16);
  bindingNames.addAll(getLeftArg().getAssuredBindingNames());
  bindingNames.addAll(getRightArg().getAssuredBindingNames());
  return bindingNames;
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client

public void meet(Join theJoin)
  throws Exception
{
  binaryOpMeet(theJoin, theJoin.getLeftArg(), theJoin.getRightArg());
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation

public JoinIterator(EvaluationStrategy strategy, Join join, BindingSet bindings)
  throws QueryEvaluationException
{
  this.strategy = strategy;
  this.join = join;
  leftIter = strategy.evaluate(join.getLeftArg(), bindings);
  // Initialize with empty iteration so that var is never null
  rightIter = new EmptyIteration<BindingSet, QueryEvaluationException>();
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryrender

public void meet(Join theJoin)
  throws Exception
{
  binaryOpMeet(theJoin, theJoin.getLeftArg(), theJoin.getRightArg());
}

代码示例来源:origin: eclipse/rdf4j

@Override
public void meet(Join theJoin)
  throws Exception
{
  binaryOpMeet(theJoin, theJoin.getLeftArg(), theJoin.getRightArg());
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-queryalgebra-evaluation

public JoinIterator(EvaluationStrategy strategy, Join join, BindingSet bindings)
  throws QueryEvaluationException
{
  this.strategy = strategy;
  this.join = join;
  leftIter = strategy.evaluate(join.getLeftArg(), bindings);
  // Initialize with empty iteration so that var is never null
  rightIter = new EmptyIteration<BindingSet, QueryEvaluationException>();
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation

protected <L extends List<TupleExpr>> L getJoinArgs(TupleExpr tupleExpr, L joinArgs) {
  if (tupleExpr instanceof Join) {
    Join join = (Join)tupleExpr;
    getJoinArgs(join.getLeftArg(), joinArgs);
    getJoinArgs(join.getRightArg(), joinArgs);
  }
  else {
    joinArgs.add(tupleExpr);
  }
  return joinArgs;
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-queryalgebra-evaluation

protected <L extends List<TupleExpr>> L getJoinArgs(TupleExpr tupleExpr, L joinArgs) {
  if (tupleExpr instanceof Join) {
    Join join = (Join)tupleExpr;
    getJoinArgs(join.getLeftArg(), joinArgs);
    getJoinArgs(join.getRightArg(), joinArgs);
  }
  else {
    joinArgs.add(tupleExpr);
  }
  return joinArgs;
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation

public BottomUpJoinIterator(EvaluationStrategy strategy, Join join, BindingSet bindings)
  throws QueryEvaluationException
{
  leftIter = strategy.evaluate(join.getLeftArg(), bindings);
  rightIter = strategy.evaluate(join.getRightArg(), bindings);
  joinAttributes = join.getLeftArg().getBindingNames();
  joinAttributes.retainAll(join.getRightArg().getBindingNames());
  hashTable = null;
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-queryalgebra-evaluation

public BottomUpJoinIterator(EvaluationStrategy strategy, Join join, BindingSet bindings)
  throws QueryEvaluationException
{
  leftIter = strategy.evaluate(join.getLeftArg(), bindings);
  rightIter = strategy.evaluate(join.getRightArg(), bindings);
  joinAttributes = join.getLeftArg().getBindingNames();
  joinAttributes.retainAll(join.getRightArg().getBindingNames());
  hashTable = null;
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryalgebra-evaluation

@Override
public void meet(Join node) {
  node.getLeftArg().visit(this);
  double leftArgCost = this.cardinality;
  node.getRightArg().visit(this);
  cardinality *= leftArgCost;
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryrender

/**
 * @inheritDoc
 */
@Override
public void meet(Join theJoin)
  throws Exception
{
  theJoin.getLeftArg().visit(this);
  theJoin.getRightArg().visit(this);
}

代码示例来源:origin: de.tudarmstadt.ukp.inception.rdf4j/rdf4j-queryalgebra-evaluation

@Override
public void meet(Join node) {
  node.getLeftArg().visit(this);
  double leftArgCost = this.cardinality;
  node.getRightArg().visit(this);
  cardinality *= leftArgCost;
}

代码示例来源:origin: eclipse/rdf4j

/**
 * @inheritDoc
 */
@Override
public void meet(Join theJoin)
  throws Exception
{
  theJoin.getLeftArg().visit(this);
  theJoin.getRightArg().visit(this);
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-client

/**
 * @inheritDoc
 */
@Override
public void meet(Join theJoin)
  throws Exception
{
  ctxOpen(theJoin);
  theJoin.getLeftArg().visit(this);
  theJoin.getRightArg().visit(this);
  ctxClose(theJoin);
}

代码示例来源:origin: eclipse/rdf4j

/**
 * @inheritDoc
 */
@Override
public void meet(Join theJoin)
  throws Exception
{
  ctxOpen(theJoin);
  theJoin.getLeftArg().visit(this);
  theJoin.getRightArg().visit(this);
  ctxClose(theJoin);
}

代码示例来源:origin: org.eclipse.rdf4j/rdf4j-queryrender

/**
 * @inheritDoc
 */
@Override
public void meet(Join theJoin)
  throws Exception
{
  ctxOpen(theJoin);
  theJoin.getLeftArg().visit(this);
  theJoin.getRightArg().visit(this);
  ctxClose(theJoin);
}

相关文章