net.quasardb.kafka.common.resolver.StringColumnResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kafka-connect-qdb Show documentation
Show all versions of kafka-connect-qdb Show documentation
Kafka Connect plugin for the QuasarDB database
package net.quasardb.kafka.common.resolver;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class StringColumnResolver extends ColumnResolver {
private static final Logger log = LoggerFactory.getLogger(StringColumnResolver.class);
public StringColumnResolver(String columnName) {
super(columnName);
}
public StringColumnResolver(String columnName, String suffix) {
super(columnName, suffix);
}
protected String handleSuffix(String result, String suffix) {
this.log.info("Handling string suffix");
return result + suffix;
}
}