query.setRowOffset(offset);
}
// The label clause (e.g., LABEL c1 "Department", c3 "Salary")
final public void labelClause(Query query) throws ParseException, InvalidQueryException {
QueryLabels labels = new QueryLabels();
AbstractColumn column;
String label;
jj_consume_token(KW_LABEL);
column = abstractColumnDescriptor();
label = stringLiteral();
labels.addLabel(column, label);
label_5:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case OP_COMMA:
;
break;
default:
jj_la1[15] = jj_gen;
break label_5;
}
jj_consume_token(OP_COMMA);
column = abstractColumnDescriptor();
label = stringLiteral();
labels.addLabel(column, label);
}
query.setLabels(labels);
}