Uses of Class
org.bson.types.Decimal128
-
Packages that use Decimal128 Package Description org.bson Contains the base BSON classes.org.bson.codecs This package contains all the default BSON codecs.org.bson.json JSON serialization and deserialization.org.bson.types Contains classes implementing various BSON types. -
-
Uses of Decimal128 in org.bson
Methods in org.bson that return Decimal128 Modifier and Type Method Description Decimal128
BsonDecimal128. decimal128Value()
Decimal128
BsonDouble. decimal128Value()
Decimal128
BsonInt32. decimal128Value()
Decimal128
BsonInt64. decimal128Value()
abstract Decimal128
BsonNumber. decimal128Value()
Returns the value of the specified number as aDecimal128
, which may involve rounding.protected abstract Decimal128
AbstractBsonReader. doReadDecimal128()
Handles the logic to read Decimal128Decimal128
BsonBinaryReader. doReadDecimal128()
Decimal128
BsonDocumentReader. doReadDecimal128()
Decimal128
BsonDecimal128. getValue()
Gets the Decimal128 value.Decimal128
AbstractBsonReader. readDecimal128()
Decimal128
AbstractBsonReader. readDecimal128(String name)
Decimal128
BsonReader. readDecimal128()
Reads a BSON Decimal128 from the reader.Decimal128
BsonReader. readDecimal128(String name)
Reads a BSON Decimal128 element from the reader.Methods in org.bson with parameters of type Decimal128 Modifier and Type Method Description protected abstract void
AbstractBsonWriter. doWriteDecimal128(Decimal128 value)
Handles the logic of writing a Decimal128 valueprotected void
BsonBinaryWriter. doWriteDecimal128(Decimal128 value)
protected void
BsonDocumentWriter. doWriteDecimal128(Decimal128 value)
void
BasicBSONCallback. gotDecimal128(String name, Decimal128 value)
void
BSONCallback. gotDecimal128(String name, Decimal128 value)
Called when reading a field with aBsonType.DECIMAL128
value.void
EmptyBSONCallback. gotDecimal128(String name, Decimal128 value)
protected void
BasicBSONEncoder. putDecimal128(String name, Decimal128 value)
Encodes a Decimal128 field.void
AbstractBsonWriter. writeDecimal128(String name, Decimal128 value)
void
AbstractBsonWriter. writeDecimal128(Decimal128 value)
void
BsonWriter. writeDecimal128(String name, Decimal128 value)
Writes a BSON Decimal128 element to the writer.void
BsonWriter. writeDecimal128(Decimal128 value)
Writes a BSON Decimal128 to the writer.Constructors in org.bson with parameters of type Decimal128 Constructor Description BsonDecimal128(Decimal128 value)
Construct a new instance with the given value. -
Uses of Decimal128 in org.bson.codecs
Methods in org.bson.codecs that return Decimal128 Modifier and Type Method Description Decimal128
Decimal128Codec. decode(BsonReader reader, DecoderContext decoderContext)
Methods in org.bson.codecs that return types with arguments of type Decimal128 Modifier and Type Method Description Class<Decimal128>
Decimal128Codec. getEncoderClass()
Methods in org.bson.codecs with parameters of type Decimal128 Modifier and Type Method Description void
Decimal128Codec. encode(BsonWriter writer, Decimal128 value, EncoderContext encoderContext)
-
Uses of Decimal128 in org.bson.json
Methods in org.bson.json that return Decimal128 Modifier and Type Method Description Decimal128
JsonReader. doReadDecimal128()
Methods in org.bson.json that return types with arguments of type Decimal128 Modifier and Type Method Description Converter<Decimal128>
JsonWriterSettings. getDecimal128Converter()
A converter from BSON Decimal128 values to JSON.Methods in org.bson.json with parameters of type Decimal128 Modifier and Type Method Description protected void
JsonWriter. doWriteDecimal128(Decimal128 value)
Method parameters in org.bson.json with type arguments of type Decimal128 Modifier and Type Method Description JsonWriterSettings.Builder
JsonWriterSettings.Builder. decimal128Converter(Converter<Decimal128> decimal128Converter)
Sets the converter from BSON Decimal128 values to JSON. -
Uses of Decimal128 in org.bson.types
Fields in org.bson.types declared as Decimal128 Modifier and Type Field Description static Decimal128
Decimal128. NaN
A constant holding a Not-a-Number (NaN) value of typeDecimal128
.static Decimal128
Decimal128. NEGATIVE_INFINITY
A constant holding the negative infinity of typeDecimal128
.static Decimal128
Decimal128. NEGATIVE_NaN
A constant holding a negative Not-a-Number (-NaN) value of typeDecimal128
.static Decimal128
Decimal128. NEGATIVE_ZERO
A constant holding a negative zero value of typeDecimal128
.static Decimal128
Decimal128. POSITIVE_INFINITY
A constant holding the positive infinity of typeDecimal128
.static Decimal128
Decimal128. POSITIVE_ZERO
A constant holding a postive zero value of typeDecimal128
.Methods in org.bson.types that return Decimal128 Modifier and Type Method Description static Decimal128
Decimal128. fromIEEE754BIDEncoding(long high, long low)
Create an instance with the given high and low order bits representing this Decimal128 as an IEEE 754-2008 128-bit decimal floating point using the BID encoding scheme.static Decimal128
Decimal128. parse(String value)
Returns a Decimal128 value representing the given String.Methods in org.bson.types with parameters of type Decimal128 Modifier and Type Method Description int
Decimal128. compareTo(Decimal128 o)
-