Package com.illumon.iris.sbetransport
Class ColumnInfo
java.lang.Object
com.illumon.iris.sbetransport.ColumnInfo
public class ColumnInfo extends Object
Container class for column information provided by the table server when a client issues a new connection.
-
Constructor Summary
Constructors Constructor Description ColumnInfo(int columnId, int templateId, String name)
Create a new column information object. -
Method Summary
Modifier and Type Method Description int
getColumnId()
A unique identifier for this column used by column data update messages.String
getName()
Name of the columnint
getTemplateId()
The encoder/decoder template identifier used when decoding table data updates for this column.
-
Constructor Details
-
ColumnInfo
Create a new column information object.- Parameters:
columnId
- Unique column identifier for the subscribed tabletemplateId
- Template identifier from the generated SBE encoder/decoder classesname
- Column name
-
-
Method Details
-
getColumnId
public int getColumnId()A unique identifier for this column used by column data update messages.- Returns:
- Unique column identifier
-
getName
Name of the column- Returns:
- The column name
-
getTemplateId
public int getTemplateId()The encoder/decoder template identifier used when decoding table data updates for this column.- Returns:
- The template identifier from the generated SBE encoder/decoder classes
-