Changeset 2761 for CQIClient/src
- Timestamp:
- 03/28/13 11:17:03 (12 years ago)
- Location:
- CQIClient/src/main/java/eu/clarin/cqi/client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CQIClient/src/main/java/eu/clarin/cqi/client/CqiClient.java
r2178 r2761 174 174 * Gives the corpus positional attributes. 175 175 * 176 * @param corpus IDthe corpus id176 * @param corpus the corpus id 177 177 * @return the name of the attributes 178 178 * @throws CqiClientException … … 790 790 * 791 791 * @param corpus the corpus 792 * @param subcorpus the subcorpus793 792 * @param query the query 794 * @param charset the charset 793 * @param contextStructuralAttribute context structural attribute 794 * @param metadataStructuralAttributes metadata structural attributes 795 795 * @throws CqiClientException 796 796 */ -
CQIClient/src/main/java/eu/clarin/cqi/client/CqiResult.java
r2178 r2761 76 76 * 77 77 * @return {@code true} if the cursor is moved to a position in this 78 * {@code MatchSet} object; 79 * {@code false} if the cursor is before the first match or after the last 80 * match 78 * {@code MatchSet} object; {@code false} if the cursor is before the first 79 * match or after the last match 81 80 * @exception CqiClientException 82 81 */ … … 90 89 91 90 /** 92 * Moves the cursor froward one row from its current position. A {@code CqiResult}93 * cursor is initially positioned before the first match; the first call to94 * the method95 * {@code next} makes the first match thecurrent match.96 * 97 * @return {@code true} if the new current row is valid; 98 * {@code false} ifthere are no more matches91 * Moves the cursor froward one row from its current position. A 92 * {@code CqiResult} cursor is initially positioned before the first match; 93 * the first call to the method {@code next} makes the first match the 94 * current match. 95 * 96 * @return {@code true} if the new current row is valid; {@code false} if 97 * there are no more matches 99 98 * @exception CqiClientException 100 99 */ … … 112 111 final int bufferedEnd = (bufferedStart + BUFFER_SIZE > resultSize) ? resultSize - 1 : bufferedStart + BUFFER_SIZE - 1; 113 112 bufferedSize = bufferedEnd - bufferedStart + 1; 114 bufferIndex = 0;113 bufferIndex = -1; 115 114 client.dumpSubCorpus(subCorpusName, CqiClient.CQI_CONST_FIELD_MATCH, bufferedStart, bufferedEnd, results[MATCH_START]); 116 115 client.dumpSubCorpus(subCorpusName, CqiClient.CQI_CONST_FIELD_MATCHEND, bufferedStart, bufferedEnd, results[MATCH_END]);
Note: See TracChangeset
for help on using the changeset viewer.