@Override
public SeQuery execute(ISession session, SeConnection connection) throws SeException,
IOException {
final SeQuery seQuery = new SeQuery(connection);
version.setUpStream(session, seQuery);
seQuery.prepareQueryInfo(qInfo);
if (spatialConstraints.length > 0) {
final boolean setReturnGeometryMasks = false;
seQuery.setSpatialConstraints(SeQuery.SE_OPTIMIZE, setReturnGeometryMasks,
spatialConstraints);
}
return seQuery;
}