Class ColumnConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setName

        public ColumnConfig.Builder setName​(String name)
        The name of the database column as it exists within the database table.
        Returns:
        this.
      • setPattern

        public ColumnConfig.Builder setPattern​(String pattern)
        The PatternLayout pattern to insert in this column. Mutually exclusive with literal!=null and eventTimestamp=true
        Returns:
        this.
      • setLiteral

        public ColumnConfig.Builder setLiteral​(String literal)
        The literal value to insert into the column as-is without any quoting or escaping. Mutually exclusive with pattern!=null and eventTimestamp=true.
        Returns:
        this.
      • setEventTimestamp

        public ColumnConfig.Builder setEventTimestamp​(boolean eventTimestamp)
        If "true", indicates that this column is a date-time column in which the event timestamp should be inserted. Mutually exclusive with pattern!=null and literal!=null.
        Returns:
        this.
      • setUnicode

        public ColumnConfig.Builder setUnicode​(boolean unicode)
        If "true", indicates that the column is a Unicode String.
        Returns:
        this.
      • setClob

        public ColumnConfig.Builder setClob​(boolean clob)
        If "true", indicates that the column is a character LOB (CLOB).
        Returns:
        this.
      • build

        public ColumnConfig build()
        Description copied from interface: Builder
        Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
        Specified by:
        build in interface Builder<ColumnConfig>
        Returns:
        the configured instance.