public ExpState initialize(Select sel, ExpContext ctx, int flags) { // join into related object if present return initializeValue(sel, ctx, JOIN_REL); }
public ExpState initialize(Select sel, ExpContext ctx, int flags) { // join into related object if present ExpState expState = initializeValue(sel, ctx, JOIN_REL); Val val = isCountDistinct ? ((Distinct)getValue()).getValue() : getValue(); if (val instanceof PCPath) { Column[] cols = ((PCPath)val).getColumns(expState); if (cols.length > 1) { isCountMultiColumns = true; } } return expState; }
public ExpState initialize(Select sel, ExpContext ctx, int flags) { // join into related object if present ExpState expState = initializeValue(sel, ctx, JOIN_REL); Val val = isCountDistinct ? ((Distinct)getValue()).getValue() : getValue(); if (val instanceof PCPath) { Column[] cols = ((PCPath)val).getColumns(expState); if (cols.length > 1) { isCountMultiColumns = true; } } return expState; }
public ExpState initialize(Select sel, ExpContext ctx, int flags) { // join into related object if present ExpState expState = initializeValue(sel, ctx, JOIN_REL); Val val = isCountDistinct ? ((Distinct)getValue()).getValue() : getValue(); if (val instanceof PCPath) { Column[] cols = ((PCPath)val).getColumns(expState); if (cols.length > 1) { isCountMultiColumns = true; } } return expState; }
public ExpState initialize(Select sel, ExpContext ctx, int flags) { // join into related object if present ExpState expState = initializeValue(sel, ctx, JOIN_REL); Val val = isCountDistinct ? ((Distinct)getValue()).getValue() : getValue(); if (val instanceof PCPath) { Column[] cols = ((PCPath)val).getColumns(expState); if (cols.length > 1) { isCountMultiColumns = true; } } return expState; }