Class SqlText.Builder

  • Enclosing class:
    SqlText

    public static class SqlText.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • version

        public SqlText.Builder version​(Float version)
        Version Example: 1
        Parameters:
        version - the value to set
        Returns:
        this builder
      • sqlIdentifier

        public SqlText.Builder sqlIdentifier​(String sqlIdentifier)
        Unique SQL_ID for a SQL Statement.
        Parameters:
        sqlIdentifier - the value to set
        Returns:
        this builder
      • timeCollected

        public SqlText.Builder timeCollected​(Date timeCollected)
        Collection timestamp Example: “2020-05-06T00:00:00.000Z”
        Parameters:
        timeCollected - the value to set
        Returns:
        this builder
      • sqlCommand

        public SqlText.Builder sqlCommand​(String sqlCommand)
        SQL command Example: “SELECT”
        Parameters:
        sqlCommand - the value to set
        Returns:
        this builder
      • exactMatchingSignature

        public SqlText.Builder exactMatchingSignature​(String exactMatchingSignature)
        Exact matching signature Example: “18067345456756876713”
        Parameters:
        exactMatchingSignature - the value to set
        Returns:
        this builder
      • forceMatchingSignature

        public SqlText.Builder forceMatchingSignature​(String forceMatchingSignature)
        Force matching signature Example: “18067345456756876713”
        Parameters:
        forceMatchingSignature - the value to set
        Returns:
        this builder
      • sqlFullText

        public SqlText.Builder sqlFullText​(String sqlFullText)
        Full SQL Text Example: “SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users” Disclaimer: SQL text being uploaded explicitly via APIs is not masked.

        Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.

        Parameters:
        sqlFullText - the value to set
        Returns:
        this builder