Class SnowflakeSemanticVerifiedQuery

java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.structs.AtlanStruct
com.atlan.model.structs.SnowflakeSemanticVerifiedQuery
All Implemented Interfaces:
Serializable

@Generated("com.atlan.generators.ModelGeneratorV2") public class SnowflakeSemanticVerifiedQuery extends AtlanStruct
A verified query defined on a Snowflake semantic view: a question paired with the SQL that answers it.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • of

      public static SnowflakeSemanticVerifiedQuery of(String snowflakeSemanticVerifiedQueryName, String snowflakeSemanticVerifiedQueryQuestion, String snowflakeSemanticVerifiedQuerySql, Boolean snowflakeSemanticVerifiedQueryUseAsOnboardingQuestion)
      Quickly create a new SnowflakeSemanticVerifiedQuery.
      Parameters:
      snowflakeSemanticVerifiedQueryName - Name of the verified query in the semantic view.
      snowflakeSemanticVerifiedQueryQuestion - Natural-language question the query answers.
      snowflakeSemanticVerifiedQuerySql - SQL that answers the question.
      snowflakeSemanticVerifiedQueryUseAsOnboardingQuestion - Whether Cortex Analyst offers this question to new users as a suggestion (true) or not (false).
      Returns:
      a SnowflakeSemanticVerifiedQuery with the provided information
    • builder

    • toBuilder

    • getSnowflakeSemanticVerifiedQueryName

      public String getSnowflakeSemanticVerifiedQueryName()
      Name of the verified query in the semantic view.
    • getSnowflakeSemanticVerifiedQueryQuestion

      public String getSnowflakeSemanticVerifiedQueryQuestion()
      Natural-language question the query answers.
    • getSnowflakeSemanticVerifiedQuerySql

      public String getSnowflakeSemanticVerifiedQuerySql()
      SQL that answers the question.
    • getSnowflakeSemanticVerifiedQueryUseAsOnboardingQuestion

      public Boolean getSnowflakeSemanticVerifiedQueryUseAsOnboardingQuestion()
      Whether Cortex Analyst offers this question to new users as a suggestion (true) or not (false).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanStruct
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanStruct
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanStruct
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AtlanObject
    • getTypeName

      public String getTypeName()
      Fixed typeName for SnowflakeSemanticVerifiedQuery.
      Overrides:
      getTypeName in class AtlanStruct