Package org.yamcs.yarch
Class TableColumnDefinition
java.lang.Object
org.yamcs.yarch.ColumnDefinition
org.yamcs.yarch.TableColumnDefinition
Stores properties for table columns
-
Field Summary
Fields inherited from class org.yamcs.yarch.ColumnDefinition
name, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeValue
(ByteArray byteArray) getEnumIndex
(String value) getEnumValue
(short idx) <T> ColumnSerializer<T>
boolean
<T> void
serializeValue
(ByteArray byteArray, T v) void
setAutoIncrement
(boolean b) void
setEnumValues
(com.google.common.collect.BiMap<String, Short> enumValues) void
setSequence
(Sequence sequence) Set sequence used for auto-incrementvoid
setSerializer
(ColumnSerializer<Object> columnSerializer) toString()
Methods inherited from class org.yamcs.yarch.ColumnDefinition
getName, getStringDefinition, getType, javaType
-
Constructor Details
-
TableColumnDefinition
-
TableColumnDefinition
-
TableColumnDefinition
Copy constructor
-
-
Method Details
-
setAutoIncrement
public void setAutoIncrement(boolean b) -
serializeValue
-
deserializeValue
- Throws:
IOException
-
setEnumValues
-
getSerializer
-
getSequence
-
getEnumIndex
-
getEnumValue
-
getEnumValues
-
isAutoIncrement
public boolean isAutoIncrement() -
setSequence
Set sequence used for auto-increment- Parameters:
sequence
-
-
toString
- Overrides:
toString
in classColumnDefinition
-
setSerializer
-