All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ebuddy.cassandra.dao.visitor.ColumnVisitor Maven / Gradle / Ivy

There is a newer version: 2.4.2
Show newest version
package com.ebuddy.cassandra.dao.visitor;

/**
 * Visit columns and perform some internal logic on the column data.
 *
 * @param  The result type.
 * @param  The type of a column name.
 * @param  The type of a column value.
 */
public interface ColumnVisitor {

    /**
     * Visit easy column and evaluates a logic. 
     * @param columnName the name of the column
     * @param columnValue the value of the column
     * @param timestamp the cassandra timestamp when the column was written
     * @param ttl the time to live for that column value
     */
    void visit(N columnName, V columnValue, long timestamp, int ttl);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy