@@ -361,6 +361,7 @@ public enum QueryView {
361361 * @param valueHandle a handle for reading the values for the matched documents
362362 * @param start the offset of the first returned result (where 1 is the first value)
363363 * @param transaction a open transaction for matching documents
364+ * @param <T> the type of ValuesReadHandle to return
364365 * @return the handle populated with the values from the index
365366 */
366367 public <T extends ValuesReadHandle > T values (ValuesDefinition valdef , T valueHandle , long start , Transaction transaction );
@@ -370,6 +371,7 @@ public enum QueryView {
370371 * based on query criteria and, potentially, previously saved query options.
371372 * @param valdef the definition of query criteria and query options
372373 * @param tupleHandle a handle for reading the tuples for the matched documents
374+ * @param <T> the type of TuplesReadHandle to return
373375 * @return the handle populated with the tuples from the index
374376 */
375377 public <T extends TuplesReadHandle > T tuples (ValuesDefinition valdef , T tupleHandle );
@@ -380,6 +382,7 @@ public enum QueryView {
380382 * @param valdef the definition of query criteria and query options
381383 * @param tupleHandle a handle for reading the tuples for the matched documents
382384 * @param start the offset of the first returned result (where 1 is the first tuple)
385+ * @param <T> the type of TuplesReadHandle to return
383386 * @return the handle populated with the tuples from the index
384387 */
385388 public <T extends TuplesReadHandle > T tuples (ValuesDefinition valdef , T tupleHandle , long start );
@@ -392,6 +395,7 @@ public enum QueryView {
392395 * @param valdef the definition of query criteria and query options
393396 * @param tupleHandle a handle for reading the tuples for the matched documents
394397 * @param transaction a open transaction for matching documents
398+ * @param <T> the type of TuplesReadHandle to return
395399 * @return the handle populated with the tuples from the index
396400 */
397401 public <T extends TuplesReadHandle > T tuples (ValuesDefinition valdef , T tupleHandle , Transaction transaction );
@@ -405,6 +409,7 @@ public enum QueryView {
405409 * @param tupleHandle a handle for reading the tuples for the matched documents
406410 * @param start the offset of the first returned result (where 1 is the first tuple)
407411 * @param transaction a open transaction for matching documents
412+ * @param <T> the type of TuplesReadHandle to return
408413 * @return the handle populated with the tuples from the index
409414 */
410415 public <T extends TuplesReadHandle > T tuples (ValuesDefinition valdef , T tupleHandle , long start , Transaction transaction );
@@ -414,6 +419,7 @@ public enum QueryView {
414419 * values list definition and, potentially, previously saved query options.
415420 * @param valdef the definition of the query criteria and options
416421 * @param valueHandle a handle for reading the list of names lexicon configurations
422+ * @param <T> the type of ValuesListReadHandle to return
417423 * @return the handle populated with the names
418424 */
419425 public <T extends ValuesListReadHandle > T valuesList (ValuesListDefinition valdef , T valueHandle );
@@ -426,13 +432,15 @@ public enum QueryView {
426432 * @param valdef the definition of the query criteria and options
427433 * @param valueHandle a handle for reading the list of names lexicon configurations
428434 * @param transaction a open transaction for matching documents
435+ * @param <T> the type of ValuesListReadHandle to return
429436 * @return the handle populated with the names
430437 */
431438 public <T extends ValuesListReadHandle > T valuesList (ValuesListDefinition valdef , T valueHandle , Transaction transaction );
432439
433440 /**
434441 * Retrieves the list of available named query options.
435442 * @param listHandle a handle for reading the list of name options
443+ * @param <T> the type of QueryOptionsListReadHandle to return
436444 * @return the handle populated with the names
437445 */
438446 public <T extends QueryOptionsListReadHandle > T optionsList (T listHandle );
@@ -443,6 +451,7 @@ public enum QueryView {
443451 * options deleted by the transaction.
444452 * @param valueHandle a handle for reading the list of name options
445453 * @param transaction a open transaction for matching documents
454+ * @param <T> the type of QueryOptionsListReadHandle to return
446455 * @return the handle populated with the names
447456 */
448457 public <T extends QueryOptionsListReadHandle > T optionsList (T valueHandle , Transaction transaction );
@@ -471,17 +480,19 @@ public enum QueryView {
471480 public MatchDocumentSummary findOne (QueryDefinition querydef , Transaction transaction );
472481
473482 /**
474- * Converts a query by example into a combined query that expresses the criteria
475- * as a structured search.
483+ * Sends a query by example to the server to convert into a combined query
484+ * that expresses the criteria as a structured search.
476485 * @param query the query by example
477- * @param convertedHandle
486+ * @param convertedHandle the container to use for the new converted query
487+ * @param <T> the type of StructureReadHandle to return
478488 * @return the handle populated with the combined query
479489 */
480490 public <T extends StructureReadHandle > T convert (RawQueryByExampleDefinition query , T convertedHandle );
481491 /**
482492 * Checks a query by example for mistakes in expressing the criteria.
483493 * @param query the query by example
484494 * @param reportHandle a handle for reading the validation report
495+ * @param <T> the type of StructureReadHandle to return
485496 * @return the handle populated with the validation report
486497 */
487498 public <T extends StructureReadHandle > T validate (RawQueryByExampleDefinition query , T reportHandle );
0 commit comments