@Test public void shouldNotSupportCursorRequest() { SQLQueryRequest fetchSizeRequest = SQLQueryRequestBuilder.request("SELECT 1") .jsonContent("{\"query\": \"SELECT 1\", \"fetch_size\": 5}") .build(); assertFalse(fetchSizeRequest.isSupported()); SQLQueryRequest cursorRequest = SQLQueryRequestBuilder.request("SELECT 1") .jsonContent("{\"cursor\": \"abcdefgh...\"}") .build(); assertFalse(cursorRequest.isSupported()); }
public boolean isSupported() { return !isExplainRequest() && isOnlyQueryFieldInPayload() && isDefaultFormat(); }
SQLQueryRequest { public boolean isSupported() { return !isExplainRequest() && isOnlyQueryFieldInPayload() && isDefaultFormat(); } }
SQLQueryRequest { public boolean isSupported() { return !isExplainRequest() && isOnlyQueryFieldInPayload() && isDefaultFormat(); }  }
SQLQueryRequest { public boolean isSupported() { return !isExplainRequest() && isOnlyQueryFieldInPayload() && isDefaultFormat(); }  boolean isSupported(); }
SQLQueryRequest { public boolean isSupported() { return !isExplainRequest() && isOnlyQueryFieldInPayload() && isDefaultFormat(); }  boolean isSupported();  }