Class SnowflakeTelemetryBasicInfo

    • Constructor Detail

      • SnowflakeTelemetryBasicInfo

        public SnowflakeTelemetryBasicInfo​(String tableName,
                                           SnowflakeTelemetryService.TelemetryType telemetryType)
        Base Constructor. Accepts a tableName and StageName.
        Parameters:
        tableName - Checks for Nullability
    • Method Detail

      • dumpTo

        public abstract void dumpTo​(net.snowflake.client.jdbc.internal.fasterxml.jackson.databind.node.ObjectNode msg)
        Adds the required fields into the given ObjectNode which will then be used as payload in Telemetry API
        Parameters:
        msg - ObjectNode in which extra fields needs to be added.
      • isEmpty

        public abstract boolean isEmpty()
        Returns:
        true if it would suggest that their was no update to corresponding implementation's member variables. Or, in other words, the corresponding partition didnt receive any records, in which case we would not call telemetry API.