Class IcebergUpdateMode

java.lang.Object
io.deephaven.iceberg.util.IcebergUpdateMode

@Immutable public abstract class IcebergUpdateMode extends Object
  • Constructor Details

    • IcebergUpdateMode

      public IcebergUpdateMode()
  • Method Details

    • staticMode

      public static IcebergUpdateMode staticMode()
      Set a static update mode for this table.
    • manualRefreshingMode

      public static IcebergUpdateMode manualRefreshingMode()
      Set a manually-refreshing update mode for this table. The ordering of the data in the table will depend on the order in which the data files are discovered on refresh.
    • autoRefreshingMode

      public static IcebergUpdateMode autoRefreshingMode()
      Set an automatically-refreshing update mode for this table using the default refresh interval of 60 seconds. The ordering of the data in the table will depend on the order in which the data files are discovered on refresh.
    • autoRefreshingMode

      public static IcebergUpdateMode autoRefreshingMode(long refreshMs)
      Set an automatically-refreshing update mode for this table using the provided refresh interval. The ordering of the data in the table will depend on the order in which the data files are discovered on refresh.
      Parameters:
      refreshMs - the refresh interval in milliseconds
    • updateType

      @Default public IcebergUpdateMode.IcebergUpdateType updateType()
      Set the update mode for the result table. The default is IcebergUpdateMode.IcebergUpdateType.STATIC.
    • autoRefreshMs

      @Default public long autoRefreshMs()
      When the update type is IcebergUpdateMode.IcebergUpdateType.AUTO_REFRESHING, this value specifies the minimum interval in milliseconds between automatic refreshes of the table.
    • checkAutoRefreshingInterval

      @Check protected void checkAutoRefreshingInterval()