public interface CellSetMetaData extends ResultSetMetaData, OlapWrapper
CellSet object.
The following code fragment creates the CellSet object cs,
creates the CellSetMetaData object csmd, and uses csmd
to find out how many axes cs has and the name of the cube.
CellSet cs = stmt.executeOlapQuery(
"SELECT {[Measures].[Unit Sales] ON COLUMNS,\n" +
" Crossjoin([Time].Children, [Store].Children) ON ROWS\n" +
"FROM [Sales]");
CellSetMetaData csmd = cs.getMetaData();
int numberOfAxes = csmd.getAxesMetaData().size();
String cubeName = csmd.getCube().getName();
columnNoNulls, columnNullable, columnNullableUnknown| Modifier and Type | Method and Description |
|---|---|
NamedList<CellSetAxisMetaData> |
getAxesMetaData()
Returns a list of CellSetAxisMetaData describing each result axis.
|
NamedList<Property> |
getCellProperties()
Returns a list of Property objects which each Cell may have.
|
Cube |
getCube()
Returns the Cube which was referenced in this statement.
|
CellSetAxisMetaData |
getFilterAxisMetaData()
Returns a CellSetAxisMetaData describing the filter axis.
|
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritableisWrapperFor, unwrapisWrapperFor, unwrapNamedList<Property> getCellProperties()
Cube getCube()
NamedList<CellSetAxisMetaData> getAxesMetaData()
CellSetAxisMetaData getFilterAxisMetaData()