|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.runtime.lr_parser
mondrian.olap.Parser
mondrian.olap.ParserTest.TestParser
public static class ParserTest.TestParser
Field Summary |
---|
Fields inherited from class mondrian.olap.Parser |
---|
_action_table, _production_table, _reduce_table, action_obj |
Fields inherited from class java_cup.runtime.lr_parser |
---|
_done_parsing, _error_sync_size, action_tab, cur_token, lookahead, lookahead_pos, production_tab, reduce_tab, stack, symbolFactory, tos |
Constructor Summary | |
---|---|
ParserTest.TestParser()
|
Method Summary | |
---|---|
QueryAxis[] |
getAxes()
|
QueryPart[] |
getCellProps()
|
java.lang.String |
getCube()
|
Formula[] |
getFormulas()
|
Exp |
getSlicer()
|
protected Query |
makeQuery(Formula[] formulae,
QueryAxis[] axes,
java.lang.String cube,
Exp slicer,
QueryPart[] cellProps)
Creates a Query object. |
void |
setAxes(QueryAxis[] axes)
|
void |
setCellProps(QueryPart[] cellProps)
|
void |
setCube(java.lang.String cube)
|
void |
setFormulas(Formula[] formulas)
|
void |
setSlicer(Exp slicer)
|
java.lang.String |
toMdxString()
Converts this query to a string. |
Methods inherited from class mondrian.olap.Parser |
---|
action_table, do_action, EOF_sym, error_sym, init_actions, isFunCall, parseExpression, parseInternal, production_table, recursivelyParseExp, reduce_table, report_error, report_fatal_error, scan, start_production, start_state, syntax_error, toExpArray, toFormulaArray, toIdArray, toMemberPropertyArray, toQueryAxisArray, toQueryPartArray, unrecovered_syntax_error, user_init |
Methods inherited from class java_cup.runtime.lr_parser |
---|
advance_lookahead, cur_err_token, debug_message, debug_parse, debug_reduce, debug_shift, debug_stack, done_parsing, dump_stack, error_recovery, error_sync_size, find_recovery_config, get_action, get_reduce, getScanner, getSymbolFactory, parse_lookahead, parse, read_lookahead, restart_lookahead, setScanner, shift_under_error, try_parse_ahead, unpackFromStrings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParserTest.TestParser()
Method Detail |
---|
protected Query makeQuery(Formula[] formulae, QueryAxis[] axes, java.lang.String cube, Exp slicer, QueryPart[] cellProps)
Parser
Query
object.
Override this function to make your kind of query.
makeQuery
in class Parser
public QueryAxis[] getAxes()
public void setAxes(QueryAxis[] axes)
public QueryPart[] getCellProps()
public void setCellProps(QueryPart[] cellProps)
public java.lang.String getCube()
public void setCube(java.lang.String cube)
public Formula[] getFormulas()
public void setFormulas(Formula[] formulas)
public Exp getSlicer()
public void setSlicer(Exp slicer)
public java.lang.String toMdxString()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |