Constructor and Description |
---|
PVFieldNTNameValueToVTable(org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
The number of columns in the table.
|
Object |
getColumnData(int column)
The data for the given column.
|
String |
getColumnName(int column)
The name of the given column.
|
Class<?> |
getColumnType(int column)
The type of the elements in the column.
|
int |
getRowCount()
The number of rows in the table.
|
String |
toString() |
public PVFieldNTNameValueToVTable(org.epics.pvdata.pv.PVStructure pvField, boolean disconnected)
pvField
- disconnected
- public int getColumnCount()
VTable
getColumnCount
in interface VTable
public int getRowCount()
VTable
Currently, it is not clear whether all columns actually have the same number of rows, that is if all arrays have the same length. In the case of variable row, this will return the maximum row count, that is the length of the longest array/column.
getRowCount
in interface VTable
public Class<?> getColumnType(int column)
VTable
Double.TYPE
, while VTable.getColumnData(int)
will return a ListNumber
.getColumnType
in interface VTable
column
- the column indexpublic String getColumnName(int column)
VTable
getColumnName
in interface VTable
column
- the column indexpublic Object getColumnData(int column)
VTable
The data is going to be a List
in case of objects
or a ListNumber
in case of a numeric primitive.
getColumnData
in interface VTable
column
- the column indexCopyright © 2010–2015. All rights reserved.