com.fnklabs.draenei.analytics.ClusteringAlgorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fnklabs-draenei Show documentation
Show all versions of fnklabs-draenei Show documentation
ORM for Cassandra but with distributed cache and analytics utils from package
package com.fnklabs.draenei.analytics;
import org.jetbrains.annotations.NotNull;
import java.util.Set;
/**
* Strategy that can create facet map from content
*/
interface ClusteringAlgorithm {
/**
* Build facets from content
*
* @param platformContent Content information from which will be build facets
*
* @return Set of facets
*/
@NotNull
Set build(@NotNull Object platformContent);
/**
* Build facets from text for search
*
* @param content Content information from which wil be build facets
*
* @return Set of facets
*/
@NotNull
Set build(@NotNull String content);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy