| 32 | class ScanFutureImpl : public ScanFuture { |
| 33 | public: |
| 34 | explicit ScanFutureImpl(fedb::RpcCallback<fedb::api::ScanResponse>* callback, |
| 35 | const ::google::protobuf::RepeatedField<uint32_t>& projection, |
| 36 | std::shared_ptr<::hybridse::vm::TableHandler> table_handler) |
| 37 | : callback_(callback), schema_(), projection_(projection), table_handler_(table_handler) { |
| 38 | if (callback_) { |
| 39 | callback_->Ref(); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | ~ScanFutureImpl() { |
| 44 | if (callback_) { |