Class: ElasticSearch::Encoding::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/elasticsearch/encoding/base.rb

Direct Known Subclasses

JSON

Instance Method Summary collapse

Instance Method Details

#decode(string) ⇒ Object



8
9
10
# File 'lib/elasticsearch/encoding/base.rb', line 8

def decode(string)
  raise "not implemented"
end

#encode(object) ⇒ Object



4
5
6
# File 'lib/elasticsearch/encoding/base.rb', line 4

def encode(object)
  raise "not implemented"
end

#is_encoded?(object) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/elasticsearch/encoding/base.rb', line 12

def is_encoded?(object)
  raise "not implemented"
end