presto-orc/src/main/java/io/prestosql/orc/OrcWriter.java/OrcWriter/recordValidation
class OrcWriter:    private void recordValidation(Consumer<OrcWriteValidationBuilder> task)
    {
        if (validationBuilder != null) {
            task.accept(validationBuilder);
        }
    }