java.lang.Object
org.apache.jena.riot.thrift.wire.RDF_Decimal
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RDF_Decimal>,org.apache.thrift.TBase<RDF_Decimal,,RDF_Decimal._Fields> org.apache.thrift.TSerializable
public class RDF_Decimal
extends Object
implements org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>, Serializable, Cloneable, Comparable<RDF_Decimal>
- 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_Decimal._Fields,org.apache.thrift.meta_data.FieldMetaData> intlong -
Constructor Summary
ConstructorsConstructorDescriptionRDF_Decimal(long value, int scale) RDF_Decimal(RDF_Decimal other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(RDF_Decimal other) deepCopy()booleanbooleanequals(RDF_Decimal that) fieldForId(int fieldId) getFieldValue(RDF_Decimal._Fields field) intgetScale()longgetValue()inthashCode()booleanisSet(RDF_Decimal._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field scale is set (has been assigned a value) and false otherwisebooleanReturns true if field value is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(RDF_Decimal._Fields field, Object value) setScale(int scale) voidsetScaleIsSet(boolean value) setValue(long value) voidsetValueIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
value
public long value -
scale
public int scale -
metaDataMap
-
-
Constructor Details
-
RDF_Decimal
public RDF_Decimal() -
RDF_Decimal
public RDF_Decimal(long value, int scale) -
RDF_Decimal
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
-
getValue
public long getValue() -
setValue
-
unsetValue
public void unsetValue() -
isSetValue
public boolean isSetValue()Returns true if field value is set (has been assigned a value) and false otherwise -
setValueIsSet
public void setValueIsSet(boolean value) -
getScale
public int getScale() -
setScale
-
unsetScale
public void unsetScale() -
isSetScale
public boolean isSetScale()Returns true if field scale is set (has been assigned a value) and false otherwise -
setScaleIsSet
public void setScaleIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._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_Decimal,RDF_Decimal._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RDF_Decimal>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._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
-