Package mondrian.rolap.aggmatcher
Defines a 'matcher' which scans the schema to find candidate aggregate tables.
-
Interface Summary Interface Description JdbcSchema.Factory Recognizer.Matcher This is used to wrap column name matching rules. -
Class Summary Class Description AggGen This class is used to create "lost" and "collapsed" aggregate table creation sql (creates the rdbms table and inserts into it from the base fact table).AggGenTest Test if lookup columns are there after loading them in AggGen#addCollapsedColumn(...).AggregationOverAggTableTest AggStar Aggregate table version of a RolapStar for a fact table.AggTableManager Manages aggregate tables.AggTableTestCase This abstract class can be used as the basis for writing aggregate table test in the "testsrc/main/mondrian/rolap/aggmatcher" directory.BUG_1541077 Testcase for MONDRIAN-214 (formerly SourceForge bug 1541077) and a couple of other aggregate table ExplicitRecognizer conditions.Checkin_7634 Checkin 7634 attempted to correct a problem demonstrated by this junit.Checkin_7641 Checkin 7641 attempted to correct a problem demonstrated by this junit.DefaultDef This is the XML model for defining default aggregate table recognition and level/measure mapping.DefaultDef.AggRule A RolapConnection uses one AggRule.DefaultDef.AggRules The set of "named" rules for matching aggregate tables.DefaultDef.Base Base is the base class for all of the elements.DefaultDef.CaseMatcher This is a base class for all elements that can match strings where the case of the string is important.DefaultDef.FactCountMatch This is used to identify the "fact_count" column in an aggregate table.DefaultDef.FactCountMatchRef DefaultDef.ForeignKeyMatch This is used to identify foreign key columns in a candidate aggregate table given the name of a foreign key column of the base fact table.DefaultDef.ForeignKeyMatchRef DefaultDef.IgnoreMap This is the template used to specify columns to be ignored.DefaultDef.IgnoreMapRef DefaultDef.LevelMap This is the template that maps from a combination of level usage_prefix hierarchy_name level_name level_column_nameDefaultDef.LevelMapRef DefaultDef.Mapper This allows one to create an element that matches against a single template, where the template is an attribute.DefaultDef.MeasureMap This is the template that maps from a combination of measure measure_name, measure_column_name, and aggregate_name ("count", "sum", "avg", "min", "max", "distinct-count").DefaultDef.MeasureMapRef DefaultDef.NameMatcher A NameMatcher is a CaseMatcher that prepends and appends regular expressions to a given string as part of creating the matching regular expression.DefaultDef.Ref DefaultDef.Regex This element is used in a vector of child elements when one wishes to have one or more regular expressions associated with matching a given string.DefaultDef.RegexMapper DefaultDef.TableMatch This is used to identify which tables in the database might be aggregate table of a given fact table.DefaultDef.TableMatchRef DefaultRecognizer This is the default Recognizer.DefaultRecognizerTest DefaultRules Container for the default aggregate recognition rules.DefaultRuleTest Testing the default aggregate table recognizer.ExplicitRecognizer This is the Recognizer for the aggregate table descriptions that appear in the catalog schema files; the user explicitly defines the aggregate.ExplicitRecognizerTest ExplicitRules A class containing a RolapCube's Aggregate tables exclude/include criteria.ExplicitRules.Group This class forms a collection of aggregate table explicit rules for a given cube.ExplicitRules.NameTableDef ExplicitRules.PatternTableDef This class matches candidate aggregate table name with a pattern.ExplicitRules.TableDef This is the base class for the exact name based and name pattern based aggregate table mapping definitions.JdbcSchema Metadata gleaned from JDBC about the tables and columns in the star schema.JdbcSchema.StdFactory MultipleColsInTupleAggTest Testcase for levels that contain multiple columns and are collapsed in the agg table.NonCollapsedAggTest Testcase for non-collapsed levels in agg tables.Recognizer Abstract Recognizer class used to determine if a candidate aggregate table has the column categories: "fact_count" column, measure columns, foreign key and level columns.SpeciesNonCollapsedAggTest Test case for non-collapsed levels in agg tables, based on the "Species" schema.UsagePrefixTest Validates the dimension attribute usagePrefix is correctly applied when querying aggregate tables. -
Enum Summary Enum Description JdbcSchema.TableUsageType JdbcSchema.UsageType Enumeration of ways that an aggregate table can use a column.