Class: Aws::RDSDataService::Types::Value

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb

Overview

Note:

Value is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Value corresponding to the set member.

Contains the value of a column.

 <note> <p>This data structure is only used with the deprecated <code>ExecuteSql</code> operation. Use the <code>BatchExecuteStatement</code> or <code>ExecuteStatement</code> operation instead.</p> </note>

Defined Under Namespace

Classes: ArrayValues, BigIntValue, BitValue, BlobValue, DoubleValue, IntValue, IsNull, RealValue, StringValue, StructValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#array_valuesArray<Types::Value>

An array of column values.

Returns:



1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#big_int_valueInteger

A value for a column of big integer data type.

Returns:

  • (Integer)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#bit_valueBoolean

A value for a column of BIT data type.

Returns:

  • (Boolean)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#blob_valueString

A value for a column of BLOB data type.

Returns:

  • (String)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#double_valueFloat

A value for a column of double data type.

Returns:

  • (Float)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#int_valueInteger

A value for a column of integer data type.

Returns:

  • (Integer)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#is_nullBoolean

A NULL value.

Returns:

  • (Boolean)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#real_valueFloat

A value for a column of real data type.

Returns:

  • (Float)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#string_valueString

A value for a column of string data type.

Returns:

  • (String)


1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#struct_valueTypes::StructValue

A value for a column of STRUCT data type.

Returns:



1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

class Value < Struct.new(
  :is_null,
  :bit_value,
  :big_int_value,
  :int_value,
  :double_value,
  :real_value,
  :string_value,
  :blob_value,
  :array_values,
  :struct_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Value; end
  class BitValue < Value; end
  class BigIntValue < Value; end
  class IntValue < Value; end
  class DoubleValue < Value; end
  class RealValue < Value; end
  class StringValue < Value; end
  class BlobValue < Value; end
  class ArrayValues < Value; end
  class StructValue < Value; end
  class Unknown < Value; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1116
1117
1118
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 1116

def unknown
  @unknown
end