Class: Aws::RedshiftDataAPIService::Types::Field

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

Overview

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.

A data value in a column.

Defined Under Namespace

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blob_valueString

A value of the BLOB data type.

Returns:

  • (String)


707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

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

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

#boolean_valueBoolean

A value of the Boolean data type.

Returns:

  • (Boolean)


707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

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

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

#double_valueFloat

A value of the double data type.

Returns:

  • (Float)


707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

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

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

#is_nullBoolean

A value that indicates whether the data is NULL.

Returns:

  • (Boolean)


707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

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

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

#long_valueInteger

A value of the long data type.

Returns:

  • (Integer)


707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

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

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

#string_valueString

A value of the string data type.

Returns:

  • (String)


707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



707
708
709
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 707

def unknown
  @unknown
end