Uses of Interface
org.apache.drill.exec.rpc.DrillRpcFuture
Package
Description
Java client API for submitting queries and accepting result sets from a Drill
server.
-
Uses of DrillRpcFuture in org.apache.drill.exec.client
Modifier and TypeMethodDescriptionDrillClient.cancelQuery
(UserBitShared.QueryId id) DrillClient.createPreparedStatement
(String query) Create a prepared statement for given thequery
.DrillClient.getCatalogs
(UserProtos.LikeFilter catalogNameFilter) Get the list of catalogs inINFORMATION_SCHEMA.CATALOGS
table satisfying the given filters.DrillClient.getColumns
(UserProtos.LikeFilter catalogNameFilter, UserProtos.LikeFilter schemaNameFilter, UserProtos.LikeFilter tableNameFilter, UserProtos.LikeFilter columnNameFilter) Get the list of columns inINFORMATION_SCHEMA.COLUMNS
table satisfying the given filters.DrillClient.getSchemas
(UserProtos.LikeFilter catalogNameFilter, UserProtos.LikeFilter schemaNameFilter) Get the list of schemas inINFORMATION_SCHEMA.SCHEMATA
table satisfying the given filters.DrillClient.getServerMeta()
Get server meta information Get meta information about the server like the the available functions or the identifier quoting string used by the current sessionDrillClient.getTables
(UserProtos.LikeFilter catalogNameFilter, UserProtos.LikeFilter schemaNameFilter, UserProtos.LikeFilter tableNameFilter, List<String> tableTypeFilter) Get the list of tables inINFORMATION_SCHEMA.TABLES
table satisfying the given filters.DrillClient.planQuery
(UserBitShared.QueryType type, String query, boolean isSplitPlan) API to just plan a query without executionDrillClient.resumeQuery
(UserBitShared.QueryId queryId) -
Uses of DrillRpcFuture in org.apache.drill.exec.rpc
Modifier and TypeMethodDescriptionFutureBitCommand.getFuture()
<SEND extends com.google.protobuf.MessageLite,
RECEIVE extends com.google.protobuf.MessageLite>
DrillRpcFuture<RECEIVE>BasicClient.send
(T rpcType, SEND protobufBody, Class<RECEIVE> clazz, io.netty.buffer.ByteBuf... dataBodies) <SEND extends com.google.protobuf.MessageLite,
RECEIVE extends com.google.protobuf.MessageLite>
DrillRpcFuture<RECEIVE>RpcBus.send
(C connection, T rpcType, SEND protobufBody, Class<RECEIVE> clazz, io.netty.buffer.ByteBuf... dataBodies) -
Uses of DrillRpcFuture in org.apache.drill.exec.rpc.control
Modifier and TypeMethodDescriptionControlTunnel.requestCancelQuery
(UserBitShared.QueryId queryId) ControlTunnel.requestQueryProfile
(UserBitShared.QueryId queryId) ControlTunnel.sendFragmentStatus
(BitControl.FragmentStatus status) ModifierConstructorDescriptionCustomFuture
(Controller.CustomSerDe<RECEIVE> serde, DrillRpcFuture<BitControl.CustomMessage> future) -
Uses of DrillRpcFuture in org.apache.drill.exec.rpc.user
Modifier and TypeMethodDescriptionUserClient.planQuery
(UserProtos.GetQueryPlanFragments req) planQuery is an API to plan a query without query execution