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]
has source
"SELECT {[Measures].[Units In Stock]} ON COLUMNS\nFROM [Sales]" and
region [1:9, 1:34].
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
public final java.lang.String source
region
public final ParseRegion region
ParseRegion.RegionAndSource
public ParseRegion.RegionAndSource(java.lang.String source,
ParseRegion region)
- Creates a RegionAndSource.
- Parameters:
source
- Source MDX coderegion
- Coordinates of region within MDX code