Module rocks::slice_transform [] [src]

Class for specifying user-defined functions which perform a transformation on a slice.

It is not required that every slice belong to the domain and/or range of a function. Subclasses should define InDomain and InRange to determine which slices are in either of these sets respectively.

Traits

SliceTransform

A SliceTranform is a generic pluggable way of transforming one string to another. Its primary use-case is in configuring rocksdb to store prefix blooms by setting prefix_extractor in ColumnFamilyOptions.

Functions

rust_slice_transform_call
rust_slice_transform_drop
rust_slice_transform_in_domain
rust_slice_transform_name