com.hp.hpl.jena.sparql.engine.optimizer.reorder
Class PatternTriple

java.lang.Object
  extended by com.hp.hpl.jena.sparql.engine.optimizer.reorder.PatternTriple

public final class PatternTriple
extends Object

A mutable triple pattern


Field Summary
 Item object
           
 Item predicate
           
 Item subject
           
 
Constructor Summary
PatternTriple(Item s, Item p, Item o)
           
PatternTriple(com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, com.hp.hpl.jena.graph.Node o)
           
PatternTriple(com.hp.hpl.jena.graph.Triple triple)
           
 
Method Summary
static PatternTriple parse(Item pt)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subject

public Item subject

predicate

public Item predicate

object

public Item object
Constructor Detail

PatternTriple

public PatternTriple(Item s,
                     Item p,
                     Item o)

PatternTriple

public PatternTriple(com.hp.hpl.jena.graph.Node s,
                     com.hp.hpl.jena.graph.Node p,
                     com.hp.hpl.jena.graph.Node o)

PatternTriple

public PatternTriple(com.hp.hpl.jena.graph.Triple triple)
Method Detail

parse

public static PatternTriple parse(Item pt)

toString

public String toString()
Overrides:
toString in class Object


Licenced under the Apache License, Version 2.0