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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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 markdown=“1”> This data structure is only used with the deprecated ‘ExecuteSql` operation. Use the `BatchExecuteStatement` or `ExecuteStatement` operation instead.

</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:



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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)


1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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:



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

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



1108
1109
1110
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 1108

def unknown
  @unknown
end