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
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<RDF_Triple._Fields,
org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionRDF_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 TypeMethodDescriptionvoid
clear()
int
compareTo
(RDF_Triple other) deepCopy()
boolean
boolean
equals
(RDF_Triple that) fieldForId
(int fieldId) getFieldValue
(RDF_Triple._Fields field) getO()
getP()
getS()
int
hashCode()
boolean
isSet
(RDF_Triple._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetO()
Returns true if field O is set (has been assigned a value) and false otherwiseboolean
isSetP()
Returns true if field P is set (has been assigned a value) and false otherwiseboolean
isSetS()
Returns true if field S is set (has been assigned a value) and false otherwisevoid
read
(org.apache.thrift.protocol.TProtocol iprot) void
setFieldValue
(RDF_Triple._Fields field, Object value) void
setOIsSet
(boolean value) void
setPIsSet
(boolean value) void
setSIsSet
(boolean value) toString()
void
unsetO()
void
unsetP()
void
unsetS()
void
validate()
void
write
(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:
deepCopy
in interfaceorg.apache.thrift.TBase<RDF_Triple,
RDF_Triple._Fields>
-
clear
public void clear()- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.thrift.TBase<RDF_Triple,
RDF_Triple._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.thrift.TBase<RDF_Triple,
RDF_Triple._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<RDF_Triple>
-
fieldForId
- Specified by:
fieldForId
in 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:
read
in 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-