
org.treetank.api.IMetaEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core module containing all storage functionality.
The newest version!
/**
*
*/
package org.treetank.api;
import java.io.DataOutput;
import org.treetank.exception.TTIOException;
import com.google.common.hash.Funnel;
/**
* All entries in the MetaBucket must implement this interface for guaranteeing serialization.
* This applies to Keys as well as to values.
*
* @author Sebastian Graf, University of Konstanz
*
*/
public interface IMetaEntry {
/**
* Serializing to given dataput
*
* @param pOutput
* to serialize to
* @throws TTIOException
*/
void serialize(final DataOutput pOutput) throws TTIOException;
/**
* Getting a Funnel for computing guava-based hashes.
*
* @return a Funnel for this {@link IMetaEntry}
*/
Funnel getFunnel();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy