diff options
author | vkorukanti <venki@dremio.com> | 2016-06-09 16:03:06 -0700 |
---|---|---|
committer | vkorukanti <venki@dremio.com> | 2016-08-07 12:47:00 -0700 |
commit | ef6e522c9cba816110aa43ff6bccedf29a901236 (patch) | |
tree | 405652cba2b938f8ca811500d01b33f70c00c1d0 /protocol/src/main/java/org/apache/drill/exec/proto/ExecProtos.java | |
parent | 4bd67a66073a429fb19c4f21f4113fef8a24db21 (diff) |
DRILL-4728: Add support for new metadata fetch APIs
+ Protobuf messages
- GetCatalogsReq -> GetCatalogsResp
- GetSchemasReq -> GetSchemasResp
- GetTablesReq -> GetTablesResp
- GetColumnsReq -> GetColumnsResp
+ Java Drill client changes
+ Server side changes to handle the metadata API calls
- Provide a self contained `Runnable` implementation for each metadata API
that process the requests and sends the response to client
- In `UserWorker` override the `handle` method that takes the `ResponseSender` and
send the response from the `handle` method instead of returning it.
- Add a method for each new API to UserWorker to submit the metadata work.
- Add a method `addNewWork(Runnable runnable)` to `WorkerBee` to submit a generic
`Runnable` to `ExecutorService`.
- Move out couple of methods from `QueryContext` into a separate interface
`SchemaConfigInfoProvider` to enable instantiating Schema trees without the
full `QueryContext`
+ New protobuf messages increased the `jdbc-all.jar` size. Up the limit to 21MB.
this closes #527
Diffstat (limited to 'protocol/src/main/java/org/apache/drill/exec/proto/ExecProtos.java')
0 files changed, 0 insertions, 0 deletions