Package org.dashbuilder.dataset
Interface DataSetMetadata
-
- All Known Implementing Classes:
DataSetMetadataImpl
public interface DataSetMetadataMetadata associated with a data set instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetColumnId(int columnIndex)Get the identifier of the specified column.List<String>getColumnIds()Get the column idsColumnTypegetColumnType(int columnIndex)Get the type of the specified column.ColumnTypegetColumnType(String columnId)Get the type of the specified column.List<ColumnType>getColumnTypes()Get the column typesDataSetDefgetDefinition()Get the definition this data set has been created from.intgetEstimatedSize()Get the estimated size in bytes.intgetNumberOfColumns()Get the number of columns.intgetNumberOfRows()Get the number of rows.StringgetUUID()The unique identifier for this data set.
-
-
-
Method Detail
-
getUUID
String getUUID()
The unique identifier for this data set.
-
getNumberOfRows
int getNumberOfRows()
Get the number of rows.
-
getNumberOfColumns
int getNumberOfColumns()
Get the number of columns.
-
getColumnId
String getColumnId(int columnIndex)
Get the identifier of the specified column.- Parameters:
columnIndex- The column index (starting at 0).
-
getColumnType
ColumnType getColumnType(int columnIndex)
Get the type of the specified column.- Parameters:
columnIndex- The column index (starting at 0).
-
getColumnType
ColumnType getColumnType(String columnId)
Get the type of the specified column.- Parameters:
columnId- The column id.
-
getColumnTypes
List<ColumnType> getColumnTypes()
Get the column types
-
getEstimatedSize
int getEstimatedSize()
Get the estimated size in bytes.
-
getDefinition
DataSetDef getDefinition()
Get the definition this data set has been created from. Is null for manually created data set instances.
-
-