/** * Returns the stream used to fetch rows, creating it if it was not yet created. * * @throws SeException * @throws IOException */ private SeQuery getSeQuery() throws IOException { if (this.query == null) { try { String[] propsToQuery = fidReader.getPropertiesToFetch(this.schema); this.query = createSeQueryForFetch(propsToQuery); } catch (SeException e) { throw new ArcSdeException(e); } } return this.query; }