Class Protocol

Object
io.delta.kernel.internal.actions.Protocol

public class Protocol extends Object
  • Field Details

    • FULL_SCHEMA

      public static final StructType FULL_SCHEMA
  • Constructor Details

    • Protocol

      public Protocol(int minReaderVersion, int minWriterVersion, List<String> readerFeatures, List<String> writerFeatures)
  • Method Details

    • fromColumnVector

      public static Protocol fromColumnVector(ColumnVector vector, int rowId)
    • getMinReaderVersion

      public int getMinReaderVersion()
    • getMinWriterVersion

      public int getMinWriterVersion()
    • getReaderFeatures

      public List<String> getReaderFeatures()
    • getWriterFeatures

      public List<String> getWriterFeatures()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toRow

      public Row toRow()
      Encode as a Row object with the schema FULL_SCHEMA.
      Returns:
      Row object with the schema FULL_SCHEMA