Class: Aws::AmplifyUIBuilder::Types::Predicate

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Stores information for generating Amplify DataStore queries. Use a ‘Predicate` to retrieve a subset of the data in a collection.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#andArray<Types::Predicate>

A list of predicates to combine logically.

Returns:



2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2685

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#fieldString

The field to query.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2685

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operandString

The value to use when performing the evaluation.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2685

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operand_typeString

The type of value to use when performing the evaluation.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2685

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The operator to use to perform the evaluation.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2685

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#orArray<Types::Predicate>

A list of predicates to combine logically.

Returns:



2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 2685

class Predicate < Struct.new(
  :or,
  :and,
  :field,
  :operator,
  :operand,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end