| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PRECISION |
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static DecimalType |
getDefault() |
Type.Kind |
getKind() |
int |
getPrecision() |
int |
getScale() |
int |
hashCode() |
DecimalValue |
newValue(BigDecimal value) |
DecimalValue |
newValue(BigInteger value) |
DecimalValue |
newValue(long value) |
DecimalValue |
newValue(long high,
long low) |
DecimalValue |
newValue(String value) |
DecimalValue |
newValueUnscaled(BigInteger value) |
DecimalValue |
newValueUnscaled(long value) |
DecimalValue |
newValueUnsigned(long value) |
static DecimalType |
of(int precision) |
static DecimalType |
of(int precision,
int scale) |
tech.ydb.proto.ValueProtos.Type |
toPb() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitmakeOptional, unwrapOptionalpublic static final int MAX_PRECISION
public static DecimalType getDefault()
public static DecimalType of(int precision)
public static DecimalType of(int precision, int scale)
public int getPrecision()
public int getScale()
public boolean equals(Object o)
public int hashCode()
public String toString()
public DecimalValue newValue(long high, long low)
public DecimalValue newValue(long value)
public DecimalValue newValueUnsigned(long value)
public DecimalValue newValueUnscaled(long value)
public DecimalValue newValue(BigDecimal value)
public DecimalValue newValue(BigInteger value)
public DecimalValue newValueUnscaled(BigInteger value)
public DecimalValue newValue(String value)
Copyright © 2023. All rights reserved.