本文整理汇总了Java中com.hp.hpl.jena.sparql.algebra.op.OpSlice类的典型用法代码示例。如果您正苦于以下问题:Java OpSlice类的具体用法?Java OpSlice怎么用?Java OpSlice使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OpSlice类属于com.hp.hpl.jena.sparql.algebra.op包,在下文中一共展示了OpSlice类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visit
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
@Override
public void visit(OpSlice opSlice) {
SqlOp subOp = stack.pop();
// change order of tree nodes
if(subOp instanceof SqlProject){
SqlSlice slice = new SqlSlice(opSlice, ((SqlProject) subOp).getSubOp(), prefixes);
SqlProject project = new SqlProject(((SqlProject) subOp).getOpProject(), (SqlOp)slice, prefixes);
stack.push(project);
} else {
stack.push(new SqlSlice(opSlice, subOp, prefixes));
}
}
示例2: visit
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
@Override
public void visit(OpSlice opSlice) {
ImpalaOp subOp = stack.pop();
// change order of tree nodes
if(subOp instanceof ImpalaProject){
ImpalaSlice slice = new ImpalaSlice(opSlice, ((ImpalaProject) subOp).getSubOp(), prefixes);
ImpalaProject project = new ImpalaProject(((ImpalaProject) subOp).getOpProject(), slice, prefixes);
stack.push(project);
} else {
stack.push(new ImpalaSlice(opSlice, subOp, prefixes));
}
}
示例3: SparkSlice
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
public SparkSlice(OpSlice op) {
this.op = op;
}
示例4: visit
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
@Override
public void visit(OpSlice opSlice) {
executionQueue.add(new SparkSlice(opSlice));
}
示例5: SqlSlice
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
public SqlSlice(OpSlice _opSlice, SqlOp _subOp,
PrefixMapping _prefixes) {
super(_subOp, _prefixes);
opSlice = _opSlice;
resultName = Tags.SLICE;
}
示例6: PigSlice
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
public PigSlice(OpSlice _opSlice, PigOp _subOp, PrefixMapping _prefixes) {
super(_subOp, _prefixes);
opSlice = _opSlice;
resultName = Tags.SLICE;
}
示例7: ImpalaSlice
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
public ImpalaSlice(OpSlice _opSlice, ImpalaOp _subOp,
PrefixMapping _prefixes) {
super(_subOp, _prefixes);
opSlice = _opSlice;
resultName = Tags.SLICE;
}
示例8: visit
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
public void visit(OpSlice opSlice) {
wrapInCurrentFilterAndRecurse(opSlice);
}
示例9: transform
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
@Override
public Op transform(OpSlice opSlice, Op subOp) {
return substitute(opSlice, subOp);
}
示例10: transform
import com.hp.hpl.jena.sparql.algebra.op.OpSlice; //导入依赖的package包/类
@Override
public Op transform(OpSlice opSlice, Op subOp) {
return subOp;
}