public enum RowsetDefinition extends Enum<RowsetDefinition>
RowsetDefinition
defines a rowset, including the columns it
should contain.
See "XML for Analysis Rowsets", page 38 of the XML for Analysis Specification, version 1.1.
Modifier and Type | Class and Description |
---|---|
static class |
RowsetDefinition.MdschemaCubesRowset |
static class |
RowsetDefinition.MdschemaFunctionsRowset |
static class |
RowsetDefinition.MdschemaMeasuresRowset |
Enum Constant and Description |
---|
DBSCHEMA_CATALOGS
restrictions
Not supported
|
DBSCHEMA_COLUMNS
restrictions
Not supported
COLUMN_OLAP_TYPE
|
DBSCHEMA_PROVIDER_TYPES
restrictions
Not supported
|
DBSCHEMA_SCHEMATA |
DBSCHEMA_TABLES
http://msdn2.microsoft.com/en-us/library/ms126299(SQL.90).aspx
restrictions:
TABLE_CATALOG Optional
TABLE_SCHEMA Optional
TABLE_NAME Optional
TABLE_TYPE Optional
TABLE_OLAP_TYPE Optional
Not supported
|
DBSCHEMA_TABLES_INFO
http://msdn.microsoft.com/library/en-us/oledb/htm/
oledbtables_info_rowset.asp
restrictions
Not supported
|
DISCOVER_DATASOURCES
Returns a list of XML for Analysis data sources
available on the server or Web Service.
|
DISCOVER_ENUMERATORS
restrictions
Not supported
|
DISCOVER_KEYWORDS
restrictions
Not supported
|
DISCOVER_LITERALS
restrictions
Not supported
|
DISCOVER_PROPERTIES
restrictions
Not supported
|
DISCOVER_SCHEMA_ROWSETS
Note that SQL Server also returns the data-mining columns.
|
MDSCHEMA_ACTIONS
http://msdn2.microsoft.com/en-us/library/ms126032(SQL.90).aspx
restrictions
CATALOG_NAME Optional
SCHEMA_NAME Optional
CUBE_NAME Mandatory
ACTION_NAME Optional
ACTION_TYPE Optional
COORDINATE Mandatory
COORDINATE_TYPE Mandatory
INVOCATION
(Optional) The INVOCATION restriction column defaults to the
value of MDACTION_INVOCATION_INTERACTIVE.
|
MDSCHEMA_CUBES
http://msdn2.microsoft.com/en-us/library/ms126271(SQL.90).aspx
restrictions
CATALOG_NAME Optional.
|
MDSCHEMA_DIMENSIONS
http://msdn2.microsoft.com/en-us/library/ms126180(SQL.90).aspx
http://msdn2.microsoft.com/en-us/library/ms126180.aspx
restrictions
CATALOG_NAME Optional.
|
MDSCHEMA_FUNCTIONS
http://msdn2.microsoft.com/en-us/library/ms126257(SQL.90).aspx
restrictions
LIBRARY_NAME Optional.
|
MDSCHEMA_HIERARCHIES
http://msdn2.microsoft.com/en-us/library/ms126062(SQL.90).aspx
restrictions
CATALOG_NAME Optional.
|
MDSCHEMA_LEVELS
http://msdn2.microsoft.com/en-us/library/ms126038(SQL.90).aspx
restriction
CATALOG_NAME Optional.
|
MDSCHEMA_MEASURES
http://msdn2.microsoft.com/en-us/library/ms126250(SQL.90).aspx
restrictions
CATALOG_NAME Optional.
|
MDSCHEMA_MEMBERS
http://msdn2.microsoft.com/es-es/library/ms126046.aspx
restrictions
CATALOG_NAME Optional.
|
MDSCHEMA_PROPERTIES
http://msdn2.microsoft.com/en-us/library/ms126309(SQL.90).aspx
restrictions
CATALOG_NAME Mandatory
SCHEMA_NAME Optional
CUBE_NAME Optional
DIMENSION_UNIQUE_NAME Optional
HIERARCHY_UNIQUE_NAME Optional
LEVEL_UNIQUE_NAME Optional
MEMBER_UNIQUE_NAME Optional
PROPERTY_NAME Optional
PROPERTY_TYPE Optional
PROPERTY_CONTENT_TYPE
(Optional) A default restriction is in place on MDPROP_MEMBER
OR MDPROP_CELL.
|
MDSCHEMA_SETS
http://msdn2.microsoft.com/en-us/library/ms126290(SQL.90).aspx
restrictions
CATALOG_NAME Optional.
|
Modifier and Type | Field and Description |
---|---|
static Util.Functor1<String,org.olap4j.metadata.Catalog> |
CATALOG_NAME_GETTER |
static Util.Functor1<String,org.olap4j.metadata.MetadataElement> |
ELEMENT_NAME_GETTER |
static Util.Functor1<String,org.olap4j.metadata.MetadataElement> |
ELEMENT_UNAME_GETTER |
static Util.Functor1<org.olap4j.metadata.Member.Type,org.olap4j.metadata.Member> |
MEMBER_TYPE_GETTER |
static Util.Functor1<String,PropertyDefinition> |
PROPDEF_NAME_GETTER |
static Util.Functor1<String,org.olap4j.metadata.Schema> |
SCHEMA_NAME_GETTER |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
abstract mondrian.xmla.Rowset |
getRowset(XmlaRequest request,
XmlaHandler handler) |
mondrian.xmla.RowsetDefinition.Column |
lookupColumn(String name) |
static RowsetDefinition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowsetDefinition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
protected void |
writeRowsetXmlSchemaBottom(SaxWriter writer) |
protected void |
writeRowsetXmlSchemaRowDef(SaxWriter writer) |
protected void |
writeRowsetXmlSchemaTop(SaxWriter writer) |
public static final RowsetDefinition DISCOVER_DATASOURCES
public static final RowsetDefinition DISCOVER_SCHEMA_ROWSETS
public static final RowsetDefinition DISCOVER_ENUMERATORS
public static final RowsetDefinition DISCOVER_PROPERTIES
public static final RowsetDefinition DISCOVER_KEYWORDS
public static final RowsetDefinition DISCOVER_LITERALS
public static final RowsetDefinition DBSCHEMA_CATALOGS
public static final RowsetDefinition DBSCHEMA_COLUMNS
public static final RowsetDefinition DBSCHEMA_PROVIDER_TYPES
public static final RowsetDefinition DBSCHEMA_SCHEMATA
public static final RowsetDefinition DBSCHEMA_TABLES
public static final RowsetDefinition DBSCHEMA_TABLES_INFO
public static final RowsetDefinition MDSCHEMA_ACTIONS
public static final RowsetDefinition MDSCHEMA_CUBES
public static final RowsetDefinition MDSCHEMA_DIMENSIONS
public static final RowsetDefinition MDSCHEMA_FUNCTIONS
public static final RowsetDefinition MDSCHEMA_HIERARCHIES
public static final RowsetDefinition MDSCHEMA_LEVELS
public static final RowsetDefinition MDSCHEMA_MEASURES
public static final RowsetDefinition MDSCHEMA_MEMBERS
public static final RowsetDefinition MDSCHEMA_PROPERTIES
public static final RowsetDefinition MDSCHEMA_SETS
public static final Util.Functor1<String,org.olap4j.metadata.Catalog> CATALOG_NAME_GETTER
public static final Util.Functor1<String,org.olap4j.metadata.Schema> SCHEMA_NAME_GETTER
public static final Util.Functor1<String,org.olap4j.metadata.MetadataElement> ELEMENT_NAME_GETTER
public static final Util.Functor1<String,org.olap4j.metadata.MetadataElement> ELEMENT_UNAME_GETTER
public static final Util.Functor1<org.olap4j.metadata.Member.Type,org.olap4j.metadata.Member> MEMBER_TYPE_GETTER
public static final Util.Functor1<String,PropertyDefinition> PROPDEF_NAME_GETTER
public static RowsetDefinition[] values()
for (RowsetDefinition c : RowsetDefinition.values()) System.out.println(c);
public static RowsetDefinition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract mondrian.xmla.Rowset getRowset(XmlaRequest request, XmlaHandler handler)
public mondrian.xmla.RowsetDefinition.Column lookupColumn(String name)
protected void writeRowsetXmlSchemaTop(SaxWriter writer)
protected void writeRowsetXmlSchemaRowDef(SaxWriter writer)
protected void writeRowsetXmlSchemaBottom(SaxWriter writer)
public String getDescription()
Copyright © 2019 Hitachi Vantara. All rights reserved.