当前位置: 首页>>代码示例>>Java>>正文


Java OpProject类代码示例

本文整理汇总了Java中com.hp.hpl.jena.sparql.algebra.op.OpProject的典型用法代码示例。如果您正苦于以下问题:Java OpProject类的具体用法?Java OpProject怎么用?Java OpProject使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


OpProject类属于com.hp.hpl.jena.sparql.algebra.op包,在下文中一共展示了OpProject类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: runPlan

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
private static void runPlan(Plan plan) {
    //QueryExecUtils.execute(op, dsg)
    List<String> vars = null ;
    ResultsFormat outputFormat = ResultsFormat.FMT_TEXT ;
    
    Op op = plan.getOp();
    if ( op instanceof OpProject )
        vars = Var.varNames(((OpProject)op).getVars()) ;
    else
        vars = Var.varNames(OpVars.visibleVars(op)) ;

    ResultSet results = ResultSetFactory.create(plan.iterator(), vars) ;
    QueryExecUtils.outputResultSet(results, null, outputFormat) ;
}
 
开发者ID:afs,项目名称:quack,代码行数:15,代码来源:RefactorQueryExecution.java

示例2: SparkProjection

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public SparkProjection(OpProject op) {
this.op = op;
   }
 
开发者ID:aschaetzle,项目名称:S2X,代码行数:4,代码来源:SparkProjection.java

示例3: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
   public void visit(OpProject opProject) {
executionQueue.add(new SparkProjection(opProject));
   }
 
开发者ID:aschaetzle,项目名称:S2X,代码行数:5,代码来源:AlgebraTranslator.java

示例4: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
public void visit(OpProject opProject) {
    projectVars = opProject.getVars();
}
 
开发者ID:aschaetzle,项目名称:S2RDF,代码行数:5,代码来源:FilterVarEqualityVisitor.java

示例5: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
public void visit(OpProject opProject) {
    SqlOp subOp = stack.pop();
    stack.push(new SqlProject(opProject, subOp, prefixes));
}
 
开发者ID:aschaetzle,项目名称:S2RDF,代码行数:6,代码来源:AlgebraTransformer.java

示例6: SqlProject

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public SqlProject(OpProject _opProject, SqlOp _subOp,
		PrefixMapping _prefixes) {
	super(_subOp, _prefixes);
	opProject = _opProject;
	resultName = Tags.PROJECT;
}
 
开发者ID:aschaetzle,项目名称:S2RDF,代码行数:7,代码来源:SqlProject.java

示例7: getOpProject

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public OpProject getOpProject(){
	return this.opProject;
}
 
开发者ID:aschaetzle,项目名称:S2RDF,代码行数:4,代码来源:SqlProject.java

示例8: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public void visit(OpProject opProject) {
	variables = opProject.getVars();
}
 
开发者ID:tf-dbis-uni-freiburg,项目名称:PRoST,代码行数:4,代码来源:QueryVisitor.java

示例9: PigProject

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public PigProject(OpProject _opProject, PigOp _subOp, PrefixMapping _prefixes) {
    super(_subOp, _prefixes);
    opProject = _opProject;
    resultName = Tags.PROJECT;
}
 
开发者ID:aschaetzle,项目名称:PigSPARQL,代码行数:6,代码来源:PigProject.java

示例10: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
public void visit(OpProject opProject) {
	projectVars = opProject.getVars();
}
 
开发者ID:aschaetzle,项目名称:Sempala,代码行数:5,代码来源:FilterVarEqualityVisitor.java

示例11: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
public void visit(OpProject opProject) {
	ImpalaOp subOp = stack.pop();
	stack.push(new ImpalaProject(opProject, subOp, prefixes));
}
 
开发者ID:aschaetzle,项目名称:Sempala,代码行数:6,代码来源:AlgebraTransformer.java

示例12: ImpalaProject

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public ImpalaProject(OpProject _opProject, ImpalaOp _subOp,
		PrefixMapping _prefixes) {
	super(_subOp, _prefixes);
	opProject = _opProject;
	resultName = Tags.PROJECT;
}
 
开发者ID:aschaetzle,项目名称:Sempala,代码行数:7,代码来源:ImpalaProject.java

示例13: visit

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
public void visit(OpProject opProject) {
	// TODO Might be able to move down filter past the op
	wrapInCurrentFilterAndRecurse(opProject);
}
 
开发者ID:aitoralmeida,项目名称:c4a_data_repository,代码行数:5,代码来源:PushDownOpFilterVisitor.java

示例14: transform

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
public Op transform(OpProject opProject, Op subOp) {
	return substitute(opProject, subOp);
}
 
开发者ID:peterjohnlawrence,项目名称:com.inova8.remediator,代码行数:5,代码来源:Substituter.java

示例15: transform

import com.hp.hpl.jena.sparql.algebra.op.OpProject; //导入依赖的package包/类
@Override
public Op transform(OpProject opProject, Op subOp) {
	return subOp;
}
 
开发者ID:peterjohnlawrence,项目名称:com.inova8.remediator,代码行数:5,代码来源:Simplifier.java


注:本文中的com.hp.hpl.jena.sparql.algebra.op.OpProject类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。