com.bigdata.rdf.sail.sparql.ast.ASTCompare Maven / Gradle / Ivy
/* Generated By:JJTree: Do not edit this line. ASTCompare.java */
package com.bigdata.rdf.sail.sparql.ast;
import org.openrdf.query.algebra.Compare.CompareOp;
import com.bigdata.rdf.sail.sparql.ast.SimpleNode;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilder;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilderVisitor;
import com.bigdata.rdf.sail.sparql.ast.VisitorException;
public class ASTCompare extends SimpleNode {
private CompareOp operator;
public ASTCompare(int id) {
super(id);
}
public ASTCompare(SyntaxTreeBuilder p, int id) {
super(p, id);
}
@Override
public Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)
throws VisitorException
{
return visitor.visit(this, data);
}
public CompareOp getOperator() {
return operator;
}
public void setOperator(CompareOp operator) {
this.operator = operator;
}
@Override
public String toString()
{
return super.toString() + " (" + operator + ")";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy