Class ChTableLog

All Implemented Interfaces:
IHashable, IOptionContainer, IRelation, ISearchPath, IStatement, IStatementContainer

public final class ChTableLog extends ChTable
Represents a ClickHouse Log family table that supports constraints. Extends ChTable with the ability to add CHECK and ASSUME constraints.
  • Constructor Details

    • ChTableLog

      public ChTableLog(String name)
      Creates a new ClickHouse Log table with the specified name.
      Parameters:
      name - the name of the table
  • Method Details

    • addConstraint

      public void addConstraint(AbstractConstraint constraint)
      Description copied from class: PgStatementContainer
      Adds a constraint to this container.
      Overrides:
      addConstraint in class AbstractTable
      Parameters:
      constraint - the constraint to add
    • computeHash

      public void computeHash(Hasher hasher)
      Description copied from interface: IHashable
      Computes the hash of the implementing object using the provided hasher. The implementation should call appropriate put methods on the hasher for all fields that should contribute to the hash value.
      Specified by:
      computeHash in interface IHashable
      Overrides:
      computeHash in class ChTable
      Parameters:
      hasher - the hasher instance to use for hash computation