{
ParseTreeNode node = null;
try {
switch (oper) {
case MEMBER:
node = new MemberNode(null, member);
break;
case SIBLINGS:
node =
new CallNode(
null,
"Siblings",
Syntax.Property,
new MemberNode(null, member));
break;
case CHILDREN:
node =
new CallNode(
null,
"Children",
Syntax.Property,
new MemberNode(null, member));
break;
case INCLUDE_CHILDREN:
node =
generateSetCall(
new MemberNode(null, member),
toOlap4j(member, Selection.Operator.CHILDREN));
break;
case DESCENDANTS:
node =
new CallNode(
null,
"Descendants",
Syntax.Function,
new MemberNode(null, member));
break;
case ANCESTORS:
node =
new CallNode(
null,
"Ascendants",
Syntax.Function,
new MemberNode(null, member));
break;
default:
System.out.println("NOT IMPLEMENTED: " + oper);
}
} catch (Exception e) {