Class DefaultJsonRow

Object
io.delta.kernel.defaults.internal.data.DefaultJsonRow
All Implemented Interfaces:
io.delta.kernel.data.Row

public class DefaultJsonRow extends Object implements io.delta.kernel.data.Row
  • Constructor Details

    • DefaultJsonRow

      public DefaultJsonRow(com.fasterxml.jackson.databind.node.ObjectNode rootNode, io.delta.kernel.types.StructType readSchema)
  • Method Details

    • getSchema

      public io.delta.kernel.types.StructType getSchema()
      Specified by:
      getSchema in interface io.delta.kernel.data.Row
    • isNullAt

      public boolean isNullAt(int ordinal)
      Specified by:
      isNullAt in interface io.delta.kernel.data.Row
    • getBoolean

      public boolean getBoolean(int ordinal)
      Specified by:
      getBoolean in interface io.delta.kernel.data.Row
    • getByte

      public byte getByte(int ordinal)
      Specified by:
      getByte in interface io.delta.kernel.data.Row
    • getShort

      public short getShort(int ordinal)
      Specified by:
      getShort in interface io.delta.kernel.data.Row
    • getInt

      public int getInt(int ordinal)
      Specified by:
      getInt in interface io.delta.kernel.data.Row
    • getLong

      public long getLong(int ordinal)
      Specified by:
      getLong in interface io.delta.kernel.data.Row
    • getFloat

      public float getFloat(int ordinal)
      Specified by:
      getFloat in interface io.delta.kernel.data.Row
    • getDouble

      public double getDouble(int ordinal)
      Specified by:
      getDouble in interface io.delta.kernel.data.Row
    • getString

      public String getString(int ordinal)
      Specified by:
      getString in interface io.delta.kernel.data.Row
    • getDecimal

      public BigDecimal getDecimal(int ordinal)
      Specified by:
      getDecimal in interface io.delta.kernel.data.Row
    • getBinary

      public byte[] getBinary(int ordinal)
      Specified by:
      getBinary in interface io.delta.kernel.data.Row
    • getStruct

      public io.delta.kernel.data.Row getStruct(int ordinal)
      Specified by:
      getStruct in interface io.delta.kernel.data.Row
    • getArray

      public io.delta.kernel.data.ArrayValue getArray(int ordinal)
      Specified by:
      getArray in interface io.delta.kernel.data.Row
    • getMap

      public io.delta.kernel.data.MapValue getMap(int ordinal)
      Specified by:
      getMap in interface io.delta.kernel.data.Row