Command command,
String modelName,
String connectorBindingId, int nodeID, int limit) throws TeiidComponentException {
if(modelName != null && validModels != null && ! validModels.contains(modelName)) {
throw new TeiidComponentException("Detected query against invalid model: " + modelName + ": " + command); //$NON-NLS-1$//$NON-NLS-2$
}
this.commandHistory.add(command);
List projectedSymbols = command.getProjectedSymbols();
String commandString = null;
if (lbf == null) {
commandString = command.toString();
} else {
commandString = lbf.translate(command).toString();
}
List[] rows = data.get(commandString);
if(rows == null) {
if (mustRegisterCommands) {
throw new TeiidComponentException("Unknown command: " + commandString); //$NON-NLS-1$
}
// Create one row of nulls
rows = new List[1];
rows[0] = new ArrayList();