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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<RDF_Triple._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionRDF_Triple(RDF_Term S, RDF_Term P, RDF_Term O) RDF_Triple(RDF_Triple other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(RDF_Triple other) deepCopy()booleanbooleanequals(RDF_Triple that) fieldForId(int fieldId) getFieldValue(RDF_Triple._Fields field) getO()getP()getS()inthashCode()booleanisSet(RDF_Triple._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetO()Returns true if field O is set (has been assigned a value) and false otherwisebooleanisSetP()Returns true if field P is set (has been assigned a value) and false otherwisebooleanisSetS()Returns true if field S is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(RDF_Triple._Fields field, Object value) voidsetOIsSet(boolean value) voidsetPIsSet(boolean value) voidsetSIsSet(boolean value) toString()voidunsetO()voidunsetP()voidunsetS()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
S
-
P
-
O
-
metaDataMap
-
-
Constructor Details
-
RDF_Triple
public RDF_Triple() -
RDF_Triple
-
RDF_Triple
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
-
getS
-
setS
-
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
-
setP
-
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
-
setO
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<RDF_Triple,RDF_Triple._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RDF_Triple>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.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:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-