Example #1
0
 /** For testing only. */
 Source withMockEstimateSizeBytes(Long estimateSizeBytes) {
   Source res = new Source(host, datasetId, query, namespace);
   res.mockSplitter = mockSplitter;
   res.mockEstimateSizeBytes = estimateSizeBytes;
   return res;
 }
Example #2
0
 /** For testing only. */
 Source withMockSplitter(QuerySplitter splitter) {
   Source res = new Source(host, datasetId, query, namespace);
   res.mockSplitter = splitter;
   res.mockEstimateSizeBytes = mockEstimateSizeBytes;
   return res;
 }