pub enum AdHocResultFormat {
Text,
Json,
Parquet,
ArrowIpc,
Hash,
}Expand description
URL-encoded format argument to the /query endpoint.
Variants§
Text
Serialize results as a human-readable text table.
Json
Serialize results as new-line delimited JSON records.
§Deprecation Notice
This format is deprecated and will be removed in the future.
Users are encouraged to use the arrow_ipc format instead,
See https://github.com/feldera/feldera/issues/4219 for more details.
Parquet
Download results in a parquet file.
ArrowIpc
Stream data in the arrow IPC format.
Hash
Returns a hash of the results instead of the actual data.
The output in this case is a single string/line containing a SHA256 hash (or a JSON formatted error message in case the query failed to execute).
This is useful for verifying the integrity of the data without transferring the entire dataset.
Note that supplying a query with this format will implicitly
add an ORDER BY clause for all fields of the result to the query
to ensure consistent ordering of results.
e.g., a query like select * from materialized_view will be rewritten as
select * from materialized_view order by col1, col2, ..., colN
Trait Implementations§
Source§impl Clone for AdHocResultFormat
impl Clone for AdHocResultFormat
Source§fn clone(&self) -> AdHocResultFormat
fn clone(&self) -> AdHocResultFormat
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AdHocResultFormat
impl Debug for AdHocResultFormat
Source§impl Default for AdHocResultFormat
impl Default for AdHocResultFormat
Source§fn default() -> AdHocResultFormat
fn default() -> AdHocResultFormat
Source§impl<'de> Deserialize<'de> for AdHocResultFormat
impl<'de> Deserialize<'de> for AdHocResultFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for AdHocResultFormat
impl Display for AdHocResultFormat
Source§impl PartialEq for AdHocResultFormat
impl PartialEq for AdHocResultFormat
Source§impl Serialize for AdHocResultFormat
impl Serialize for AdHocResultFormat
Source§impl<'__s> ToSchema<'__s> for AdHocResultFormat
impl<'__s> ToSchema<'__s> for AdHocResultFormat
impl Copy for AdHocResultFormat
impl StructuralPartialEq for AdHocResultFormat
Auto Trait Implementations§
impl Freeze for AdHocResultFormat
impl RefUnwindSafe for AdHocResultFormat
impl Send for AdHocResultFormat
impl Sync for AdHocResultFormat
impl Unpin for AdHocResultFormat
impl UnwindSafe for AdHocResultFormat
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)