Class: Terastream::TypeMap
- Inherits:
-
Object
- Object
- Terastream::TypeMap
- Defined in:
- lib/terastream/query/type_map.rb
Class Method Summary collapse
Class Method Details
.map(value) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/terastream/query/type_map.rb', line 4 def map(value) if [1, -9, 12, -15, 91].include?(value) :getString else :getObject end end |