Class ColumnMetadata

java.lang.Object
org.apache.sysds.runtime.frame.data.columns.ColumnMetadata
All Implemented Interfaces:
Serializable, org.apache.hadoop.io.Writable

public class ColumnMetadata extends Object implements Serializable, org.apache.hadoop.io.Writable
See Also:
  • Constructor Details

    • ColumnMetadata

      public ColumnMetadata()
      Default constructor
    • ColumnMetadata

      public ColumnMetadata(long ndistinct)
    • ColumnMetadata

      public ColumnMetadata(long ndistinct, String mvVal)
    • ColumnMetadata

      public ColumnMetadata(ColumnMetadata that)
  • Method Details

    • getNumDistinct

      public long getNumDistinct()
    • setNumDistinct

      public void setNumDistinct(long ndistinct)
    • getMvValue

      public String getMvValue()
    • setMvValue

      public void setMvValue(String mvVal)
    • isDefault

      public boolean isDefault()
    • getInMemorySize

      public long getInMemorySize()
    • getExactSerializedSize

      public long getExactSerializedSize()
    • write

      public void write(DataOutput out) throws IOException
      Specified by:
      write in interface org.apache.hadoop.io.Writable
      Throws:
      IOException
    • readFields

      public void readFields(DataInput in) throws IOException
      Specified by:
      readFields in interface org.apache.hadoop.io.Writable
      Throws:
      IOException
    • read

      public static ColumnMetadata read(DataInput in) throws IOException
      Throws:
      IOException
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(ColumnMetadata that)
    • toString

      public String toString()
      Overrides:
      toString in class Object