Class ColumnInfo
java.lang.Object
io.deephaven.sbe.standalone.client.ColumnInfo
public class ColumnInfo extends Object
Container class for column information provided by the table server when a client issues a new connection.
-
Field Summary
Fields Modifier and Type Field Description protected int
columnId
protected String
name
protected int
templateId
-
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.
-
Field Details
-
columnId
protected final int columnId -
templateId
protected final int templateId -
name
-
-
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
-