vibhatha commented on code in PR #13700: URL: https://github.com/apache/arrow/pull/13700#discussion_r937891236
########## cpp/src/arrow/compute/api_vector.h: ########## @@ -174,6 +174,23 @@ class ARROW_EXPORT SelectKOptions : public FunctionOptions { std::vector<SortKey> sort_keys; }; +/// \brief Fetch options +class ARROW_EXPORT FetchOptions : public FunctionOptions { + public: + explicit FetchOptions(int64_t offset = 0, int64_t count = 0, + std::vector<SortKey> sort_keys = {}, bool sort_first = true); + static constexpr char const kTypeName[] = "FetchOptions"; + + /// The number of `offset` elements to skip. + int64_t offset; + /// The number of `count` elements to select. + int64_t count; + /// Column key(s) to order by and how to order by these sort keys. Review Comment: WDYT? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org