Class ArrowType.Decimal
java.lang.Object
org.apache.arrow.vector.types.pojo.ArrowType
org.apache.arrow.vector.types.pojo.ArrowType.PrimitiveType
org.apache.arrow.vector.types.pojo.ArrowType.Decimal
- Enclosing class:
- ArrowType
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.arrow.vector.types.pojo.ArrowType
ArrowType.ArrowTypeID, ArrowType.ArrowTypeVisitor<T>, ArrowType.Binary, ArrowType.BinaryView, ArrowType.Bool, ArrowType.ComplexType, ArrowType.ComplexTypeVisitor<T>, ArrowType.Date, ArrowType.Decimal, ArrowType.Duration, ArrowType.ExtensionType, ArrowType.FixedSizeBinary, ArrowType.FixedSizeList, ArrowType.FloatingPoint, ArrowType.Int, ArrowType.Interval, ArrowType.LargeBinary, ArrowType.LargeList, ArrowType.LargeUtf8, ArrowType.List, ArrowType.ListView, ArrowType.Map, ArrowType.Null, ArrowType.PrimitiveType, ArrowType.PrimitiveTypeVisitor<T>, ArrowType.Struct, ArrowType.Time, ArrowType.Timestamp, ArrowType.Union, ArrowType.Utf8, ArrowType.Utf8View
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ArrowType.ArrowTypeVisitor<T> visitor) static ArrowType.Decimal
createDecimal
(int precision, int scale, Integer bitWidth) boolean
int
int
int
getScale()
int
getType
(com.google.flatbuffers.FlatBufferBuilder builder) int
hashCode()
toString()
Methods inherited from class org.apache.arrow.vector.types.pojo.ArrowType.PrimitiveType
isComplex
Methods inherited from class org.apache.arrow.vector.types.pojo.ArrowType
getInt, getTypeForField
-
Field Details
-
TYPE_TYPE
-
-
Constructor Details
-
Decimal
Deprecated.This API will be removed in a future release.Construct Decimal with 128 bits. This is kept mainly for the sake of backward compatibility. Please useDecimal(int, int, int)
instead. -
Decimal
public Decimal(int precision, int scale, int bitWidth)
-
-
Method Details
-
createDecimal
-
getPrecision
public int getPrecision() -
getScale
public int getScale() -
getBitWidth
public int getBitWidth() -
getTypeID
-
getType
public int getType(com.google.flatbuffers.FlatBufferBuilder builder) -
toString
-
hashCode
public int hashCode() -
equals
-
accept
-