Class TableColumnDefinition

java.lang.Object
org.yamcs.yarch.ColumnDefinition
org.yamcs.yarch.TableColumnDefinition

public class TableColumnDefinition extends ColumnDefinition
Stores properties for table columns
  • Constructor Details

  • Method Details

    • setAutoIncrement

      public void setAutoIncrement(boolean b)
    • serializeValue

      public <T> void serializeValue(ByteArray byteArray, T v)
    • deserializeValue

      public Object deserializeValue(ByteArray byteArray) throws IOException
      Throws:
      IOException
    • setEnumValues

      public void setEnumValues(com.google.common.collect.BiMap<String,Short> enumValues)
    • getSerializer

      public <T> ColumnSerializer<T> getSerializer()
    • getSequence

      public Sequence getSequence()
    • getEnumIndex

      public Short getEnumIndex(String value)
    • getEnumValue

      public String getEnumValue(short idx)
    • getEnumValues

      public com.google.common.collect.BiMap<String,Short> getEnumValues()
    • isAutoIncrement

      public boolean isAutoIncrement()
    • setSequence

      public void setSequence(Sequence sequence)
      Set sequence used for auto-increment
      Parameters:
      sequence -
    • toString

      public String toString()
      Overrides:
      toString in class ColumnDefinition
    • setSerializer

      public void setSerializer(ColumnSerializer<Object> columnSerializer)