Uses of Class
org.olap4j.OlapException
Packages that use OlapException
Package
Description
Provides the core classes and interfaces of the olap4j API for accessing and processing OLAP data.
olap4j to XML for Analysis bridge.
Provides SOAP caching functionality.
Provides proxy communications with XML/A servers.
Provides an API for parsing statements and expressions in the MDX language.
Provides classes and interfaces for browsing an OLAP schema.
Provides an object model for building OLAP queries programmatically (experimental).
-
Uses of OlapException in org.olap4j
Methods in org.olap4j that throw OlapExceptionModifier and TypeMethodDescriptionvoid
OlapStatement.addListener
(CellSetListener.Granularity granularity, CellSetListener listener) Adds a listener to be notified of events toCellSet
s created by this statement.OlapConnection.createScenario()
Creates a Scenario.OlapConnection.createStatement()
Cell.drillThrough()
Drills through from this cell to the underlying fact table data, and returns aResultSet
of the results.OlapStatement.executeOlapQuery
(String mdx) Executes an OLAP statement.OlapStatement.executeOlapQuery
(SelectNode selectNode) Executes an OLAP statement expressed as a parse tree.PreparedOlapStatement.executeQuery()
Executes the MDX query in thisPreparedOlapStatement
object and returns theCellSet
object generated by the query.OlapDatabaseMetaData.getActions
(String catalog, String schemaPattern, String cubeNamePattern, String actionNamePattern) Retrieves a result set describing the Actions in this database.OlapConnection.getAvailableRoleNames()
Returns a list of the names of roles that are available for this user to execute queries.OlapConnection.getCatalog()
Returns theCatalog
name which is currently active for this connection.Retrieves a result set describing the Cubes in this database.OlapConnection.getDatabase()
Returns the database name currently active for this connection.OlapDatabaseMetaData.getDatabaseProperties
(String dataSourceName, String propertyNamePattern) Retrieves a list of the standard and provider-specific properties supported by an olap4j provider.OlapDatabaseMetaData.getDatabases()
Retrieves a row set describing the databases that are available on the server.OlapDatabaseMetaData.getDimensions
(String catalog, String schemaPattern, String cubeNamePattern, String dimensionNamePattern) Retrieves a result set describing the shared and private Dimensions in this database.double
Cell.getDoubleValue()
Returns the value of this cell as adouble
value.OlapDatabaseMetaData.getHierarchies
(String catalog, String schemaPattern, String cubeNamePattern, String dimensionUniqueName, String hierarchyNamePattern) Retrieves a result set describing the Hierarchies in this database.OlapDatabaseMetaData.getLevels
(String catalog, String schemaPattern, String cubeNamePattern, String dimensionUniqueName, String hierarchyUniqueName, String levelNamePattern) Retrieves a result set describing the Levels in this database.OlapDatabaseMetaData.getLiterals()
Retrieves a list of information on supported literals, including data types and values.OlapDatabaseMetaData.getMdxKeywords()
Retrieves a comma-separated list of all of this database's MDX keywords.OlapDatabaseMetaData.getMeasures
(String catalog, String schemaPattern, String cubeNamePattern, String measureNamePattern, String measureUniqueName) Retrieves a result set describing the Measures in this database.OlapDatabaseMetaData.getMembers
(String catalog, String schemaPattern, String cubeNamePattern, String dimensionUniqueName, String hierarchyUniqueName, String levelUniqueName, String memberUniqueName, Set<Member.TreeOp> treeOps) Retrieves a result set describing the Members in this database.CellSet.getMetaData()
Retrieves the description of thisCellSet
's axes and cells.OlapConnection.getMetaData()
OlapConnection.getOlapCatalog()
Returns the current activeCatalog
of this connection.OlapConnection.getOlapCatalogs()
Returns a list ofCatalog
objects which belong to this connection's OLAP server.OlapConnection.getOlapDatabase()
Returns the current activeDatabase
of this connection.OlapConnection.getOlapDatabases()
Returns a list ofDatabase
objects which belong to this connection's OLAP server.OlapDatabaseMetaData.getOlapFunctions
(String functionNamePattern) Retrieves a result set describing the Functions available to client applications connected to the database.OlapConnection.getOlapSchema()
Returns the current activeSchema
of this connection.OlapConnection.getOlapSchemas()
Returns a list ofSchema
objects which belong to this connection's OLAP server.PreparedOlapStatement.getParameterMetaData()
Retrieves the number, types and properties of thisPreparedOlapStatement
object's parameters.OlapParameterMetaData.getParameterName
(int param) Returns the name of this parameter.OlapParameterMetaData.getParameterOlapType
(int param) Retrieves the designated parameter's OLAP type.OlapDatabaseMetaData.getProperties
(String catalog, String schemaPattern, String cubeNamePattern, String dimensionUniqueName, String hierarchyUniqueName, String levelUniqueName, String memberUniqueName, String propertyNamePattern) Retrieves a result set describing member and cell Properties.OlapConnection.getScenario()
Returns this connection's active Scenario, or null if there is no active Scenario.OlapConnection.getSchema()
Returns theSchema
name that was selected for this connection, either through the JDBC URL or viaOlapConnection.setSchema(String)
.OlapDatabaseMetaData.getSets
(String catalog, String schemaPattern, String cubeNamePattern, String setNamePattern) Retrieves a result set describing the named Sets in this database.OlapDatabaseMetaData.getSupportedCellSetListenerGranularities()
Returns the granularity of changes to cell sets that the database is capable of providing.OlapConnection.prepareOlapStatement
(String mdx) Creates a prepared OLAP Statement.void
OlapConnection.setCatalog
(String catalogName) Sets the name of the catalog that will be used for this connection.void
OlapConnection.setDatabase
(String databaseName) Sets the name of the database that will be used for this connection.void
OlapConnection.setRoleName
(String roleName) Sets the name of the role in which this connection executes queries.void
OlapConnection.setScenario
(Scenario scenario) Sets the active Scenario of this connection.void
Sets the name of the active schema for this connection.void
Cell.setValue
(Object value, AllocationPolicy allocationPolicy, Object... allocationArgs) Sets the value of a cell. -
Uses of OlapException in org.olap4j.driver.xmla
Methods in org.olap4j.driver.xmla that return OlapExceptionModifier and TypeMethodDescriptionXmlaHelper.createException
(String msg) XmlaHelper.createException
(String msg, Throwable cause) XmlaHelper.createException
(Throwable cause) XmlaHelper.createException
(Cell context, String msg) XmlaHelper.createException
(Cell context, String msg, Throwable cause) XmlaHelper.toOlapException
(SQLException e) -
Uses of OlapException in org.olap4j.driver.xmla.cache
Subclasses of OlapException in org.olap4j.driver.xmla.cacheModifier and TypeClassDescriptionclass
Internal exception which gets thrown when operations to the cache are performed but it hasn't been initialized.Methods in org.olap4j.driver.xmla.cache that throw OlapException -
Uses of OlapException in org.olap4j.driver.xmla.proxy
Methods in org.olap4j.driver.xmla.proxy that throw OlapException -
Uses of OlapException in org.olap4j.mdx.parser
Methods in org.olap4j.mdx.parser that throw OlapExceptionModifier and TypeMethodDescriptionMdxValidator.validateSelect
(SelectNode selectNode) Validates an MDX SELECT statement. -
Uses of OlapException in org.olap4j.metadata
Methods in org.olap4j.metadata that throw OlapExceptionModifier and TypeMethodDescriptionDatabase.getAuthenticationModes()
Returns the authentication modes supported by this server.Database.getCatalogs()
Returns a list ofCatalog
objects which belong to this Database.int
Member.getChildMemberCount()
Returns the number of children this Member has.Member.getChildMembers()
Returns the children of this Member, indexed by name.Schema.getCubes()
Returns a list of cubes in thisSchema
.Database.getDataSourceInfo()
Returns provider-specific information.Hierarchy.getDefaultMember()
Returns the defaultMember
of thisHierarchy
.Database.getDescription()
Returns a human-readable description of this Database.Dimension.getDimensionType()
Returns the type of this Dimension.Level.getMembers()
Returns a list ofMember
objects that belong to this Level.Database.getName()
Returns the unique name of this Database.Member.getPropertyFormattedValue
(Property property) Returns the formatted value of a given property.Member.getPropertyValue
(Property property) Returns the value of a given property.Database.getProviderName()
Returns the name of the underlying OLAP provider.Database.getProviderTypes()
Returns the types of data that are supported by this provider.Hierarchy.getRootMembers()
Returns the root member or members of this Dimension.Catalog.getSchemas()
Returns a list ofSchema
objects which belong to thisCatalog
.Schema.getSharedDimensions()
Returns a list of sharedDimension
objects in thisSchema
.Schema.getSupportedLocales()
Returns a collection ofLocale
objects for which thisSchema
has been localized.Database.getURL()
Returns a redirection URL.Cube.lookupMember
(List<IdentifierSegment> nameParts) Finds a member in the current Cube based upon its fully-qualified name.Cube.lookupMembers
(Set<Member.TreeOp> treeOps, List<IdentifierSegment> nameParts) Finds a collection of members in the current Cube related to a given member.void
Member.setProperty
(Property property, Object value) Sets a property of this member to a given value. -
Uses of OlapException in org.olap4j.query
Methods in org.olap4j.query that throw OlapExceptionModifier and TypeMethodDescriptionQueryDimension.createSelection
(List<IdentifierSegment> nameParts) QueryDimension.createSelection
(Selection.Operator operator, List<IdentifierSegment> nameParts) void
QueryDimension.exclude
(List<IdentifierSegment> nameParts) Selects members and excludes them from the query.void
QueryDimension.exclude
(Selection.Operator operator, List<IdentifierSegment> nameParts) Selects members and excludes them from the query.Query.execute()
Executes the query against the current OlapConnection and returns a CellSet object representation of the data.QueryDimension.include
(List<IdentifierSegment> nameParts) Selects members and includes them in the query.QueryDimension.include
(Selection.Operator operator, List<IdentifierSegment> nameParts) Selects members and includes them in the query.Resolves a selection of members into an actual list of the root member and it's relatives selected by the Selection object.void
Sorts the axis according to the supplied order.void
QueryAxis.sort
(SortOrder order, List<IdentifierSegment> nameParts) Sorts the axis according to the supplied order and member unique name.void
Query.validate()
Validates the current query structure.