package com.lingniu.ingest.tdenginehistory;

import java.util.List;
import java.util.ArrayList;
import java.util.Collections;

public record TdengineBatchStatement(
        String createChildTableSql,
        String insertSql,
        List<Object> values
) {
    public TdengineBatchStatement {
        values = values == null ? List.of() : Collections.unmodifiableList(new ArrayList<>(values));
    }
}
