Enum Class QueryExplainComplexityFactor

java.lang.Object
java.lang.Enum<QueryExplainComplexityFactor>
com.veeva.vault.sdk.api.query.QueryExplainComplexityFactor
All Implemented Interfaces:
Serializable, Comparable<QueryExplainComplexityFactor>, Constable

public enum QueryExplainComplexityFactor extends Enum<QueryExplainComplexityFactor>
Valid values for the individual factors that contribute to a target's complexity score in a VQL explain plan.
See Also:
  • Enum Constant Details

    • SECURITY

      public static final QueryExplainComplexityFactor SECURITY
      The target's complexity was increased by record-level or field-level security enforcement.
    • COMPUTED_FIELDS

      public static final QueryExplainComplexityFactor COMPUTED_FIELDS
      The target's complexity was increased by one or more computed fields, which require additional processing to retrieve, such as formula fields.
    • ORDER_BY

      public static final QueryExplainComplexityFactor ORDER_BY
      The target's complexity was increased by a sort (ORDER BY) applied to the target.
    • SELECTED_FIELDS

      public static final QueryExplainComplexityFactor SELECTED_FIELDS
      The target's complexity was increased by the number of fields selected from the target.
    • LARGE_FILTER_SET

      public static final QueryExplainComplexityFactor LARGE_FILTER_SET
      The target's complexity was increased by a complex filter or a filter term containing a large set of values, such as a large CONTAINS clause.
    • FIND

      public static final QueryExplainComplexityFactor FIND
      The target's complexity was increased by a FIND (text search) clause.
    • UNINDEXED_FILTER

      public static final QueryExplainComplexityFactor UNINDEXED_FILTER
      The target's complexity was increased by a filter that cannot use any index. A filter with multiple terms only triggers this factor if none of its terms can use an index — a filter where only part of it is indexed does not trigger this factor. Only applicable to QueryExplainTargetType.RAW_OBJECT objects.
  • Method Details

    • values

      public static QueryExplainComplexityFactor[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QueryExplainComplexityFactor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null