[][src]Module rocks::slice_transform

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.