@Test public void shouldNotSupportExplain() { SQLQueryRequest explainRequest = SQLQueryRequestBuilder.request("SELECT 1") .path("_opendistro/_sql/_explain") .build(); assertFalse(explainRequest.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();  }