Class: Aws::RedshiftDataAPIService::Types::Field
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::RedshiftDataAPIService::Types::Field
 
 
- Includes:
 - Structure, Structure::Union
 
- Defined in:
 - lib/aws-sdk-redshiftdataapiservice/types.rb
 
Overview
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.
Direct Known Subclasses
BlobValue, BooleanValue, DoubleValue, IsNull, LongValue, StringValue, Unknown
Defined Under Namespace
Classes: BlobValue, BooleanValue, DoubleValue, IsNull, LongValue, StringValue, Unknown
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #blob_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A value of the BLOB data type.
 - 
  
    
      #boolean_value  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A value of the Boolean data type.
 - 
  
    
      #double_value  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A value of the double data type.
 - 
  
    
      #is_null  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A value that indicates whether the data is NULL.
 - 
  
    
      #long_value  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A value of the long data type.
 - 
  
    
      #string_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A value of the string data type.
 - 
  
    
      #unknown  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute unknown.
 
Instance Attribute Details
#blob_value ⇒ String
A value of the BLOB data type.
      772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 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_value ⇒ Boolean
A value of the Boolean data type.
      772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 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_value ⇒ Float
A value of the double data type.
      772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 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_null ⇒ Boolean
A value that indicates whether the data is NULL.
      772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 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_value ⇒ Integer
A value of the long data type.
      772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 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_value ⇒ String
A value of the string data type.
      772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 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  | 
  
#unknown ⇒ Object
Returns the value of attribute unknown
      772 773 774  | 
    
      # File 'lib/aws-sdk-redshiftdataapiservice/types.rb', line 772 def unknown @unknown end  |