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^.
|
static DecimalValue |
ZERO
Zero value.
|
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() |
com.yandex.ydb.ValueProtos.Value |
toPb() |
String |
toString() |
void |
toString(StringBuilder sb) |
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 static final DecimalValue ZERO
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 toBigInteger()
public BigDecimal toBigDecimal()
public void toString(StringBuilder sb)
public String toUnscaledString()
public com.yandex.ydb.ValueProtos.Value toPb()
toPb in interface Value<DecimalType>Copyright © 2021. All rights reserved.