Class: Aws::RDSDataService::Types::Field

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

Overview

Note:

Field is a union - when making an API calls you must set exactly one of the members.

Note:

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

Contains a value.

Defined Under Namespace

Classes: ArrayValue, BlobValue, BooleanValue, DoubleValue, IsNull, LongValue, StringValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#array_valueTypes::ArrayValue

An array of values.

Returns:



636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#blob_valueString

A value of BLOB data type.

Returns:

  • (String)


636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#boolean_valueBoolean

A value of Boolean data type.

Returns:

  • (Boolean)


636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#double_valueFloat

A value of double data type.

Returns:

  • (Float)


636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#is_nullBoolean

A NULL value.

Returns:

  • (Boolean)


636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#long_valueInteger

A value of long data type.

Returns:

  • (Integer)


636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#string_valueString

A value of string data type.

Returns:

  • (String)


636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

class Field < Struct.new(
  :is_null,
  :boolean_value,
  :long_value,
  :double_value,
  :string_value,
  :blob_value,
  :array_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class IsNull < Field; end
  class BooleanValue < Field; end
  class LongValue < Field; end
  class DoubleValue < Field; end
  class StringValue < Field; end
  class BlobValue < Field; end
  class ArrayValue < Field; end
  class Unknown < Field; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



636
637
638
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 636

def unknown
  @unknown
end