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.
|
Modifier and Type | Method and Description |
---|---|
Decimal128 |
BsonInt32.decimal128Value() |
Decimal128 |
BsonDecimal128.decimal128Value() |
Decimal128 |
BsonDouble.decimal128Value() |
Decimal128 |
BsonInt64.decimal128Value() |
abstract Decimal128 |
BsonNumber.decimal128Value()
Returns the value of the specified number as a
Decimal128 , which may involve rounding. |
protected abstract Decimal128 |
AbstractBsonReader.doReadDecimal128()
Handles the logic to read Decimal128
|
Decimal128 |
BsonDocumentReader.doReadDecimal128() |
Decimal128 |
BsonBinaryReader.doReadDecimal128() |
Decimal128 |
BsonDecimal128.getValue()
Gets the Decimal128 value.
|
Decimal128 |
AbstractBsonReader.readDecimal128() |
Decimal128 |
BsonReader.readDecimal128()
Reads a BSON Decimal128 from the reader.
|
Decimal128 |
AbstractBsonReader.readDecimal128(String name) |
Decimal128 |
BsonReader.readDecimal128(String name)
Reads a BSON Decimal128 element from the reader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BsonDocumentWriter.doWriteDecimal128(Decimal128 value) |
protected abstract void |
AbstractBsonWriter.doWriteDecimal128(Decimal128 value)
Handles the logic of writing a Decimal128 value
|
protected void |
BsonBinaryWriter.doWriteDecimal128(Decimal128 value) |
void |
BSONCallback.gotDecimal128(String name,
Decimal128 value)
Called when reading a field with a
BsonType.DECIMAL128 value. |
void |
BasicBSONCallback.gotDecimal128(String name,
Decimal128 value) |
void |
EmptyBSONCallback.gotDecimal128(String name,
Decimal128 value) |
protected void |
BasicBSONEncoder.putDecimal128(String name,
Decimal128 value)
Encodes a Decimal128 field.
|
void |
AbstractBsonWriter.writeDecimal128(Decimal128 value) |
void |
BsonWriter.writeDecimal128(Decimal128 value)
Writes a BSON Decimal128 to the writer.
|
void |
AbstractBsonWriter.writeDecimal128(String name,
Decimal128 value) |
void |
BsonWriter.writeDecimal128(String name,
Decimal128 value)
Writes a BSON Decimal128 element to the writer.
|
Constructor and Description |
---|
BsonDecimal128(Decimal128 value)
Construct a new instance with the given value.
|
Modifier and Type | Method and Description |
---|---|
Decimal128 |
Decimal128Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
Class<Decimal128> |
Decimal128Codec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
Decimal128Codec.encode(BsonWriter writer,
Decimal128 value,
EncoderContext encoderContext) |
Modifier and Type | Method and Description |
---|---|
Decimal128 |
JsonReader.doReadDecimal128() |
Modifier and Type | Method and Description |
---|---|
Converter<Decimal128> |
JsonWriterSettings.getDecimal128Converter()
A converter from BSON Decimal128 values to JSON.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JsonWriter.doWriteDecimal128(Decimal128 value) |
Modifier and Type | Method and Description |
---|---|
JsonWriterSettings.Builder |
JsonWriterSettings.Builder.decimal128Converter(Converter<Decimal128> decimal128Converter)
Sets the converter from BSON Decimal128 values to JSON.
|
Modifier and Type | Field and Description |
---|---|
static Decimal128 |
Decimal128.NaN
A constant holding a Not-a-Number (NaN) value of type
Decimal128 . |
static Decimal128 |
Decimal128.NEGATIVE_INFINITY
A constant holding the negative infinity of type
Decimal128 . |
static Decimal128 |
Decimal128.NEGATIVE_NaN
A constant holding a negative Not-a-Number (-NaN) value of type
Decimal128 . |
static Decimal128 |
Decimal128.NEGATIVE_ZERO
A constant holding a negative zero value of type
Decimal128 . |
static Decimal128 |
Decimal128.POSITIVE_INFINITY
A constant holding the positive infinity of type
Decimal128 . |
static Decimal128 |
Decimal128.POSITIVE_ZERO
A constant holding a postive zero value of type
Decimal128 . |
Modifier and Type | Method and 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.
|
Copyright © 2017. All Rights Reserved.