Class RDF_Triple

java.lang.Object
org.apache.jena.riot.thrift.wire.RDF_Triple
All Implemented Interfaces:
Serializable, Cloneable, Comparable<RDF_Triple>, org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>, org.apache.thrift.TSerializable

public class RDF_Triple extends Object implements org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>, Serializable, Cloneable, Comparable<RDF_Triple>
See Also:
  • Field Details

  • Constructor Details

    • RDF_Triple

      public RDF_Triple()
    • RDF_Triple

      public RDF_Triple(RDF_Term S, RDF_Term P, RDF_Term O)
    • RDF_Triple

      public RDF_Triple(RDF_Triple other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public RDF_Triple deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
    • getS

      public RDF_Term getS()
    • setS

      public RDF_Triple setS(RDF_Term S)
    • unsetS

      public void unsetS()
    • isSetS

      public boolean isSetS()
      Returns true if field S is set (has been assigned a value) and false otherwise
    • setSIsSet

      public void setSIsSet(boolean value)
    • getP

      public RDF_Term getP()
    • setP

      public RDF_Triple setP(RDF_Term P)
    • unsetP

      public void unsetP()
    • isSetP

      public boolean isSetP()
      Returns true if field P is set (has been assigned a value) and false otherwise
    • setPIsSet

      public void setPIsSet(boolean value)
    • getO

      public RDF_Term getO()
    • setO

      public RDF_Triple setO(RDF_Term O)
    • unsetO

      public void unsetO()
    • isSetO

      public boolean isSetO()
      Returns true if field O is set (has been assigned a value) and false otherwise
    • setOIsSet

      public void setOIsSet(boolean value)
    • setFieldValue

      public void setFieldValue(RDF_Triple._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
    • getFieldValue

      public Object getFieldValue(RDF_Triple._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
    • isSet

      public boolean isSet(RDF_Triple._Fields field)
      Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
      Specified by:
      isSet in interface org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(RDF_Triple that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(RDF_Triple other)
      Specified by:
      compareTo in interface Comparable<RDF_Triple>
    • fieldForId

      public RDF_Triple._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • write

      public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException