public class DecimalValue extends Object implements Value<DecimalType>
| Modifier and Type | Field and Description |
|---|---|
static DecimalValue |
INF
Positive infinity 10^.
|
static DecimalValue |
NAN
Not a number 10^ + 1.
|
static DecimalValue |
NEG_INF
Negative infinity -10^.
|
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, makeOptionalpublic static final DecimalValue INF
public static final DecimalValue NEG_INF
public static final DecimalValue NAN
public 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 © 2023. All rights reserved.