| Constructor and Description |
|---|
PVFieldToVTable(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 PVFieldToVTable(org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected)
pvField - disconnected - public int getColumnCount()
VTablegetColumnCount in interface VTablepublic int getRowCount()
VTableCurrently, 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 VTablepublic Class<?> getColumnType(int column)
VTableDouble.TYPE, while VTable.getColumnData(int)
will return a ListNumber.getColumnType in interface VTablecolumn - the column indexpublic String getColumnName(int column)
VTablegetColumnName in interface VTablecolumn - 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 VTablecolumn - the column indexCopyright © 2015. All rights reserved.