|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RowsetDefinition> mondrian.xmla.RowsetDefinition
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.
Enum Constant Summary | |
---|---|
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/default.asp?url=/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 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/olapactions_rowset.asp 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 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/olapproperties_rowset.asp 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 http://msdn.microsoft.com/library/en-us/oledb/htm/olapfunctions_rowset.asp restrictions LIBRARY_NAME Optional. |
|
MDSCHEMA_HIERARCHIES
http://msdn2.microsoft.com/en-us/library/ms126062(SQL.90).aspx http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/olapproperties_rowset.asp restrictions CATALOG_NAME Optional. |
|
MDSCHEMA_LEVELS
http://msdn2.microsoft.com/en-us/library/ms126038(SQL.90).aspx http://msdn.microsoft.com/library/en-us/oledb/htm/olaplevels_rowset.asp restriction CATALOG_NAME Optional. |
|
MDSCHEMA_MEASURES
http://msdn2.microsoft.com/en-us/library/ms126250(SQL.90).aspx http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/olapmeasures_rowset.asp 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 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/olapproperties_rowset.asp 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 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/olapproperties_rowset.asp restrictions CATALOG_NAME Optional. |
Field Summary | |
---|---|
(package private) RowsetDefinition.Column[] |
columnDefinitions
|
(package private) RowsetDefinition.Column[] |
sortColumnDefinitions
|
Method Summary | |
---|---|
(package private) Comparator<Rowset.Row> |
getComparator()
Returns a comparator with which to sort rows of this rowset definition. |
String |
getDescription()
|
(package private) static int |
getDimensionType(Dimension dim)
|
abstract Rowset |
getRowset(XmlaRequest request,
XmlaHandler handler)
|
RowsetDefinition.Column |
lookupColumn(String name)
|
(package private) static void |
serialize(StringBuilder buf,
Collection<String> strings)
|
(package private) static List<Cube> |
sortedCubes(Schema schema)
|
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. |
(package private) void |
writeRowsetXmlSchema(SaxWriter writer)
Generates an XML schema description to the writer. |
protected void |
writeRowsetXmlSchemaBottom(SaxWriter writer)
|
protected void |
writeRowsetXmlSchemaRowDef(SaxWriter writer)
|
protected void |
writeRowsetXmlSchemaTop(SaxWriter writer)
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
final transient RowsetDefinition.Column[] columnDefinitions
final transient RowsetDefinition.Column[] sortColumnDefinitions
Method Detail |
---|
public static RowsetDefinition[] values()
for (RowsetDefinition c : RowsetDefinition.values()) System.out.println(c);
public static RowsetDefinition valueOf(String name)
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.
public abstract Rowset getRowset(XmlaRequest request, XmlaHandler handler)
public RowsetDefinition.Column lookupColumn(String name)
Comparator<Rowset.Row> getComparator()
sortColumnDefinitions
field.
If the rowset is not sorted, returns null.
void writeRowsetXmlSchema(SaxWriter writer)
writer
- SAX writerXmlaHandler.writeDatasetXmlSchema(SaxWriter, mondrian.xmla.XmlaHandler.SetType)
protected void writeRowsetXmlSchemaTop(SaxWriter writer)
protected void writeRowsetXmlSchemaRowDef(SaxWriter writer)
protected void writeRowsetXmlSchemaBottom(SaxWriter writer)
public String getDescription()
static int getDimensionType(Dimension dim)
static void serialize(StringBuilder buf, Collection<String> strings)
static List<Cube> sortedCubes(Schema schema)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |