processQueryWindowClause(spec, (ASTNode) node.getChild(i));
}
}
private PartitionSpec processPartitionSpec(ASTNode node) {
PartitionSpec pSpec = new PartitionSpec();
int exprCnt = node.getChildCount();
for(int i=0; i < exprCnt; i++) {
PartitionExpression exprSpec = new PartitionExpression();
exprSpec.setExpression((ASTNode) node.getChild(i));
pSpec.addExpression(exprSpec);
}
return pSpec;
}