Package org.olap4j.mdx
Class ParseRegion.RegionAndSource
- java.lang.Object
-
- org.olap4j.mdx.ParseRegion.RegionAndSource
-
- Enclosing class:
- ParseRegion
public static class ParseRegion.RegionAndSource extends java.lang.Object
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
SELECT {[Measures].[Units In Stock]} ON COLUMNS FROM [Sales]
-
-
Field Summary
Fields Modifier and Type Field Description ParseRegion
region
java.lang.String
source
-
Constructor Summary
Constructors Constructor Description RegionAndSource(java.lang.String source, ParseRegion region)
Creates a RegionAndSource.
-
-
-
Field Detail
-
source
public final java.lang.String source
-
region
public final ParseRegion region
-
-
Constructor Detail
-
RegionAndSource
public RegionAndSource(java.lang.String source, ParseRegion region)
Creates a RegionAndSource.- Parameters:
source
- Source MDX coderegion
- Coordinates of region within MDX code
-
-