Package org.olap4j.mdx
Class ParseRegion.RegionAndSource
java.lang.Object
org.olap4j.mdx.ParseRegion.RegionAndSource
- Enclosing class:
- ParseRegion
Combination of a region within an MDX statement with the source text
of the whole MDX statement.
Useful for reporting errors. For example, the error in the statement
has source "SELECT {[Measures].[Units In Stock]} ON COLUMNS\nFROM [Sales]" and region [1:9, 1:34].SELECT {[Measures].[Units In Stock]} ON COLUMNS FROM [Sales]
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegionAndSource
(String source, ParseRegion region) Creates a RegionAndSource. -
Method Summary
-
Field Details
-
source
-
region
-
-
Constructor Details
-
RegionAndSource
Creates a RegionAndSource.- Parameters:
source
- Source MDX coderegion
- Coordinates of region within MDX code
-