Class CdcAsFlussArray
- java.lang.Object
-
- org.apache.flink.cdc.connectors.fluss.sink.row.CdcAsFlussArray
-
-
Constructor Summary
Constructors Constructor Description CdcAsFlussArray(ArrayData flussArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.fluss.row.InternalArraygetArray(int pos)byte[]getBinary(int pos, int length)booleangetBoolean(int pos)bytegetByte(int pos)byte[]getBytes(int pos)org.apache.fluss.row.BinaryStringgetChar(int pos, int length)org.apache.fluss.row.DecimalgetDecimal(int pos, int precision, int scale)doublegetDouble(int pos)floatgetFloat(int pos)intgetInt(int pos)longgetLong(int pos)org.apache.fluss.row.InternalMapgetMap(int pos)org.apache.fluss.row.InternalRowgetRow(int pos, int numFields)shortgetShort(int pos)org.apache.fluss.row.BinaryStringgetString(int pos)org.apache.fluss.row.TimestampLtzgetTimestampLtz(int pos, int precision)org.apache.fluss.row.TimestampNtzgetTimestampNtz(int pos, int precision)booleanisNullAt(int pos)intsize()boolean[]toBooleanArray()byte[]toByteArray()double[]toDoubleArray()float[]toFloatArray()int[]toIntArray()long[]toLongArray()short[]toShortArray()
-
-
-
Constructor Detail
-
CdcAsFlussArray
public CdcAsFlussArray(ArrayData flussArray)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceorg.apache.fluss.row.InternalArray
-
toBooleanArray
public boolean[] toBooleanArray()
- Specified by:
toBooleanArrayin interfaceorg.apache.fluss.row.InternalArray
-
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArrayin interfaceorg.apache.fluss.row.InternalArray
-
toShortArray
public short[] toShortArray()
- Specified by:
toShortArrayin interfaceorg.apache.fluss.row.InternalArray
-
toIntArray
public int[] toIntArray()
- Specified by:
toIntArrayin interfaceorg.apache.fluss.row.InternalArray
-
toLongArray
public long[] toLongArray()
- Specified by:
toLongArrayin interfaceorg.apache.fluss.row.InternalArray
-
toFloatArray
public float[] toFloatArray()
- Specified by:
toFloatArrayin interfaceorg.apache.fluss.row.InternalArray
-
toDoubleArray
public double[] toDoubleArray()
- Specified by:
toDoubleArrayin interfaceorg.apache.fluss.row.InternalArray
-
isNullAt
public boolean isNullAt(int pos)
- Specified by:
isNullAtin interfaceorg.apache.fluss.row.DataGetters
-
getBoolean
public boolean getBoolean(int pos)
- Specified by:
getBooleanin interfaceorg.apache.fluss.row.DataGetters
-
getByte
public byte getByte(int pos)
- Specified by:
getBytein interfaceorg.apache.fluss.row.DataGetters
-
getShort
public short getShort(int pos)
- Specified by:
getShortin interfaceorg.apache.fluss.row.DataGetters
-
getInt
public int getInt(int pos)
- Specified by:
getIntin interfaceorg.apache.fluss.row.DataGetters
-
getLong
public long getLong(int pos)
- Specified by:
getLongin interfaceorg.apache.fluss.row.DataGetters
-
getFloat
public float getFloat(int pos)
- Specified by:
getFloatin interfaceorg.apache.fluss.row.DataGetters
-
getDouble
public double getDouble(int pos)
- Specified by:
getDoublein interfaceorg.apache.fluss.row.DataGetters
-
getChar
public org.apache.fluss.row.BinaryString getChar(int pos, int length)- Specified by:
getCharin interfaceorg.apache.fluss.row.DataGetters
-
getString
public org.apache.fluss.row.BinaryString getString(int pos)
- Specified by:
getStringin interfaceorg.apache.fluss.row.DataGetters
-
getDecimal
public org.apache.fluss.row.Decimal getDecimal(int pos, int precision, int scale)- Specified by:
getDecimalin interfaceorg.apache.fluss.row.DataGetters
-
getTimestampNtz
public org.apache.fluss.row.TimestampNtz getTimestampNtz(int pos, int precision)- Specified by:
getTimestampNtzin interfaceorg.apache.fluss.row.DataGetters
-
getTimestampLtz
public org.apache.fluss.row.TimestampLtz getTimestampLtz(int pos, int precision)- Specified by:
getTimestampLtzin interfaceorg.apache.fluss.row.DataGetters
-
getBinary
public byte[] getBinary(int pos, int length)- Specified by:
getBinaryin interfaceorg.apache.fluss.row.DataGetters
-
getBytes
public byte[] getBytes(int pos)
- Specified by:
getBytesin interfaceorg.apache.fluss.row.DataGetters
-
getArray
public org.apache.fluss.row.InternalArray getArray(int pos)
- Specified by:
getArrayin interfaceorg.apache.fluss.row.DataGetters
-
getMap
public org.apache.fluss.row.InternalMap getMap(int pos)
- Specified by:
getMapin interfaceorg.apache.fluss.row.DataGetters
-
getRow
public org.apache.fluss.row.InternalRow getRow(int pos, int numFields)- Specified by:
getRowin interfaceorg.apache.fluss.row.DataGetters
-
-