rocksdb/utilities/cassandra
mrambacher 1973fcba11 Restore Regex support for ObjectLibrary::Register, rename new APIs to allow old one to be deprecated in the future (#9362)
Summary:
In order to support old-style regex function registration, restored the original "Register<T>(string, Factory)" method using regular expressions.  The PatternEntry methods were left in place but renamed to AddFactory.  The goal is to allow for the deprecation of the original regex Registry method in an upcoming release.

Added modes to the PatternEntry kMatchZeroOrMore and kMatchAtLeastOne to match * or +, respectively (kMatchAtLeastOne was the original behavior).

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9362

Reviewed By: pdillinger

Differential Revision: D33432562

Pulled By: mrambacher

fbshipit-source-id: ed88ab3f9a2ad0d525c7bd1692873f9bb3209d02
2022-01-11 06:33:48 -08:00
..
cassandra_compaction_filter.cc
cassandra_compaction_filter.h
cassandra_format_test.cc
cassandra_functional_test.cc
cassandra_options.h
cassandra_row_merge_test.cc
cassandra_serialize_test.cc
format.cc
format.h
merge_operator.cc
merge_operator.h
serialize.h
test_utils.cc
test_utils.h