> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RecordRetrieverOptions

> RecordRetrieverOptions — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[record\_retriever](https://docs.kinetica.com/content/api/rust/record_retriever/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L74-L77)&#x20;

<pre>`pub struct RecordRetrieverOptions {    pub options: HashMap<String, String>,}`</pre>

Options for the RecordRetriever.This struct provides configuration options that can be passed to the `GetRecords` and `GetRecordsByColumn` calls.

Fields
`options: HashMap<String, String>`

Options map to pass to retrieval calls

## Implementations

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L79-L100)
impl [RecordRetrieverOptions](https://docs.kinetica.com/content/api/rust/record_retriever/struct.RecordRetrieverOptions.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L81-L83)
pub fn [new](#method.new)() -> Self

Creates a new RecordRetrieverOptions with default values.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L86-L89)
pub fn [set\_option](#method.set_option)( \&mut self, key: impl [Into](https://doc.rust-lang.org/1.98.1/core/convert/trait.Into.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, value: impl [Into](https://doc.rust-lang.org/1.98.1/core/convert/trait.Into.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>, ) -> \&mut Self

Sets an option. Returns self for method chaining.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L92-L94)
pub fn [set\_expression](#method.set_expression)(\&mut self, expression: impl [Into](https://doc.rust-lang.org/1.98.1/core/convert/trait.Into.html)\<[String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)>) -> \&mut Self

Sets the expression option. Returns self for method chaining.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L97-L99)
pub fn [set\_fast\_index\_lookup](#method.set_fast_index_lookup)(\&mut self, enabled: [bool](https://doc.rust-lang.org/1.98.1/std/primitive.bool.html)) -> \&mut Self

Sets the fast index lookup option. Returns self for method chaining.

## Trait Implementations

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L73)
impl [Clone](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html) for [RecordRetrieverOptions](https://docs.kinetica.com/content/api/rust/record_retriever/struct.RecordRetrieverOptions.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L73)
fn [clone](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#tymethod.clone)(\&self) -> [RecordRetrieverOptions](https://docs.kinetica.com/content/api/rust/record_retriever/struct.RecordRetrieverOptions.md)

Returns a duplicate of the value. [Read more](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#tymethod.clone)

1.0.0 (const: [unstable](https://github.com/rust-lang/rust/issues/142757)) · [Source](https://doc.rust-lang.org/1.98.1/src/core/clone.rs.html#245-247)
fn [clone\_from](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#method.clone_from)(\&mut self, source: \&Self)

Performs copy-assignment from `source`. [Read more](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#method.clone_from)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L73)
impl [Debug](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html) for [RecordRetrieverOptions](https://docs.kinetica.com/content/api/rust/record_retriever/struct.RecordRetrieverOptions.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L73)
fn [fmt](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html#tymethod.fmt)(\&self, f: \&mut [Formatter](https://doc.rust-lang.org/1.98.1/core/fmt/struct.Formatter.html)\<'\_>) -> [Result](https://doc.rust-lang.org/1.98.1/core/fmt/type.Result.html)

Formats the value using the given formatter. [Read more](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html#tymethod.fmt)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L73)
impl [Default](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html) for [RecordRetrieverOptions](https://docs.kinetica.com/content/api/rust/record_retriever/struct.RecordRetrieverOptions.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/record_retriever.rs#L73)
fn [default](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html#tymethod.default)() -> [RecordRetrieverOptions](https://docs.kinetica.com/content/api/rust/record_retriever/struct.RecordRetrieverOptions.md)

Returns the “default value” for a type. [Read more](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html#tymethod.default)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.