java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.sparql.pfunction.PropFuncArg
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable
,PrintSerializable
Class representing an argument (subject or object position) of a property function.
Such an argument can be a graph node (variable, IRI, literal).
Blank nodes from the query will be seen as variables. Most implementations will want to
work with the property function arguments after substitution from the current binding.
-
Constructor Summary
ConstructorDescriptionPropFuncArg
(List<org.apache.jena.graph.Node> argList) PropFuncArg
(List<org.apache.jena.graph.Node> argList, org.apache.jena.graph.Node arg) PropFuncArg
(org.apache.jena.graph.Node arg) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addVars
(Collection<Var> acc, PropFuncArg pfArg) boolean
org.apache.jena.graph.Node
getArg()
org.apache.jena.graph.Node
getArg
(int index) List<org.apache.jena.graph.Node>
int
int
hashCode()
boolean
isList()
boolean
isNode()
void
output
(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
output, toString, toString
-
Constructor Details
-
PropFuncArg
-
PropFuncArg
-
PropFuncArg
public PropFuncArg(org.apache.jena.graph.Node arg)
-
-
Method Details
-
getArg
public org.apache.jena.graph.Node getArg() -
getArgList
-
getArgListSize
public int getArgListSize() -
getArg
public org.apache.jena.graph.Node getArg(int index) -
hashCode
public int hashCode() -
equals
-
isList
public boolean isList() -
isNode
public boolean isNode() -
asExprList
-
output
-
addVars
-