APIdia Launch Partner
Top Description Methods
io.github.spannm.jackcess.util

public Interface ColumnValidator

Known Direct Implementers
io.github.spannm.jackcess.util.SimpleColumnValidator, io.github.spannm.jackcess.impl.InternalColumnValidator
Annotations
@FunctionalInterface
Imports
io.github.spannm.jackcess.Column, java.io.IOException

Interface which allows for data manipulation/validation as values are being inserted into a database.

Method Summary

Modifier and TypeMethod and Description
public Object
validate(Column col, Object val)

Validates and/or manipulates the given potential new value for the given column.

Method Detail

validateback to summary
public Object validate(Column col, Object val) throws IOException

Validates and/or manipulates the given potential new value for the given column. This method may return an entirely different value or throw an exception if the input value is not valid.