Class CrawlerHistory

    • Method Detail

      • crawlId

        public final String crawlId()

        A UUID identifier for each crawl.

        Returns:
        A UUID identifier for each crawl.
      • startTime

        public final Instant startTime()

        The date and time on which the crawl started.

        Returns:
        The date and time on which the crawl started.
      • endTime

        public final Instant endTime()

        The date and time on which the crawl ended.

        Returns:
        The date and time on which the crawl ended.
      • summary

        public final String summary()

        A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.

        Returns:
        A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
      • errorMessage

        public final String errorMessage()

        If an error occurred, the error message associated with the crawl.

        Returns:
        If an error occurred, the error message associated with the crawl.
      • logGroup

        public final String logGroup()

        The log group associated with the crawl.

        Returns:
        The log group associated with the crawl.
      • logStream

        public final String logStream()

        The log stream associated with the crawl.

        Returns:
        The log stream associated with the crawl.
      • messagePrefix

        public final String messagePrefix()

        The prefix for a CloudWatch message about this crawl.

        Returns:
        The prefix for a CloudWatch message about this crawl.
      • dpuHour

        public final Double dpuHour()

        The number of data processing units (DPU) used in hours for the crawl.

        Returns:
        The number of data processing units (DPU) used in hours for the crawl.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)