Class TimeTable

java.lang.Object
io.deephaven.qst.table.TableBase
io.deephaven.qst.table.TimeTable
All Implemented Interfaces:
TableOperations<TableSpec,TableSpec>, TableOperationsDefaults<TableSpec,TableSpec>, TableSchema, TableSpec

@Immutable public abstract class TimeTable extends TableBase
A time table adds rows at a fixed interval with a Timestamp column.
  • Constructor Details

    • TimeTable

      public TimeTable()
  • Method Details

    • builder

      public static TimeTable.Builder builder()
      Create a time table builder.

      Time tables constructed via this builder are not equal to other instances unless all the fields specified are equal and TimeTable.Builder.id(Object) is explicitly set to equivalent objects.

      Returns:
      the builder
    • of

      public static TimeTable of(Duration interval)
      The time table.

      Note: of(interval).equals(of(interval)) == false.

      Parameters:
      interval - the interval
      Returns:
      the time table
    • of

      public static TimeTable of(Duration interval, Instant startTime)
      The time table. Instances constructed via this method with the same interval and startTime will be equal.
      Parameters:
      interval - the interval
      startTime - the start time
      Returns:
      the time table
    • clock

      @Default public Clock clock()
    • interval

      public abstract Duration interval()
    • startTime

      public abstract Optional<Instant> startTime()
    • blinkTable

      @Default public boolean blinkTable()
    • walk

      public final <T> T walk(TableSpec.Visitor<T> visitor)