nl.topicus.jdbc.statement.KeyBuilderExpressionVisitorAdapter 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 KeyBuilderExpressionVisitorAdapter extends AbstractSpannerExpressionVisitorAdapter
{
private DeleteKeyBuilder keyBuilder;
KeyBuilderExpressionVisitorAdapter(ParameterStore parameterStore, String column, DeleteKeyBuilder keyBuilder)
{
super(parameterStore, column);
this.keyBuilder = keyBuilder;
}
@Override
protected void setValue(Object value, Integer sqlType)
{
keyBuilder.to(value);
}
}