Uses of Class
org.apache.flink.table.data.DecimalData
Packages that use DecimalData
Package
Description
-
Uses of DecimalData in org.apache.flink.table.data
Methods in org.apache.flink.table.data that return DecimalDataModifier and TypeMethodDescriptionDecimalData.copy()Returns a copy of thisDecimalDataobject.static DecimalDataDecimalData.fromBigDecimal(BigDecimal bd, int precision, int scale) Creates an instance ofDecimalDatafrom aBigDecimaland the given precision and scale.static DecimalDataDecimalData.fromUnscaledBytes(byte[] unscaledBytes, int precision, int scale) Creates an instance ofDecimalDatafrom an unscaled byte array value and the given precision and scale.static DecimalDataDecimalData.fromUnscaledLong(long unscaledLong, int precision, int scale) Creates an instance ofDecimalDatafrom an unscaled long value and the given precision and scale.ArrayData.getDecimal(int pos, int precision, int scale) Returns the decimal value at the given position.GenericArrayData.getDecimal(int pos, int precision, int scale) GenericRowData.getDecimal(int pos, int precision, int scale) RowData.getDecimal(int pos, int precision, int scale) Returns the decimal value at the given position.static DecimalDataDecimalData.zero(int precision, int scale) Creates an instance ofDecimalDatafor a zero value with the given precision and scale.Methods in org.apache.flink.table.data with parameters of type DecimalData -
Uses of DecimalData in org.apache.flink.table.data.binary
Methods in org.apache.flink.table.data.binary that return DecimalDataModifier and TypeMethodDescriptionBinaryArrayData.getDecimal(int pos, int precision, int scale) BinaryRowData.getDecimal(int pos, int precision, int scale) NestedRowData.getDecimal(int pos, int precision, int scale) static DecimalDataBinarySegmentUtils.readDecimalData(org.apache.flink.core.memory.MemorySegment[] segments, int baseOffset, long offsetAndSize, int precision, int scale) Gets an instance ofDecimalDatafrom underlyingMemorySegment.Methods in org.apache.flink.table.data.binary with parameters of type DecimalDataModifier and TypeMethodDescriptionvoidBinaryArrayData.setDecimal(int pos, DecimalData value, int precision) voidBinaryRowData.setDecimal(int pos, DecimalData value, int precision) voidNestedRowData.setDecimal(int pos, DecimalData value, int precision) voidTypedSetters.setDecimal(int pos, DecimalData value, int precision) Set the decimal column value. -
Uses of DecimalData in org.apache.flink.table.data.columnar
Methods in org.apache.flink.table.data.columnar that return DecimalDataModifier and TypeMethodDescriptionColumnarArrayData.getDecimal(int pos, int precision, int scale) ColumnarRowData.getDecimal(int pos, int precision, int scale) Methods in org.apache.flink.table.data.columnar with parameters of type DecimalDataModifier and TypeMethodDescriptionvoidColumnarArrayData.setDecimal(int pos, DecimalData value, int precision) voidColumnarRowData.setDecimal(int pos, DecimalData value, int precision) -
Uses of DecimalData in org.apache.flink.table.data.columnar.vector
Methods in org.apache.flink.table.data.columnar.vector that return DecimalDataModifier and TypeMethodDescriptionDecimalColumnVector.getDecimal(int i, int precision, int scale) VectorizedColumnBatch.getDecimal(int rowId, int colId, int precision, int scale) -
Uses of DecimalData in org.apache.flink.table.data.utils
Methods in org.apache.flink.table.data.utils that return DecimalDataModifier and TypeMethodDescriptionJoinedRowData.getDecimal(int pos, int precision, int scale) ProjectedRowData.getDecimal(int pos, int precision, int scale) -
Uses of DecimalData in org.apache.flink.table.utils
Methods in org.apache.flink.table.utils with parameters of type DecimalDataModifier and TypeMethodDescriptionstatic TimestampDataDateTimeUtils.toTimestampData(DecimalData v, int precision)