Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public interface StructuredQueryDefinition
*
* @param xmlStreamWriter The XML stream writer to which the query definition should be serialized.
* @throws XMLStreamException
* @since 6.2.0
*/
void serialize(XMLStreamWriter xmlStreamWriter) throws XMLStreamException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ public enum RowStructure{ARRAY, OBJECT}
* @param resultsHandle the IO class for capturing the results
* @param <T> the type of the IO object for r the results
* @return an object of the IO class containing the query results, which will include error messages if the query fails
* @since 6.2.0
*/
<T extends JSONReadHandle> T graphql(JSONWriteHandle query, T resultsHandle);

Expand All @@ -379,6 +380,7 @@ public enum RowStructure{ARRAY, OBJECT}
* @param as the class type of the results to return; typically JsonNode or String
* @param <T> the type of the results to return
* @return an instance of the given return type that contains the query results, which will include error messages if the query fails
* @since 6.2.0
*/
<T> T graphqlAs(JSONWriteHandle query, Class<T> as);
}