Sha256: 23dac84a2d31827ddf47e3c11adb72c2985cb31e045b9c68ca19bf24b8b7507b
Contents?: true
Size: 576 Bytes
Versions: 2
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module Esse module Backend class IndexType require_relative 'index_type/documents' extend Forwardable # Type delegators def_delegators :@index_type, :type_name, :each_serialized_batch, :serialize # Index delegators def_delegators :index_class, :index_name def initialize(type) @index_type = type end protected def index_class @index_type.index end def client index_class.cluster.client end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
esse-0.0.3 | lib/esse/backend/index_type.rb |
esse-0.0.2 | lib/esse/backend/index_type.rb |