@Test public void testGetRequestType() { AwqlReportRequest request = new AwqlReportRequest("SELECT foo, bar", DownloadFormat.CSV); assertEquals("Incorrect request type", RequestType.AWQL, request.getRequestType()); }
@Override public RequestType getRequestType() { return RequestType.AWQL; }
AwqlReportRequest implements ReportRequest { @Override public RequestType getRequestType() { return RequestType.AWQL; } }
AwqlReportRequest implements ReportRequest { @Override public RequestType getRequestType() { return RequestType.AWQL; } AwqlReportRequest(String awqlQuery, DownloadFormat downloadFormat); }
AwqlReportRequest implements ReportRequest { @Override public RequestType getRequestType() { return RequestType.AWQL; } AwqlReportRequest(String awqlQuery, DownloadFormat downloadFormat); @Override String getReportRequestString(); @Override DownloadFormat getDownloadFormat(); @Override String getApiVersion(); @Override RequestType getRequestType(); }
AwqlReportRequest implements ReportRequest { @Override public RequestType getRequestType() { return RequestType.AWQL; } AwqlReportRequest(String awqlQuery, DownloadFormat downloadFormat); @Override String getReportRequestString(); @Override DownloadFormat getDownloadFormat(); @Override String getApiVersion(); @Override RequestType getRequestType();  }