...
For example, let's look at the Type 'CanonicalSmartBulb
' from the lightbulbAD tutorial package:
Code Block |
---|
/* * Copyright 2009-2020 C3 (www.c3.ai). All Rights Reserved. * This material, including without limitation any software, is the confidential trade secret and proprietary * information of C3 and its licensors. Reproduction, use and/or distribution of this material in any form is * strictly prohibited except as set forth in a written license agreement with C3 and/or its authorized distributors. * This material may be covered by one or more patents or pending patent applications. */ /** * This type represents the raw data that will represent {@link SmartBulb} information. */ type CanonicalSmartBulb mixes Canonical<CanonicalSmartBulb> { /** * This represents the manufacturer of a {@link LightBulb} */ Manufacturer: string /** * This represents the bulbType of a {@link LightBulb} */ BulbType: string /** * This represents the wattage of a {@link LightBulb} */ Wattage: decimal /** * This represents the id of a {@link LightBulb} */ SN: string /** * This represents the startDate of a {@link LightBulb} */ StartDate: datetime /** * This represents the latitude of a {@link SmartBulb} */ Latitude: double /** * This represents the longitude of a {@link SmartBulb} */ Longitude: double } |
...
c3Grid(InvalidationQueue.countAll())
Some times a queue can accumulate errors. The errors for a specific queue can be inspected with <QueueName>.errors()
.
If processing has finished, or we want a closer look, we can inspect the chunk status like so:
...