nl.topicus.jdbc.statement.SingleRowWhereClauseValidatorExpressionVisitorAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
package nl.topicus.jdbc.statement;
class SingleRowWhereClauseValidatorExpressionVisitorAdapter
extends AbstractSpannerExpressionVisitorAdapter {
private SingleRowWhereClauseValidator validator;
SingleRowWhereClauseValidatorExpressionVisitorAdapter(ParameterStore parameterStore,
SingleRowWhereClauseValidator validator) {
super(parameterStore);
this.validator = validator;
}
@Override
protected void setValue(Object value, Integer sqlType) {
validator.to(value);
}
}