Class: Jredshift::ArrayOfHashesResult

Inherits:
Object
  • Object
show all
Defined in:
lib/jredshift/array_of_hashes_result.rb

Constant Summary collapse

COL_TYPE_BIGINT =
-5
COL_TYPE_BIT =
-7
COL_TYPE_CHAR =
1
COL_TYPE_DATE =
41
COL_TYPE_DECIMAL =
3
COL_TYPE_DOUBLE =
8
COL_TYPE_FLOAT =
6
COL_TYPE_INTEGER =
4
COL_TYPE_NCHAR =
-15
COL_TYPE_NUMERIC =
2
COL_TYPE_NVARCHAR =
-9
COL_TYPE_SMALLINT =
5
COL_TYPE_TIME =
92
COL_TYPE_TIMESTAMP =
93
COL_TYPE_TINYINT =
-6
COL_TYPE_VARCHAR =
12

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(java_result_set) ⇒ ArrayOfHashesResult

Returns a new instance of ArrayOfHashesResult.



27
28
29
30
# File 'lib/jredshift/array_of_hashes_result.rb', line 27

def initialize(java_result_set)
  @java_result_set = java_result_set
  @result = result_set_to_array_of_hashes
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



6
7
8
# File 'lib/jredshift/array_of_hashes_result.rb', line 6

def result
  @result
end