Class: LiterLlm::CacheBackendOpenDal
- Inherits:
-
Data
- Object
- Data
- LiterLlm::CacheBackendOpenDal
- Extended by:
- T::Sig
- Includes:
- CacheBackend
- Defined in:
- lib/liter_llm/native.rb
Overview
OpenDAL-backed storage. Supports 40+ backends (S3, Redis, GCS, local FS, etc.).
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
-
#scheme ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
661 662 663 |
# File 'lib/liter_llm/native.rb', line 661 def config @config end |
#scheme ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
661 662 663 |
# File 'lib/liter_llm/native.rb', line 661 def scheme @scheme end |
Class Method Details
.from_hash(hash) ⇒ Object
678 679 680 |
# File 'lib/liter_llm/native.rb', line 678 def self.from_hash(hash) new(scheme: hash[:scheme] || hash["scheme"], config: hash[:config] || hash["config"]) end |
Instance Method Details
#memory? ⇒ Boolean
672 |
# File 'lib/liter_llm/native.rb', line 672 def memory? = false |
#open_dal? ⇒ Boolean
674 675 676 |
# File 'lib/liter_llm/native.rb', line 674 def open_dal? = true # @param hash [Hash] deserialized from the native extension # @return [self] |