public class DecimalValue extends Object implements Value<DecimalType>
| Modifier and Type | Field and Description |
|---|---|
static DecimalValue |
INF
Deprecated.
Positive infinity 10^MAX_PRECISION.
Use
DecimalType.getInf() instead |
static DecimalValue |
NAN
Deprecated.
Not a number 10^MAX_PRECISION + 1.
Use
DecimalType.getNaN() instead |
static DecimalValue |
NEG_INF
Deprecated.
Negative infinity -10^MAX_PRECISI0ON.
Use
DecimalType.getNegInf() instead |
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getHigh() |
long |
getLow() |
DecimalType |
getType() |
int |
hashCode() |
boolean |
isInf() |
boolean |
isNan() |
boolean |
isNegative() |
boolean |
isNegativeInf() |
boolean |
isZero() |
BigDecimal |
toBigDecimal() |
BigInteger |
toBigInteger() |
long |
toLong() |
tech.ydb.proto.ValueProtos.Value |
toPb() |
String |
toString() |
BigInteger |
toUnscaledBigInteger() |
String |
toUnscaledString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitasData, asDict, asList, asOptional, asStuct, asVariant, asVoid, makeOptional@Deprecated public static final DecimalValue INF
DecimalType.getInf() instead@Deprecated public static final DecimalValue NEG_INF
DecimalType.getNegInf() instead@Deprecated public static final DecimalValue NAN
DecimalType.getNaN() insteadpublic DecimalType getType()
getType in interface Value<DecimalType>public long getHigh()
public long getLow()
public boolean isInf()
public boolean isNegativeInf()
public boolean isNan()
public boolean isZero()
public boolean isNegative()
public BigInteger toUnscaledBigInteger()
public BigInteger toBigInteger()
public BigDecimal toBigDecimal()
public long toLong()
public String toUnscaledString()
public tech.ydb.proto.ValueProtos.Value toPb()
toPb in interface Value<DecimalType>Copyright © 2025. All rights reserved.